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
159 ResourceUtils::ParseStyleParentReference("@android:style/foo", &err_str); in TEST()
163 ref = ResourceUtils::ParseStyleParentReference("@style/foo", &err_str); in TEST()
167 ref = ResourceUtils::ParseStyleParentReference("?android:style/foo", &err_str); in TEST()
171 ref = ResourceUtils::ParseStyleParentReference("?style/foo", &err_str); in TEST()
175 ref = ResourceUtils::ParseStyleParentReference("android:style/foo", &err_str); in TEST()
179 ref = ResourceUtils::ParseStyleParentReference("android:foo", &err_str); in TEST()
183 ref = ResourceUtils::ParseStyleParentReference("@android:foo", &err_str); in TEST()
187 ref = ResourceUtils::ParseStyleParentReference("foo", &err_str); in TEST()
191 ref = ResourceUtils::ParseStyleParentReference("*android:style/foo", &err_str); in TEST()
DResourceUtils.h117 std::optional<Reference> ParseStyleParentReference(const android::StringPiece& str,
DResourceUtils.cpp252 std::optional<Reference> ParseStyleParentReference(const StringPiece& str, std::string* out_error) { in ParseStyleParentReference() function
DResourceParser.cpp1533 style->parent = ResourceUtils::ParseStyleParentReference(maybe_parent.value(), &err_str); in ParseStyle()