Searched refs:ParseReference (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tools/aapt2/ |
D | ResourceUtils_test.cpp | 65 EXPECT_TRUE(ResourceUtils::ParseReference("@color/foo", &actual, &create, &private_ref)); in TEST() 75 EXPECT_TRUE(ResourceUtils::ParseReference("@android:color/foo", &actual, &create, &private_ref)); in TEST() 85 …EXPECT_TRUE(ResourceUtils::ParseReference("\t @android:color/foo\n \n\t", &actual, &create, &priva… in TEST() 95 EXPECT_TRUE(ResourceUtils::ParseReference("@+android:id/foo", &actual, &create, &private_ref)); in TEST() 105 EXPECT_TRUE(ResourceUtils::ParseReference("@*android:id/foo", &actual, &create, &private_ref)); in TEST() 115 …EXPECT_FALSE(ResourceUtils::ParseReference("@+android:color/foo", &actual, &create, &private_ref)); in TEST()
|
D | ResourceUtils.h | 51 bool ParseReference(const android::StringPiece& str, ResourceNameRef* out_reference,
|
D | ResourceUtils.cpp | 115 bool ParseReference(const StringPiece& str, ResourceNameRef* out_ref, in ParseReference() function 163 return ParseReference(str, nullptr, nullptr, nullptr); in IsReference() 293 if (ParseReference(str, &ref, out_create, &private_ref)) { in TryParseReference()
|
/frameworks/base/tools/aapt2/compile/ |
D | XmlIdCollector.cpp | 45 if (ResourceUtils::ParseReference(attr.value, &name, &create, nullptr)) { in Visit()
|