Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceUtils_test.cpp153 TEST(ResourceUtilsTest, ParseStyleParentReference) { in TEST() argument
158 Maybe<Reference> ref = ResourceUtils::ParseStyleParentReference("@android:style/foo", &err_str); in TEST()
162 ref = ResourceUtils::ParseStyleParentReference("@style/foo", &err_str); in TEST()
166 ref = ResourceUtils::ParseStyleParentReference("?android:style/foo", &err_str); in TEST()
170 ref = ResourceUtils::ParseStyleParentReference("?style/foo", &err_str); in TEST()
174 ref = ResourceUtils::ParseStyleParentReference("android:style/foo", &err_str); in TEST()
178 ref = ResourceUtils::ParseStyleParentReference("android:foo", &err_str); in TEST()
182 ref = ResourceUtils::ParseStyleParentReference("@android:foo", &err_str); in TEST()
186 ref = ResourceUtils::ParseStyleParentReference("foo", &err_str); in TEST()
190 ref = ResourceUtils::ParseStyleParentReference("*android:style/foo", &err_str); in TEST()
DResourceUtils.h119 Maybe<Reference> ParseStyleParentReference(const android::StringPiece& str, std::string* out_error);
DResourceUtils.cpp254 Maybe<Reference> ParseStyleParentReference(const StringPiece& str, in ParseStyleParentReference() function
DResourceParser.cpp1429 style->parent = ResourceUtils::ParseStyleParentReference(maybe_parent.value(), &err_str); in ParseStyle()