Searched refs:ExtractedPackage (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/tools/aapt2/xml/ |
D | XmlDom_test.cpp | 148 EXPECT_THAT(TransformPackageAlias("one"), Eq(make_value(ExtractedPackage{"com.one", false}))); in Visit() 150 EXPECT_THAT(TransformPackageAlias("one"), Eq(make_value(ExtractedPackage{"com.one", false}))); in Visit() 151 EXPECT_THAT(TransformPackageAlias("two"), Eq(make_value(ExtractedPackage{"com.two", false}))); in Visit() 153 EXPECT_THAT(TransformPackageAlias("one"), Eq(make_value(ExtractedPackage{"com.one", false}))); in Visit() 154 EXPECT_THAT(TransformPackageAlias("two"), Eq(make_value(ExtractedPackage{"com.two", false}))); in Visit() 156 Eq(make_value(ExtractedPackage{"com.three", false}))); in Visit() 158 EXPECT_THAT(TransformPackageAlias("one"), Eq(make_value(ExtractedPackage{"com.one", false}))); in Visit() 159 EXPECT_THAT(TransformPackageAlias("two"), Eq(make_value(ExtractedPackage{"com.two", false}))); in Visit() 161 Eq(make_value(ExtractedPackage{"com.three", false}))); in Visit() 162 EXPECT_THAT(TransformPackageAlias("four"), Eq(make_value(ExtractedPackage{"", true}))); in Visit()
|
D | XmlUtil.h | 36 struct ExtractedPackage { struct 45 friend inline bool operator==(const ExtractedPackage& a, const ExtractedPackage& b) { argument 56 Maybe<ExtractedPackage> ExtractPackageFromNamespace(const std::string& namespace_uri); 72 virtual Maybe<ExtractedPackage> TransformPackageAlias(
|
D | XmlUtil.cpp | 37 Maybe<ExtractedPackage> ExtractPackageFromNamespace( in ExtractPackageFromNamespace() 46 return ExtractedPackage{package.to_string(), false /* is_private */}; in ExtractPackageFromNamespace() 55 return ExtractedPackage{package.to_string(), true /* is_private */}; in ExtractPackageFromNamespace() 58 return ExtractedPackage{std::string(), true /* is_private */}; in ExtractPackageFromNamespace() 65 if (Maybe<ExtractedPackage> transformed_package = in ResolvePackage() 67 ExtractedPackage& extracted_package = transformed_package.value(); in ResolvePackage()
|
D | XmlPullParser.cpp | 87 Maybe<ExtractedPackage> result = in Next() 145 Maybe<ExtractedPackage> XmlPullParser::TransformPackageAlias(const StringPiece& alias) const { in TransformPackageAlias() 147 return ExtractedPackage{{}, false /*private*/}; in TransformPackageAlias() 154 return ExtractedPackage{{}, iter->package.private_namespace}; in TransformPackageAlias()
|
D | XmlUtil_test.cpp | 30 Maybe<xml::ExtractedPackage> p = in TEST()
|
D | XmlPullParser.h | 124 Maybe<ExtractedPackage> TransformPackageAlias(const android::StringPiece& alias) const override; 186 ExtractedPackage package;
|
D | XmlDom.h | 238 Maybe<ExtractedPackage> TransformPackageAlias(const android::StringPiece& alias) const override; 251 ExtractedPackage package;
|
D | XmlDom.cpp | 547 if (Maybe<ExtractedPackage> maybe_package = ExtractPackageFromNamespace(decl.uri)) { in BeforeVisitElement() 558 Maybe<ExtractedPackage> PackageAwareVisitor::TransformPackageAlias(const StringPiece& alias) const { in TransformPackageAlias() 560 return ExtractedPackage{{}, false /*private*/}; in TransformPackageAlias() 571 return ExtractedPackage{{}, decl.package.private_namespace}; in TransformPackageAlias()
|
/frameworks/base/tools/aapt2/compile/ |
D | InlineXmlFormatParser.cpp | 68 Maybe<xml::ExtractedPackage> maybe_pkg = TransformPackageAlias(name.package); in Visit() 76 const xml::ExtractedPackage& pkg = maybe_pkg.value(); in Visit()
|
/frameworks/base/tools/aapt2/link/ |
D | ReferenceLinker.cpp | 165 Maybe<xml::ExtractedPackage> TransformPackageAlias(const StringPiece& alias) const override { in TransformPackageAlias() 167 return xml::ExtractedPackage{{}, true /*private*/}; in TransformPackageAlias()
|
D | XmlReferenceLinker.cpp | 93 if (Maybe<xml::ExtractedPackage> maybe_package = in Visit()
|
/frameworks/base/tools/aapt2/java/ |
D | ProguardRules.cpp | 51 Maybe<xml::ExtractedPackage> maybe_package = in Visit()
|