Searched refs:ExtractPackageFromNamespace (Results 1 – 7 of 7) sorted by relevance
23 TEST(XmlUtilTest, ExtractPackageFromNamespace) { in TEST() argument24 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()
56 Maybe<ExtractedPackage> ExtractPackageFromNamespace(const std::string& namespace_uri);
37 Maybe<ExtractedPackage> ExtractPackageFromNamespace( in ExtractPackageFromNamespace() function
88 ExtractPackageFromNamespace(namespace_uri()); in Next()
545 if (Maybe<ExtractedPackage> maybe_package = ExtractPackageFromNamespace(decl.uri)) { in BeforeVisitElement()
94 xml::ExtractPackageFromNamespace(attr.namespace_uri)) { in Visit()
52 xml::ExtractPackageFromNamespace(node->namespace_uri); in Visit()