Home
last modified time | relevance | path

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

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