Searched refs:ParseResourceName (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/tools/aapt2/ |
D | ResourceUtils_test.cpp | 44 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()
|
D | ResourceUtils.h | 41 bool ParseResourceName(android::StringPiece str, ResourceNameRef* out_resource,
|
D | ResourceUtils.cpp | 112 bool ParseResourceName(StringPiece str, ResourceNameRef* out_ref, bool* out_private) { in ParseResourceName() function 170 if (!ParseResourceName( in ParseReference()
|
D | ResourceTable.cpp | 696 CHECK(ResourceUtils::ParseResourceName(name, &ref)) << "invalid resource name: " << name; in NewResourceBuilder()
|
/frameworks/base/tools/aapt2/test/ |
D | Common.h | 44 CHECK(ResourceUtils::ParseResourceName(str, &ref)) << "invalid resource name: " << str; in ParseNameOrDie()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoDeserialize.cpp | 606 if (!ResourceUtils::ParseResourceName(pb_file.resource_name(), &name_ref)) { in DeserializeCompiledFileFromPb() 626 if (!ResourceUtils::ParseResourceName(pb_symbol.resource_name(), &name_ref)) { in DeserializeCompiledFileFromPb() 667 if (!ResourceUtils::ParseResourceName(pb_ref.name(), &name_ref, nullptr)) { in DeserializeReferenceFromPb()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Util.cpp | 517 if (!ResourceUtils::ParseResourceName(resource_string, &resource_name)) { in ParseResourceConfig()
|
D | Link.cpp | 740 if (!ResourceUtils::ParseResourceName(res_name_str, &name)) { in LoadStableIdMap()
|