Searched refs:ParseReference (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tools/aapt2/ |
D | ResourceUtils_test.cpp | 66 EXPECT_TRUE(ResourceUtils::ParseReference("@color/foo", &actual, &create, &private_ref)); in TEST() 76 EXPECT_TRUE(ResourceUtils::ParseReference("@android:color/foo", &actual, &create, &private_ref)); in TEST() 86 …EXPECT_TRUE(ResourceUtils::ParseReference("\t @android:color/foo\n \n\t", &actual, &create, &priva… in TEST() 96 EXPECT_TRUE(ResourceUtils::ParseReference("@+android:id/foo", &actual, &create, &private_ref)); in TEST() 106 EXPECT_TRUE(ResourceUtils::ParseReference("@*android:id/foo", &actual, &create, &private_ref)); in TEST() 116 …EXPECT_FALSE(ResourceUtils::ParseReference("@+android:color/foo", &actual, &create, &private_ref)); in TEST()
|
D | ResourceUtils.h | 53 bool ParseReference(const android::StringPiece& str, ResourceNameRef* out_reference,
|
D | ResourceUtils.cpp | 158 bool ParseReference(const StringPiece& str, ResourceNameRef* out_ref, in ParseReference() function 206 return ParseReference(str, nullptr, nullptr, nullptr); in IsReference() 336 if (ParseReference(str, &ref, out_create, &private_ref)) { in TryParseReference()
|
/frameworks/base/tools/aapt2/compile/ |
D | XmlIdCollector.cpp | 48 if (ResourceUtils::ParseReference(attr.value, &name, &create, nullptr)) { in Visit()
|