Home
last modified time | relevance | path

Searched refs:mUidMap (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DWindowProcessControllerMap.java30 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/
DPartialBucket_e2e_test.cpp138 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/
DStatsPuller.cpp32 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()
DStatsPuller.h85 static sp<UidMap> mUidMap; variable
/frameworks/base/cmds/statsd/src/matchers/
DSimpleLogMatchingTracker.cpp35 : LogMatchingTracker(id, index), mMatcher(matcher), mUidMap(uidMap) { in SimpleLogMatchingTracker()
68 bool matched = matchesSimple(mUidMap, mMatcher, event); in onLogEvent()
DSimpleLogMatchingTracker.h52 const UidMap& mUidMap; variable
/frameworks/base/cmds/statsd/src/shell/
DShellSubscriber.h63 : mUidMap(uidMap), mPullerMgr(pullerMgr){}; in ShellSubscriber()
95 sp<UidMap> mUidMap; variable
DShellSubscriber.cpp107 if (matchesSimple(*mUidMap, matcher, *event)) { in writeToOutputLocked()
206 if (matchesSimple(*mUidMap, matcher, event)) { in onLogEvent()
/frameworks/base/cmds/statsd/src/
DStatsLogProcessor.cpp89 : 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()
DStatsLogProcessor.h98 return mUidMap; in getUidMap()
142 sp<UidMap> mUidMap; // Reference to the UidMap to lookup app name and version for each uid. variable
DStatsService.cpp165 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()
DStatsService.h401 sp<UidMap> mUidMap; variable
/frameworks/base/cmds/statsd/src/metrics/
DMetricsManager.cpp69 mUidMap(uidMap), in MetricsManager()
161 auto uids = mUidMap->getAppUid(pkg); in initLogSourceWhiteList()
DMetricsManager.h152 sp<UidMap> mUidMap; variable
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java1253 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 …]