Home
last modified time | relevance | path

Searched refs:UidMap (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/cmds/statsd/src/packages/
DUidMap.cpp64 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 …]
DUidMap.h80 class UidMap : public virtual android::RefBase {
82 UidMap();
83 ~UidMap();
/frameworks/base/cmds/statsd/tests/
DStatsLogProcessor_test.cpp49 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()
DUidMap_test.cpp42 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()
DMetricsManager_test.cpp273 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()
DLogEntryMatcher_test.cpp42 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()
Dstatsd_test_util.cpp454 sp<UidMap> uidMap = new UidMap(); in CreateStatsLogProcessor()
/frameworks/base/cmds/statsd/src/metrics/
Dmetrics_manager_util.h49 const UidMap& uidMap,
86 UidMap& uidMap,
99 bool initStatsdConfig(const ConfigKey& key, const StatsdConfig& config, UidMap& uidMap,
DMetricsManager.h41 const sp<UidMap>& uidMap, const sp<AlarmMonitor>& anomalyAlarmMonitor,
121 sp<UidMap> mUidMap;
DMetricsManager.cpp59 const sp<UidMap> &uidMap, in MetricsManager()
85 auto it = UidMap::sAidToUidMapping.find(source); in MetricsManager()
86 if (it != UidMap::sAidToUidMapping.end()) { in MetricsManager()
Dmetrics_manager_util.cpp116 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/
DSimpleLogMatchingTracker.h37 const UidMap& uidMap);
52 const UidMap& mUidMap;
Dmatcher_util.cpp85 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()
Dmatcher_util.h44 bool matchesSimple(const UidMap& uidMap,
DSimpleLogMatchingTracker.cpp34 const UidMap& uidMap) in SimpleLogMatchingTracker()
/frameworks/base/cmds/statsd/src/external/
DStatsPuller.h48 static void SetUidMap(const sp<UidMap>& uidMap);
76 static sp<UidMap> mUidMap;
DStatsPuller.cpp32 sp<UidMap> StatsPuller::mUidMap = nullptr;
33 void StatsPuller::SetUidMap(const sp<UidMap>& uidMap) { mUidMap = uidMap; } in SetUidMap()
Dpuller_util.h29 const sp<UidMap>& uidMap, int tagId);
Dpuller_util.cpp108 void mergeIsolatedUidsToHostUid(vector<shared_ptr<LogEvent>>& data, const sp<UidMap>& uidMap, in mergeIsolatedUidsToHostUid()
/frameworks/base/cmds/statsd/src/
DStatsLogProcessor.h48 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.
DStatsService.h246 sp<UidMap> mUidMap;
DStatsLogProcessor.cpp74 StatsLogProcessor::StatsLogProcessor(const sp<UidMap>& uidMap, in StatsLogProcessor()
/frameworks/base/cmds/statsd/tests/metrics/
Dmetrics_test_helper.h45 class MockUidMap : public UidMap {
/frameworks/base/cmds/statsd/benchmark/
Dmetric_util.cpp364 sp<UidMap> uidMap = new UidMap(); in CreateStatsLogProcessor()
/frameworks/base/cmds/statsd/
DAndroid.mk61 src/packages/UidMap.cpp \

12