Searched refs:parseResourceName (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/tools/aapt2/ |
D | ResourceUtils_test.cpp | 50 EXPECT_TRUE(ResourceUtils::parseResourceName(u"android:color/foo", &actual, &actualPriv)); in TEST() 54 EXPECT_TRUE(ResourceUtils::parseResourceName(u"color/foo", &actual, &actualPriv)); in TEST() 58 EXPECT_TRUE(ResourceUtils::parseResourceName(u"*android:color/foo", &actual, &actualPriv)); in TEST() 62 EXPECT_FALSE(ResourceUtils::parseResourceName(StringPiece16(), &actual, &actualPriv)); in TEST()
|
D | ResourceUtils.h | 48 bool parseResourceName(const StringPiece16& str, ResourceNameRef* outResource,
|
D | ResourceUtils.cpp | 53 bool parseResourceName(const StringPiece16& str, ResourceNameRef* outRef, bool* outPrivate) { in parseResourceName() function 110 if (!parseResourceName(trimmedStr.substr(offset, trimmedStr.size() - offset), in tryParseReference()
|
/frameworks/base/tools/aapt/ |
D | Main.h | 68 android::String8 parseResourceName(const String8& pathLeaf);
|
D | Images.cpp | 1591 String16 resourceName(parseResourceName(file->getSourceFile().getPathLeaf())); in postProcessImage()
|
D | Resource.cpp | 62 String8 parseResourceName(const String8& leaf) in parseResourceName() function 151 mBaseName = parseResourceName(leaf); in next()
|
/frameworks/base/tools/aapt2/proto/ |
D | TableProtoDeserializer.cpp | 356 if (!ResourceUtils::parseResourceName(strSymbol, &nameRef, nullptr)) { in deserializeReferenceFromPb() 450 if (!ResourceUtils::parseResourceName(utf16Name, &nameRef)) { in deserializeCompiledFileFromPb() 462 if (!ResourceUtils::parseResourceName(utf16Name, &nameRef)) { in deserializeCompiledFileFromPb()
|