Lines Matching refs:ManifestExtractor

217 class ManifestExtractor {  class
219 explicit ManifestExtractor(LoadedApk* apk, DumpManifestOptions& options);
226 static std::unique_ptr<Element> Inflate(ManifestExtractor* extractor, xml::Element* el,
263 ManifestExtractor* extractor() const { in extractor()
432 ManifestExtractor* extractor_;
516 std::unique_ptr<ManifestExtractor::Element> root_element_;
517 std::vector<std::unique_ptr<ManifestExtractor::Element>> implied_permissions_;
524 template<typename T> T* ElementCast(ManifestExtractor::Element* element);
527 static void ForEachChild(ManifestExtractor::Element* root, in ForEachChild()
528 std::function<void(ManifestExtractor::Element*)> f) { in ForEachChild()
540 static ManifestExtractor::Element* FindElement(ManifestExtractor::Element* root, in FindElement()
541 std::function<bool(ManifestExtractor::Element*)> f) { in FindElement()
555 class Manifest : public ManifestExtractor::Element {
688 class Application : public ManifestExtractor::Element {
801 class UsesSdkBadging : public ManifestExtractor::Element {
871 class UsesConfiguarion : public ManifestExtractor::Element {
924 class SupportsScreen : public ManifestExtractor::Element {
1048 class FeatureGroup : public ManifestExtractor::Element {
1318 class UsesFeature : public ManifestExtractor::Element {
1348 class UsesPermission : public ManifestExtractor::Element {
1446 class RequiredFeature : public ManifestExtractor::Element {
1462 class RequiredNotFeature : public ManifestExtractor::Element {
1478 class UsesPermissionSdk23 : public ManifestExtractor::Element {
1517 class Permission : public ManifestExtractor::Element {
1540 class Activity : public ManifestExtractor::Element {
1636 class IntentFilter : public ManifestExtractor::Element {
1642 class Category : public ManifestExtractor::Element {
1670 class Provider : public ManifestExtractor::Element {
1689 class Receiver : public ManifestExtractor::Element {
1701 class Service : public ManifestExtractor::Element {
1713 class UsesLibrary : public ManifestExtractor::Element {
1741 class StaticLibrary : public ManifestExtractor::Element {
1769 class UsesStaticLibrary : public ManifestExtractor::Element {
1816 class SdkLibrary : public ManifestExtractor::Element {
1840 class UsesSdkLibrary : public ManifestExtractor::Element {
1883 class UsesNativeLibrary : public ManifestExtractor::Element {
1914 class MetaData : public ManifestExtractor::Element {
1972 class Action : public ManifestExtractor::Element {
2081 class SupportsInput : public ManifestExtractor::Element {
2106 class InputType : public ManifestExtractor::Element {
2122 class InstallConstraints : public ManifestExtractor::Element {
2149 class OriginalPackage : public ManifestExtractor::Element {
2173 class Overlay : public ManifestExtractor::Element {
2225 class PackageVerifier : public ManifestExtractor::Element {
2253 class UsesPackage : public ManifestExtractor::Element {
2313 class AdditionalCertificate : public ManifestExtractor::Element {
2332 class Screen : public ManifestExtractor::Element {
2356 class CompatibleScreens : public ManifestExtractor::Element {
2363 ForEachChild(this, [&printer, &first](ManifestExtractor::Element* el){ in Print()
2381 class SupportsGlTexture : public ManifestExtractor::Element {
2404 class Property : public ManifestExtractor::Element {
2457 static void Print(ManifestExtractor::Element* el, text::Printer* printer) { in Print()
2465 static void ToProto(ManifestExtractor::Element* el, pb::Badging* out_badging) { in ToProto()
2474 ManifestExtractor::ManifestExtractor(LoadedApk* apk, DumpManifestOptions& options) in ManifestExtractor() function in aapt::ManifestExtractor
2478 bool ManifestExtractor::Extract(android::IDiagnostics* diag) { in Extract()
2495 root_element_ = ManifestExtractor::Element::Inflate(this, element, ""); in Extract()
2523 ConfigDescription config = ManifestExtractor::DefaultConfig(); in Extract()
2532 ConfigDescription config = ManifestExtractor::DefaultConfig(); in Extract()
2555 root_element_->Filter([&](const ManifestExtractor::Element* e) { in Extract()
2562 auto FindPermission = [&](ManifestExtractor::Element* root, in Extract()
2563 const std::string& name) -> ManifestExtractor::Element* { in Extract()
2564 return FindElement(root, [&](ManifestExtractor::Element* el) -> bool { in Extract()
2635 ForEachChild(root_element_.get(), [&feature_groups](ManifestExtractor::Element* el) -> void { in Extract()
2652 ForEachChild(root_element_.get(), [&](ManifestExtractor::Element* el) -> void { in Extract()
2671 ForEachChild(root_element_.get(), [this, &diag](ManifestExtractor::Element* el) -> void { in Extract()
2674 [&](ManifestExtractor::Element* el) -> bool { in Extract()
2682 [&](ManifestExtractor::Element* el) -> bool { in Extract()
2691 &offhost_apdu_action](ManifestExtractor::Element* el) -> void { in Extract()
2727 FindElement(root_element_.get(), [&](ManifestExtractor::Element* el) -> bool { in Extract()
2737 FindElement(root_element_.get(), [&](ManifestExtractor::Element* el) -> bool { in Extract()
2747 FindElement(root_element_.get(), [&](ManifestExtractor::Element* el) -> bool { in Extract()
2760 FindElement(root_element_.get(), [&](ManifestExtractor::Element* el) -> bool { in Extract()
2789 FindElement(root_element_.get(), [&](ManifestExtractor::Element* el) -> bool { in Extract()
2836 bool ManifestExtractor::Dump(text::Printer* printer) { in Dump()
2873 bool ManifestExtractor::DumpProto(pb::Badging* out_badging) { in DumpProto()
2956 T* ElementCast(ManifestExtractor::Element* element) { in ElementCast()
2970 std::unique_ptr<ManifestExtractor::Element> ManifestExtractor::Element::Inflate( in Inflate()
2971 ManifestExtractor* extractor, xml::Element* el, const std::string& parent_tag) { in Inflate()
2973 std::function<std::unique_ptr<ManifestExtractor::Element>()>> in Inflate()
3074 std::unique_ptr<ManifestExtractor::Element> element; in Inflate()
3080 element = util::make_unique<ManifestExtractor::Element>(); in Inflate()
3089 std::unique_ptr<ManifestExtractor::Element> ManifestExtractor::Visit( in Visit()
3091 auto element = ManifestExtractor::Element::Inflate(this, el, parent_tag); in Visit()
3106 ManifestExtractor extractor(apk, options); in DumpManifest()
3116 ManifestExtractor extractor(apk, options); in DumpBadgingProto()