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()
181 service.mUidMap->updateMap(start, {1}, {1}, {String16("v1")}, {String16(kApp1.c_str())}, in TEST()
186 service.mUidMap->removeApp(start + 2, String16(kApp1.c_str()), 1); in TEST()
206 service.mUidMap->updateApp(1, String16(kApp1.c_str()), 1, 1, String16("v1"), String16("")); in TEST()
212 service.mUidMap->updateApp(5 * 60 * NS_PER_SEC + start + 2, String16(kApp1.c_str()), 1, 2, in TEST()
224 service.mUidMap->updateApp(1, String16(kApp1.c_str()), 1, 1, String16("v1"), String16("")); in TEST()
231 service.mUidMap->updateApp(endSkipped, String16(kApp1.c_str()), 1, 2, String16("v2"), in TEST()
249 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.cpp33 : LogMatchingTracker(id, index), mMatcher(matcher), mUidMap(uidMap) { in SimpleLogMatchingTracker()
66 bool matched = matchesSimple(mUidMap, mMatcher, event); in onLogEvent()
DSimpleLogMatchingTracker.h49 const UidMap& mUidMap; variable
/frameworks/base/cmds/statsd/src/shell/
DShellSubscriber.h62 : mUidMap(uidMap), mPullerMgr(pullerMgr){}; in ShellSubscriber()
94 sp<UidMap> mUidMap; variable
DShellSubscriber.cpp106 if (matchesSimple(*mUidMap, matcher, *event)) { in writeToOutputLocked()
205 if (matchesSimple(*mUidMap, matcher, event)) { in onLogEvent()
/frameworks/base/cmds/statsd/src/
DStatsLogProcessor.cpp85 : mUidMap(uidMap), in StatsLogProcessor()
146 const int hostUid = mUidMap->getHostUidOrSelf(value.mValue.int_value); in mapIsolatedUidToHostUidIfNecessaryLocked()
158 const int hostUid = mUidMap->getHostUidOrSelf(value.int_value); in mapIsolatedUidToHostUidIfNecessaryLocked()
174 mUidMap->assignIsolatedUid(isolated_uid, parent_uid); in onIsolatedUidChangedEventLocked()
176 mUidMap->removeIsolatedUid(isolated_uid); in onIsolatedUidChangedEventLocked()
314 new MetricsManager(key, config, mTimeBaseNs, timestampNs, mUidMap, mPullerManager, in OnConfigUpdatedLocked()
317 mUidMap->OnConfigUpdated(key); in OnConfigUpdatedLocked()
447 mUidMap->appendUidMap( in onConfigMetricsReportLocked()
517 mUidMap->OnConfigRemoved(key); in OnConfigRemoved()
DStatsService.cpp159 mUidMap = UidMap::getInstance();
161 StatsPuller::SetUidMap(mUidMap);
164 mUidMap, mPullerManager, mAnomalyAlarmMonitor, mPeriodicAlarmMonitor,
197 mUidMap->setListener(mProcessor);
414 mShellSubscriber = new ShellSubscriber(mUidMap, mPullerManager); in command()
798 auto uids = mUidMap->getAppUid(pkg); in cmd_print_uid_map()
805 mUidMap->printUidMap(out); in cmd_print_uid_map()
996 mUidMap->updateMap(getElapsedRealtimeNs(), in informAllUidData()
1012 mUidMap->updateApp(getElapsedRealtimeNs(), app, uid, version, version_string, installer); in informOnePackage()
1020 mUidMap->removeApp(getElapsedRealtimeNs(), app, uid); in informOnePackageRemoved()
DStatsLogProcessor.h108 return mUidMap; in getUidMap()
152 sp<UidMap> mUidMap; // Reference to the UidMap to lookup app name and version for each uid. variable
DStatsService.h345 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.h148 sp<UidMap> mUidMap; variable
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java1298 final SparseArray<ArrayMap<String, ArrayList<String>>> mUidMap; field in PackageManagerService.PendingPackageBroadcasts
1301 mUidMap = new SparseArray<>(2); in PendingPackageBroadcasts()
1315 ArrayMap<String, ArrayList<String>> packages = mUidMap.get(userId); in remove()
1322 mUidMap.remove(userId); in remove()
1326 return mUidMap.size(); in userIdCount()
1330 return mUidMap.keyAt(n); in userIdAt()
1334 return mUidMap.get(userId); in packagesForUserId()
1340 for (int i = 0; i< mUidMap.size(); i++) { in size()
1341 num += mUidMap.valueAt(i).size(); in size()
1347 mUidMap.clear(); in clear()
[all …]