Home
last modified time | relevance | path

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

/aosp14/frameworks/base/tools/aapt2/java/
H A 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, io::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, io::OutputStream* out, bool minimal_keep,
95 bool CollectLocations(const UsageLocation& location, const KeepSet& keep_set,
H A 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()
257 ManifestVisitor(const ResourceFile& file, KeepSet* keep_set, bool main_dex_only) in ManifestVisitor()
401 void WriteKeepSet(const KeepSet& keep_set, OutputStream* out, bool minimal_keep, in WriteKeepSet()
463 bool CollectLocations(const UsageLocation& location, const KeepSet& keep_set, in CollectLocations()
493 ReferenceVisitor(aapt::IAaptContext* context, ResourceName from, KeepSet* keep_set) in ReferenceVisitor()
511 KeepSet* keep_set_;
[all …]
H A DProguardRules_test.cpp30 std::string GetKeepSetString(const proguard::KeepSet& set, bool minimal_rules) { in GetKeepSetString()
/aosp14/frameworks/base/tools/aapt2/cmd/
H A DLink.cpp352 proguard::KeepSet* keep_set);
378 proguard::KeepSet* keep_set_;
383 IAaptContext* context, proguard::KeepSet* keep_set) in ResourceFileFlattener()
1406 bool WriteProguardFile(const std::optional<std::string>& out, const proguard::KeepSet& keep_set) { in WriteProguardFile()
1842 bool WriteApk(IArchiveWriter* writer, proguard::KeepSet* keep_set, xml::XmlResource* manifest, in WriteApk()
2190 proguard::KeepSet proguard_keep_set = in Run()
2191 proguard::KeepSet(options_.generate_conditional_proguard_rules); in Run()
2192 proguard::KeepSet proguard_main_dex_keep_set; in Run()