/frameworks/base/cmds/statsd/src/packages/ |
D | UidMap.cpp | 64 UidMap::UidMap() : mBytesUsed(0) {} in UidMap() function in android::os::statsd::UidMap 66 UidMap::~UidMap() {} in ~UidMap() 68 bool UidMap::hasApp(int uid, const string& packageName) const { in hasApp() 75 string UidMap::normalizeAppName(const string& appName) const { in normalizeAppName() 81 std::set<string> UidMap::getAppNamesFromUid(const int32_t& uid, bool returnNormalized) const { in getAppNamesFromUid() 86 std::set<string> UidMap::getAppNamesFromUidLocked(const int32_t& uid, bool returnNormalized) const { in getAppNamesFromUidLocked() 96 int64_t UidMap::getAppVersion(int uid, const string& packageName) const { in getAppVersion() 106 void UidMap::updateMap(const int64_t& timestamp, const vector<int32_t>& uid, in updateMap() 152 void UidMap::updateApp(const int64_t& timestamp, const String16& app_16, const int32_t& uid, in updateApp() 192 void UidMap::ensureBytesUsedBelowLimit() { in ensureBytesUsedBelowLimit() [all …]
|
D | UidMap.h | 80 class UidMap : public virtual android::RefBase { 82 UidMap(); 83 ~UidMap();
|
/frameworks/base/cmds/statsd/tests/ |
D | StatsLogProcessor_test.cpp | 49 new UidMap(), in MockMetricsManager() 62 sp<UidMap> m = new UidMap(); in TEST() 81 sp<UidMap> m = new UidMap(); in TEST() 107 sp<UidMap> m = new UidMap(); in TEST() 145 sp<UidMap> m = new UidMap(); in TEST() 170 sp<UidMap> m = new UidMap(); in TEST() 193 sp<UidMap> m = new UidMap(); in TEST() 222 sp<UidMap> m = new UidMap(); in TEST()
|
D | UidMap_test.cpp | 42 sp<UidMap> m = new UidMap(); in TEST() 69 UidMap m; in TEST() 95 UidMap m; in TEST() 139 UidMap m; in TEST() 180 UidMap m; in TEST() 205 UidMap m; in TEST() 229 UidMap m; in TEST() 265 UidMap m; in TEST() 328 UidMap m; in TEST() 354 UidMap m; in TEST()
|
D | MetricsManager_test.cpp | 273 UidMap uidMap; in TEST() 301 UidMap uidMap; in TEST() 326 UidMap uidMap; in TEST() 351 UidMap uidMap; in TEST() 375 UidMap uidMap; in TEST() 399 UidMap uidMap; in TEST() 424 UidMap uidMap; in TEST()
|
D | LogEntryMatcher_test.cpp | 42 UidMap uidMap; in TEST() 62 UidMap uidMap; in TEST() 297 UidMap uidMap; in TEST() 372 UidMap uidMap; in TEST() 450 UidMap uidMap; in TEST() 486 UidMap uidMap; in TEST() 506 UidMap uidMap; in TEST() 539 UidMap uidMap; in TEST() 597 UidMap uidMap; in TEST()
|
D | statsd_test_util.cpp | 454 sp<UidMap> uidMap = new UidMap(); in CreateStatsLogProcessor()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | metrics_manager_util.h | 49 const UidMap& uidMap, 86 UidMap& uidMap, 99 bool initStatsdConfig(const ConfigKey& key, const StatsdConfig& config, UidMap& uidMap,
|
D | MetricsManager.h | 41 const sp<UidMap>& uidMap, const sp<AlarmMonitor>& anomalyAlarmMonitor, 121 sp<UidMap> mUidMap;
|
D | MetricsManager.cpp | 59 const sp<UidMap> &uidMap, in MetricsManager() 85 auto it = UidMap::sAidToUidMapping.find(source); in MetricsManager() 86 if (it != UidMap::sAidToUidMapping.end()) { in MetricsManager()
|
D | metrics_manager_util.cpp | 116 bool initLogTrackers(const StatsdConfig& config, const UidMap& uidMap, in initLogTrackers() 267 UidMap& uidMap, const unordered_map<int64_t, int>& logTrackerMap, in initMetrics() 647 bool initStatsdConfig(const ConfigKey& key, const StatsdConfig& config, UidMap& uidMap, in initStatsdConfig()
|
/frameworks/base/cmds/statsd/src/matchers/ |
D | SimpleLogMatchingTracker.h | 37 const UidMap& uidMap); 52 const UidMap& mUidMap;
|
D | matcher_util.cpp | 85 bool tryMatchString(const UidMap& uidMap, const Field& field, const Value& value, in tryMatchString() 89 auto aidIt = UidMap::sAidToUidMapping.find(str_match); in tryMatchString() 90 if (aidIt != UidMap::sAidToUidMapping.end()) { in tryMatchString() 101 bool matchesSimple(const UidMap& uidMap, const FieldValueMatcher& matcher, in matchesSimple() 359 bool matchesSimple(const UidMap& uidMap, const SimpleAtomMatcher& simpleMatcher, in matchesSimple()
|
D | matcher_util.h | 44 bool matchesSimple(const UidMap& uidMap,
|
D | SimpleLogMatchingTracker.cpp | 34 const UidMap& uidMap) in SimpleLogMatchingTracker()
|
/frameworks/base/cmds/statsd/src/external/ |
D | StatsPuller.h | 48 static void SetUidMap(const sp<UidMap>& uidMap); 76 static sp<UidMap> mUidMap;
|
D | StatsPuller.cpp | 32 sp<UidMap> StatsPuller::mUidMap = nullptr; 33 void StatsPuller::SetUidMap(const sp<UidMap>& uidMap) { mUidMap = uidMap; } in SetUidMap()
|
D | puller_util.h | 29 const sp<UidMap>& uidMap, int tagId);
|
D | puller_util.cpp | 108 void mergeIsolatedUidsToHostUid(vector<shared_ptr<LogEvent>>& data, const sp<UidMap>& uidMap, in mergeIsolatedUidsToHostUid()
|
/frameworks/base/cmds/statsd/src/ |
D | StatsLogProcessor.h | 48 StatsLogProcessor(const sp<UidMap>& uidMap, const sp<AlarmMonitor>& anomalyAlarmMonitor, 85 inline sp<UidMap> getUidMap() { in getUidMap() 127 sp<UidMap> mUidMap; // Reference to the UidMap to lookup app name and version for each uid.
|
D | StatsService.h | 246 sp<UidMap> mUidMap;
|
D | StatsLogProcessor.cpp | 74 StatsLogProcessor::StatsLogProcessor(const sp<UidMap>& uidMap, in StatsLogProcessor()
|
/frameworks/base/cmds/statsd/tests/metrics/ |
D | metrics_test_helper.h | 45 class MockUidMap : public UidMap {
|
/frameworks/base/cmds/statsd/benchmark/ |
D | metric_util.cpp | 364 sp<UidMap> uidMap = new UidMap(); in CreateStatsLogProcessor()
|
/frameworks/base/cmds/statsd/ |
D | Android.mk | 61 src/packages/UidMap.cpp \
|