Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceUtils_test.cpp43 TEST(ResourceUtilsTest, ParseResourceName) { in TEST() argument
46 EXPECT_TRUE(ResourceUtils::ParseResourceName("android:color/foo", &actual, &actual_priv)); in TEST()
50 EXPECT_TRUE(ResourceUtils::ParseResourceName("color/foo", &actual, &actual_priv)); in TEST()
54 EXPECT_TRUE(ResourceUtils::ParseResourceName("*android:color/foo", &actual, &actual_priv)); in TEST()
58 EXPECT_FALSE(ResourceUtils::ParseResourceName(android::StringPiece(), &actual, &actual_priv)); in TEST()
DResourceUtils.h40 bool ParseResourceName(const android::StringPiece& str, ResourceNameRef* out_resource,
DResourceUtils.cpp73 bool ParseResourceName(const StringPiece& str, ResourceNameRef* out_ref, in ParseResourceName() function
132 if (!ParseResourceName( in ParseReference()
/frameworks/base/tools/aapt2/proto/
DTableProtoDeserializer.cpp330 if (!ResourceUtils::ParseResourceName(pb_ref.name(), &name_ref, nullptr)) { in DeserializeReferenceFromPb()
395 if (!ResourceUtils::ParseResourceName(pb_file.resource_name(), &name_ref)) { in DeserializeCompiledFileFromPb()
407 if (!ResourceUtils::ParseResourceName(pb_symbol.resource_name(), &name_ref)) { in DeserializeCompiledFileFromPb()
/frameworks/base/tools/aapt2/test/
DCommon.h44 CHECK(ResourceUtils::ParseResourceName(str, &ref)) << "invalid resource name"; in ParseNameOrDie()
/frameworks/base/tools/aapt2/cmd/
DLink.cpp665 if (!ResourceUtils::ParseResourceName(res_name_str, &name)) { in LoadStableIdMap()