/frameworks/base/cmds/statsd/src/packages/ |
D | UidMap.cpp | 68 UidMap::UidMap() : mBytesUsed(0) {} in UidMap() function in android::os::statsd::UidMap 70 UidMap::~UidMap() {} in ~UidMap() 72 sp<UidMap> UidMap::getInstance() { in getInstance() 73 static sp<UidMap> sInstance = new UidMap(); in getInstance() 77 bool UidMap::hasApp(int uid, const string& packageName) const { in hasApp() 84 string UidMap::normalizeAppName(const string& appName) const { in normalizeAppName() 90 std::set<string> UidMap::getAppNamesFromUid(const int32_t& uid, bool returnNormalized) const { in getAppNamesFromUid() 95 std::set<string> UidMap::getAppNamesFromUidLocked(const int32_t& uid, bool returnNormalized) const { in getAppNamesFromUidLocked() 105 int64_t UidMap::getAppVersion(int uid, const string& packageName) const { in getAppVersion() 115 void UidMap::updateMap(const int64_t& timestamp, const vector<int32_t>& uid, in updateMap() [all …]
|
D | UidMap.h | 87 class UidMap : public virtual android::RefBase { 89 UidMap(); 90 ~UidMap(); 93 static sp<UidMap> getInstance();
|
/frameworks/base/cmds/statsd/tests/ |
D | UidMap_test.cpp | 43 sp<UidMap> m = new UidMap(); in TEST() 72 UidMap m; in TEST() 104 UidMap m; in TEST() 154 UidMap m; in TEST() 196 UidMap m; in TEST() 226 UidMap m; in TEST() 254 UidMap m; in TEST() 294 UidMap m; in TEST() 363 UidMap m; in TEST() 393 UidMap m; in TEST()
|
D | MetricsManager_test.cpp | 271 UidMap uidMap; in TEST() 303 UidMap uidMap; in TEST() 332 UidMap uidMap; in TEST() 361 UidMap uidMap; in TEST() 389 UidMap uidMap; in TEST() 417 UidMap uidMap; in TEST() 446 UidMap uidMap; in TEST()
|
D | LogEntryMatcher_test.cpp | 39 UidMap uidMap; in TEST() 59 UidMap uidMap; in TEST() 298 UidMap uidMap; in TEST() 377 UidMap uidMap; in TEST() 459 UidMap uidMap; in TEST() 495 UidMap uidMap; in TEST() 515 UidMap uidMap; in TEST() 548 UidMap uidMap; in TEST() 606 UidMap uidMap; in TEST()
|
D | StatsLogProcessor_test.cpp | 50 : MetricsManager(ConfigKey(1, 12345), StatsdConfig(), 1000, 1000, new UidMap(), in MockMetricsManager() 64 sp<UidMap> m = new UidMap(); in TEST() 85 sp<UidMap> m = new UidMap(); in TEST() 117 sp<UidMap> m = new UidMap(); in TEST() 160 sp<UidMap> m = new UidMap(); in TEST() 191 sp<UidMap> m = new UidMap(); in TEST() 220 sp<UidMap> m = new UidMap(); in TEST() 387 sp<UidMap> m = new UidMap(); in TEST()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | metrics_manager_util.h | 48 const UidMap& uidMap, 84 const int64_t currentTimeNs, UidMap& uidMap, const sp<StatsPullerManager>& pullerManager, 97 bool initStatsdConfig(const ConfigKey& key, const StatsdConfig& config, UidMap& uidMap,
|
D | MetricsManager.h | 41 const int64_t currentTimeNs, const sp<UidMap>& uidMap, 148 sp<UidMap> mUidMap;
|
D | MetricsManager.cpp | 64 const sp<UidMap>& uidMap, in MetricsManager() 96 auto it = UidMap::sAidToUidMapping.find(source); in MetricsManager() 97 if (it != UidMap::sAidToUidMapping.end()) { in MetricsManager()
|
/frameworks/base/cmds/statsd/src/matchers/ |
D | SimpleLogMatchingTracker.h | 34 const UidMap& uidMap); 49 const UidMap& mUidMap;
|
D | matcher_util.cpp | 84 bool tryMatchString(const UidMap& uidMap, const Field& field, const Value& value, in tryMatchString() 88 auto aidIt = UidMap::sAidToUidMapping.find(str_match); in tryMatchString() 89 if (aidIt != UidMap::sAidToUidMapping.end()) { in tryMatchString() 100 bool matchesSimple(const UidMap& uidMap, const FieldValueMatcher& matcher, in matchesSimple() 358 bool matchesSimple(const UidMap& uidMap, const SimpleAtomMatcher& simpleMatcher, in matchesSimple()
|
D | matcher_util.h | 39 bool matchesSimple(const UidMap& uidMap,
|
D | SimpleLogMatchingTracker.cpp | 32 const UidMap& uidMap) in SimpleLogMatchingTracker()
|
/frameworks/base/cmds/statsd/src/external/ |
D | StatsPuller.h | 56 static void SetUidMap(const sp<UidMap>& uidMap); 85 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 | 56 void mapAndMergeIsolatedUidsToHostUid(vector<shared_ptr<LogEvent>>& data, const sp<UidMap>& uidMap, in mapAndMergeIsolatedUidsToHostUid()
|
/frameworks/base/cmds/statsd/src/shell/ |
D | ShellSubscriber.h | 61 ShellSubscriber(sp<UidMap> uidMap, sp<StatsPullerManager> pullerMgr) in ShellSubscriber() 94 sp<UidMap> mUidMap;
|
/frameworks/base/cmds/statsd/src/ |
D | StatsLogProcessor.h | 37 StatsLogProcessor(const sp<UidMap>& uidMap, const sp<StatsPullerManager>& pullerManager, 107 inline sp<UidMap> getUidMap() { in getUidMap() 152 sp<UidMap> mUidMap; // Reference to the UidMap to lookup app name and version for each uid.
|
/frameworks/base/cmds/statsd/tests/metrics/ |
D | GaugeMetricProducer_test.cpp | 68 UidMap uidMap; in TEST() 103 UidMap uidMap; in TEST() 204 UidMap uidMap; in TEST() 281 UidMap uidMap; in TEST() 358 UidMap uidMap; in TEST() 411 UidMap uidMap; in TEST() 492 UidMap uidMap; in TEST() 576 UidMap uidMap; in TEST() 664 UidMap uidMap; in TEST() 738 UidMap uidMap; in TEST()
|
D | metrics_test_helper.h | 44 class MockUidMap : public UidMap {
|
D | ValueMetricProducer_test.cpp | 94 UidMap uidMap; in createValueProducerNoConditions() 114 UidMap uidMap; in createValueProducerWithCondition() 158 UidMap uidMap; in TEST() 188 UidMap uidMap; in TEST() 356 UidMap uidMap; in TEST() 662 UidMap uidMap; in TEST() 707 UidMap uidMap; in TEST() 768 UidMap uidMap; in TEST() 845 UidMap uidMap; in TEST() 888 UidMap uidMap; in TEST() [all …]
|
/frameworks/base/cmds/statsd/src/subscriber/ |
D | IncidentdReporter.cpp | 117 UidMap::getInstance()->writeUidMapSnapshot(getElapsedRealtimeNs(), true, true, uids, in getProtoData()
|
/frameworks/base/cmds/statsd/benchmark/ |
D | metric_util.cpp | 364 sp<UidMap> uidMap = new UidMap(); in CreateStatsLogProcessor()
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | MetricActivation_e2e_test.cpp | 247 sp<UidMap> m = new UidMap(); in TEST() 461 sp<UidMap> m = new UidMap(); in TEST() 784 sp<UidMap> m = new UidMap(); in TEST() 1119 sp<UidMap> m = new UidMap(); in TEST() 1316 sp<UidMap> m = new UidMap(); in TEST()
|