Home
last modified time | relevance | path

Searched refs:ExtractPackageFromNamespace (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tools/aapt2/xml/
DXmlUtil_test.cpp23 TEST(XmlUtilTest, ExtractPackageFromNamespace) { in TEST() argument
24 ASSERT_FALSE(xml::ExtractPackageFromNamespace("com.android")); in TEST()
25 ASSERT_FALSE(xml::ExtractPackageFromNamespace("http://schemas.android.com/apk")); in TEST()
26 ASSERT_FALSE(xml::ExtractPackageFromNamespace("http://schemas.android.com/apk/res")); in TEST()
27 ASSERT_FALSE(xml::ExtractPackageFromNamespace("http://schemas.android.com/apk/res/")); in TEST()
28 ASSERT_FALSE(xml::ExtractPackageFromNamespace("http://schemas.android.com/apk/prv/res/")); in TEST()
31 xml::ExtractPackageFromNamespace("http://schemas.android.com/apk/res/a"); in TEST()
36 p = xml::ExtractPackageFromNamespace("http://schemas.android.com/apk/prv/res/android"); in TEST()
41 p = xml::ExtractPackageFromNamespace("http://schemas.android.com/apk/prv/res/com.test"); in TEST()
46 p = xml::ExtractPackageFromNamespace("http://schemas.android.com/apk/res-auto"); in TEST()
DXmlUtil.h56 Maybe<ExtractedPackage> ExtractPackageFromNamespace(const std::string& namespace_uri);
DXmlUtil.cpp37 Maybe<ExtractedPackage> ExtractPackageFromNamespace( in ExtractPackageFromNamespace() function
DXmlPullParser.cpp88 ExtractPackageFromNamespace(namespace_uri()); in Next()
DXmlDom.cpp545 if (Maybe<ExtractedPackage> maybe_package = ExtractPackageFromNamespace(decl.uri)) { in BeforeVisitElement()
/frameworks/base/tools/aapt2/link/
DXmlReferenceLinker.cpp94 xml::ExtractPackageFromNamespace(attr.namespace_uri)) { in Visit()
/frameworks/base/tools/aapt2/java/
DProguardRules.cpp52 xml::ExtractPackageFromNamespace(node->namespace_uri); in Visit()