Home
last modified time | relevance | path

Searched refs:parseResourceName (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceUtils_test.cpp50 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()
DResourceUtils.h48 bool parseResourceName(const StringPiece16& str, ResourceNameRef* outResource,
DResourceUtils.cpp53 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/
DMain.h68 android::String8 parseResourceName(const String8& pathLeaf);
DImages.cpp1591 String16 resourceName(parseResourceName(file->getSourceFile().getPathLeaf())); in postProcessImage()
DResource.cpp62 String8 parseResourceName(const String8& leaf) in parseResourceName() function
151 mBaseName = parseResourceName(leaf); in next()
/frameworks/base/tools/aapt2/proto/
DTableProtoDeserializer.cpp356 if (!ResourceUtils::parseResourceName(strSymbol, &nameRef, nullptr)) { in deserializeReferenceFromPb()
450 if (!ResourceUtils::parseResourceName(utf16Name, &nameRef)) { in deserializeCompiledFileFromPb()
462 if (!ResourceUtils::parseResourceName(utf16Name, &nameRef)) { in deserializeCompiledFileFromPb()