Lines Matching refs:keep_set

42   BaseVisitor(const ResourceFile& file, KeepSet* keep_set) : BaseVisitor(file, keep_set, "...") {  in BaseVisitor()  argument
45 BaseVisitor(const ResourceFile& file, KeepSet* keep_set, const std::string& ctor_signature) in BaseVisitor() argument
46 : file_(file), keep_set_(keep_set), ctor_signature_(ctor_signature) { in BaseVisitor()
112 LayoutVisitor(const ResourceFile& file, KeepSet* keep_set) in LayoutVisitor() argument
113 : BaseVisitor(file, keep_set, "android.content.Context, android.util.AttributeSet") { in LayoutVisitor()
152 MenuVisitor(const ResourceFile& file, KeepSet* keep_set) : BaseVisitor(file, keep_set) { in MenuVisitor() argument
184 XmlResourceVisitor(const ResourceFile& file, KeepSet* keep_set) : BaseVisitor(file, keep_set) { in XmlResourceVisitor() argument
211 NavigationVisitor(const ResourceFile& file, KeepSet* keep_set, const std::string& package) in NavigationVisitor() argument
212 : BaseVisitor(file, keep_set), package_(package) { in NavigationVisitor()
234 TransitionVisitor(const ResourceFile& file, KeepSet* keep_set) : BaseVisitor(file, keep_set) { in TransitionVisitor() argument
257 ManifestVisitor(const ResourceFile& file, KeepSet* keep_set, bool main_dex_only) in ManifestVisitor() argument
258 : BaseVisitor(file, keep_set), main_dex_only_(main_dex_only) { in ManifestVisitor()
347 bool CollectProguardRulesForManifest(xml::XmlResource* res, KeepSet* keep_set, bool main_dex_only) { in CollectProguardRulesForManifest() argument
348 ManifestVisitor visitor(res->file, keep_set, main_dex_only); in CollectProguardRulesForManifest()
356 bool CollectProguardRules(IAaptContext* context_, xml::XmlResource* res, KeepSet* keep_set) { in CollectProguardRules() argument
363 LayoutVisitor visitor(res->file, keep_set); in CollectProguardRules()
369 XmlResourceVisitor visitor(res->file, keep_set); in CollectProguardRules()
375 NavigationVisitor visitor(res->file, keep_set, context_->GetCompilationPackage()); in CollectProguardRules()
381 TransitionVisitor visitor(res->file, keep_set); in CollectProguardRules()
387 MenuVisitor visitor(res->file, keep_set); in CollectProguardRules()
393 BaseVisitor visitor(res->file, keep_set); in CollectProguardRules()
401 void WriteKeepSet(const KeepSet& keep_set, OutputStream* out, bool minimal_keep, in WriteKeepSet() argument
405 for (const auto& entry : keep_set.manifest_class_set_) { in WriteKeepSet()
414 for (const auto& entry : keep_set.conditional_class_set_) { in WriteKeepSet()
417 if (keep_set.conditional_keep_rules_) { in WriteKeepSet()
420 can_be_conditional &= CollectLocations(location, keep_set, &locations); in WriteKeepSet()
451 for (const auto& entry : keep_set.method_set_) { in WriteKeepSet()
463 bool CollectLocations(const UsageLocation& location, const KeepSet& keep_set, in CollectLocations() argument
472 for (const auto& entry : keep_set.reference_set_) { in CollectLocations()
479 if (!CollectLocations(refLocation, keep_set, locations)) { in CollectLocations()
493 ReferenceVisitor(aapt::IAaptContext* context, ResourceName from, KeepSet* keep_set) in ReferenceVisitor() argument
494 : context_(context), from_(from), keep_set_(keep_set) { in ReferenceVisitor()
515 KeepSet* keep_set) { in CollectResourceReferences() argument
521 ReferenceVisitor visitor(context, from, keep_set); in CollectResourceReferences()