Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/java/
DProguardRules.h37 struct UsageLocation { struct
54 inline void AddManifestClass(const UsageLocation& file, const std::string& class_name) { in AddManifestClass() argument
58 inline void AddConditionalClass(const UsageLocation& file, in AddConditionalClass()
63 inline void AddMethod(const UsageLocation& file, const NameAndSignature& name_and_signature) { in AddMethod()
67 inline void AddReference(const UsageLocation& file, const ResourceName& resource_name) { in AddReference()
75 friend bool CollectLocations(const UsageLocation& location, const KeepSet& keep_set,
76 std::set<UsageLocation>* locations);
79 std::map<std::string, std::set<UsageLocation>> manifest_class_set_;
80 std::map<NameAndSignature, std::set<UsageLocation>> method_set_;
81 std::map<NameAndSignature, std::set<UsageLocation>> conditional_class_set_;
[all …]
DProguardRules.cpp407 for (const UsageLocation& location : entry.second) { in WriteKeepSet()
415 std::set<UsageLocation> locations; in WriteKeepSet()
419 for (const UsageLocation& location : entry.second) { in WriteKeepSet()
425 for (const UsageLocation& location : locations) { in WriteKeepSet()
439 for (const UsageLocation& location : entry.second) { in WriteKeepSet()
453 for (const UsageLocation& location : entry.second) { in WriteKeepSet()
463 bool CollectLocations(const UsageLocation& location, const KeepSet& keep_set, in CollectLocations()
464 std::set<UsageLocation>* locations) { in CollectLocations()