Home
last modified time | relevance | path

Searched refs:UsageLocation (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/base/tools/aapt2/java/
H A DProguardRules.h38 struct UsageLocation { struct
59 inline void AddConditionalClass(const UsageLocation& file, in AddConditionalClass()
77 std::set<UsageLocation>* locations);
80 std::map<std::string, std::set<UsageLocation>> manifest_class_set_;
81 std::map<NameAndSignature, std::set<UsageLocation>> method_set_;
82 std::map<NameAndSignature, std::set<UsageLocation>> conditional_class_set_;
83 std::map<ResourceName, std::set<UsageLocation>> reference_set_;
96 bool CollectLocations(const UsageLocation& location, const KeepSet& keep_set,
97 std::set<UsageLocation>* locations);
103 inline bool operator==(const UsageLocation& lhs, const UsageLocation& rhs) {
[all …]
H A DProguardRules.cpp403 for (const UsageLocation& location : entry.second) { in WriteKeepSet()
411 std::set<UsageLocation> locations; in WriteKeepSet()
415 for (const UsageLocation& location : entry.second) { in WriteKeepSet()
421 for (const UsageLocation& location : locations) { in WriteKeepSet()
435 for (const UsageLocation& location : entry.second) { in WriteKeepSet()
449 for (const UsageLocation& location : entry.second) { in WriteKeepSet()
459 bool CollectLocations(const UsageLocation& location, const KeepSet& keep_set, in CollectLocations()
460 std::set<UsageLocation>* locations) { in CollectLocations()