Home
last modified time | relevance | path

Searched refs:KeepSet (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt2/java/
DProguardRules.h47 class KeepSet {
49 KeepSet() = default;
51 explicit KeepSet(bool conditional_keep_rules) : conditional_keep_rules_(conditional_keep_rules) { in KeepSet() function
72 friend void WriteKeepSet(const KeepSet& keep_set, android::OutputStream* out, bool minimal_keep,
75 friend bool CollectLocations(const UsageLocation& location, const KeepSet& keep_set,
85 bool CollectProguardRulesForManifest(xml::XmlResource* res, KeepSet* keep_set,
88 bool CollectProguardRules(IAaptContext* context, xml::XmlResource* res, KeepSet* keep_set);
90 bool CollectResourceReferences(IAaptContext* context, ResourceTable* table, KeepSet* keep_set);
92 void WriteKeepSet(const KeepSet& keep_set, android::OutputStream* out, bool minimal_keep,
95 bool CollectLocations(const UsageLocation& location, const KeepSet& keep_set,
DProguardRules.cpp42 BaseVisitor(const ResourceFile& file, KeepSet* keep_set) : BaseVisitor(file, keep_set, "...") { in BaseVisitor()
45 BaseVisitor(const ResourceFile& file, KeepSet* keep_set, const std::string& ctor_signature) in BaseVisitor()
80 KeepSet* keep_set_;
112 LayoutVisitor(const ResourceFile& file, KeepSet* keep_set) in LayoutVisitor()
152 MenuVisitor(const ResourceFile& file, KeepSet* keep_set) : BaseVisitor(file, keep_set) { in MenuVisitor()
184 XmlResourceVisitor(const ResourceFile& file, KeepSet* keep_set) : BaseVisitor(file, keep_set) { in XmlResourceVisitor()
211 NavigationVisitor(const ResourceFile& file, KeepSet* keep_set, const std::string& package) in NavigationVisitor()
234 TransitionVisitor(const ResourceFile& file, KeepSet* keep_set) : BaseVisitor(file, keep_set) { in TransitionVisitor()
257 ManifestVisitor(const ResourceFile& file, KeepSet* keep_set, bool main_dex_only) in ManifestVisitor()
347 bool CollectProguardRulesForManifest(xml::XmlResource* res, KeepSet* keep_set, bool main_dex_only) { in CollectProguardRulesForManifest()
[all …]
DProguardRules_test.cpp30 std::string GetKeepSetString(const proguard::KeepSet& set, bool minimal_rules) { in GetKeepSetString()
/frameworks/base/tools/aapt2/cmd/
DLink.cpp355 proguard::KeepSet* keep_set);
381 proguard::KeepSet* keep_set_;
386 IAaptContext* context, proguard::KeepSet* keep_set) in ResourceFileFlattener()
1409 bool WriteProguardFile(const std::optional<std::string>& out, const proguard::KeepSet& keep_set) { in WriteProguardFile()
1845 bool WriteApk(IArchiveWriter* writer, proguard::KeepSet* keep_set, xml::XmlResource* manifest, in WriteApk()
2208 proguard::KeepSet proguard_keep_set = in Run()
2209 proguard::KeepSet(options_.generate_conditional_proguard_rules); in Run()
2210 proguard::KeepSet proguard_main_dex_keep_set; in Run()