Home
last modified time | relevance | path

Searched refs:ParseReference (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceUtils_test.cpp66 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()
DResourceUtils.h53 bool ParseReference(const android::StringPiece& str, ResourceNameRef* out_reference,
DResourceUtils.cpp158 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/
DXmlIdCollector.cpp48 if (ResourceUtils::ParseReference(attr.value, &name, &create, nullptr)) { in Visit()