/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowProcessControllerMap.java | 30 private final Map<Integer, ArraySet<WindowProcessController>> mUidMap = new HashMap<>(); field in WindowProcessControllerMap 39 return mUidMap.get(uid); in getProcesses() 57 ArraySet<WindowProcessController> procSet = mUidMap.getOrDefault(uid, in put() 60 mUidMap.put(uid, procSet); in put() 78 ArraySet<WindowProcessController> procSet = mUidMap.get(uid); in removeProcessFromUidMap() 82 mUidMap.remove(uid); in removeProcessFromUidMap()
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | PartialBucket_e2e_test.cpp | 138 service.mUidMap->updateApp(start + 2, String16(kApp1.c_str()), 1, 2, String16("v2"), in TEST() 153 service.mUidMap->updateMap(start, {1}, {1}, {String16("v1")}, {String16(kApp1.c_str())}, in TEST() 158 service.mUidMap->updateApp(start + 2, String16(kApp1.c_str()), 1, 2, String16("v2"), in TEST() 178 service.mUidMap->updateMap(start, {1}, {1}, {String16("v1")}, {String16(kApp1.c_str())}, in TEST() 183 service.mUidMap->removeApp(start + 2, String16(kApp1.c_str()), 1); in TEST() 200 service.mUidMap->updateApp(1, String16(kApp1.c_str()), 1, 1, String16("v1"), String16("")); in TEST() 206 service.mUidMap->updateApp(5 * 60 * NS_PER_SEC + start + 2, String16(kApp1.c_str()), 1, 2, in TEST() 218 service.mUidMap->updateApp(1, String16(kApp1.c_str()), 1, 1, String16("v1"), String16("")); in TEST() 225 service.mUidMap->updateApp(endSkipped, String16(kApp1.c_str()), 1, 2, String16("v2"), in TEST() 242 service.mUidMap->updateApp(1, String16(kApp1.c_str()), 1, 1, String16("v1"), String16("")); in TEST() [all …]
|
/frameworks/base/cmds/statsd/src/external/ |
D | StatsPuller.cpp | 32 sp<UidMap> StatsPuller::mUidMap = nullptr; member in android::os::statsd::StatsPuller 33 void StatsPuller::SetUidMap(const sp<UidMap>& uidMap) { mUidMap = uidMap; } in SetUidMap() 78 mapAndMergeIsolatedUidsToHostUid(mCachedData, mUidMap, mTagId); in Pull()
|
D | StatsPuller.h | 85 static sp<UidMap> mUidMap; variable
|
/frameworks/base/cmds/statsd/src/matchers/ |
D | SimpleLogMatchingTracker.cpp | 35 : LogMatchingTracker(id, index), mMatcher(matcher), mUidMap(uidMap) { in SimpleLogMatchingTracker() 68 bool matched = matchesSimple(mUidMap, mMatcher, event); in onLogEvent()
|
D | SimpleLogMatchingTracker.h | 52 const UidMap& mUidMap; variable
|
/frameworks/base/cmds/statsd/src/shell/ |
D | ShellSubscriber.h | 63 : mUidMap(uidMap), mPullerMgr(pullerMgr){}; in ShellSubscriber() 95 sp<UidMap> mUidMap; variable
|
D | ShellSubscriber.cpp | 107 if (matchesSimple(*mUidMap, matcher, *event)) { in writeToOutputLocked() 206 if (matchesSimple(*mUidMap, matcher, event)) { in onLogEvent()
|
/frameworks/base/cmds/statsd/src/ |
D | StatsLogProcessor.cpp | 89 : mUidMap(uidMap), in StatsLogProcessor() 150 const int hostUid = mUidMap->getHostUidOrSelf(value.mValue.int_value); in mapIsolatedUidToHostUidIfNecessaryLocked() 162 const int hostUid = mUidMap->getHostUidOrSelf(value.int_value); in mapIsolatedUidToHostUidIfNecessaryLocked() 178 mUidMap->assignIsolatedUid(isolated_uid, parent_uid); in onIsolatedUidChangedEventLocked() 180 mUidMap->removeIsolatedUid(isolated_uid); in onIsolatedUidChangedEventLocked() 318 new MetricsManager(key, config, mTimeBaseNs, timestampNs, mUidMap, mPullerManager, in OnConfigUpdatedLocked() 321 mUidMap->OnConfigUpdated(key); in OnConfigUpdatedLocked() 325 mUidMap->addListener(newMetricsManager.get()); in OnConfigUpdatedLocked() 456 mUidMap->appendUidMap( in onConfigMetricsReportLocked() 526 mUidMap->OnConfigRemoved(key); in OnConfigRemoved()
|
D | StatsLogProcessor.h | 98 return mUidMap; in getUidMap() 142 sp<UidMap> mUidMap; // Reference to the UidMap to lookup app name and version for each uid. variable
|
D | StatsService.cpp | 165 mUidMap = UidMap::getInstance(); 167 StatsPuller::SetUidMap(mUidMap); 170 mUidMap, mPullerManager, mAnomalyAlarmMonitor, mPeriodicAlarmMonitor, 415 mShellSubscriber = new ShellSubscriber(mUidMap, mPullerManager); in command() 794 auto uids = mUidMap->getAppUid(pkg); in cmd_print_uid_map() 801 mUidMap->printUidMap(out); in cmd_print_uid_map() 992 mUidMap->updateMap(getElapsedRealtimeNs(), in informAllUidData() 1008 mUidMap->updateApp(getElapsedRealtimeNs(), app, uid, version, version_string, installer); in informOnePackage() 1016 mUidMap->removeApp(getElapsedRealtimeNs(), app, uid); in informOnePackageRemoved()
|
D | StatsService.h | 401 sp<UidMap> mUidMap; variable
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | MetricsManager.cpp | 69 mUidMap(uidMap), in MetricsManager() 161 auto uids = mUidMap->getAppUid(pkg); in initLogSourceWhiteList()
|
D | MetricsManager.h | 152 sp<UidMap> mUidMap; variable
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 1253 final SparseArray<ArrayMap<String, ArrayList<String>>> mUidMap; field in PackageManagerService.PendingPackageBroadcasts 1256 mUidMap = new SparseArray<>(2); in PendingPackageBroadcasts() 1270 ArrayMap<String, ArrayList<String>> packages = mUidMap.get(userId); in remove() 1277 mUidMap.remove(userId); in remove() 1281 return mUidMap.size(); in userIdCount() 1285 return mUidMap.keyAt(n); in userIdAt() 1289 return mUidMap.get(userId); in packagesForUserId() 1295 for (int i = 0; i< mUidMap.size(); i++) { in size() 1296 num += mUidMap.valueAt(i).size(); in size() 1302 mUidMap.clear(); in clear() [all …]
|