Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceUtils_test.cpp44 TEST(ResourceUtilsTest, ParseResourceName) { in TEST() argument
47 EXPECT_TRUE(ResourceUtils::ParseResourceName("android:color/foo", &actual, &actual_priv)); in TEST()
51 EXPECT_TRUE(ResourceUtils::ParseResourceName("color/foo", &actual, &actual_priv)); in TEST()
55 EXPECT_TRUE(ResourceUtils::ParseResourceName("*android:color/foo", &actual, &actual_priv)); in TEST()
59 EXPECT_FALSE(ResourceUtils::ParseResourceName(android::StringPiece(), &actual, &actual_priv)); in TEST()
DResourceUtils.h42 bool ParseResourceName(const android::StringPiece& str, ResourceNameRef* out_resource,
DResourceUtils.cpp116 bool ParseResourceName(const StringPiece& str, ResourceNameRef* out_ref, in ParseResourceName() function
175 if (!ParseResourceName( in ParseReference()
/frameworks/base/tools/aapt2/test/
DCommon.h44 CHECK(ResourceUtils::ParseResourceName(str, &ref)) << "invalid resource name: " << str; in ParseNameOrDie()
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp584 if (!ResourceUtils::ParseResourceName(pb_file.resource_name(), &name_ref)) { in DeserializeCompiledFileFromPb()
604 if (!ResourceUtils::ParseResourceName(pb_symbol.resource_name(), &name_ref)) { in DeserializeCompiledFileFromPb()
644 if (!ResourceUtils::ParseResourceName(pb_ref.name(), &name_ref, nullptr)) { in DeserializeReferenceFromPb()
/frameworks/base/tools/aapt2/cmd/
DOptimize.cpp336 if (!ResourceUtils::ParseResourceName(resource_string, &resource_name)) { in ExtractConfig()
DLink.cpp703 if (!ResourceUtils::ParseResourceName(res_name_str, &name)) { in LoadStableIdMap()