Home
last modified time | relevance | path

Searched refs:runningUserIds (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotPersister.java88 void removeObsoleteFiles(ArraySet<Integer> persistentTaskIds, int[] runningUserIds) { in removeObsoleteFiles() argument
89 if (runningUserIds.length == 0) { in removeObsoleteFiles()
95 persistentTaskIds, runningUserIds, mPersistInfoProvider)); in removeObsoleteFiles()
106 int[] runningUserIds, PersistInfoProvider provider) { in RemoveObsoleteFilesQueueItem() argument
107 super(provider, runningUserIds.length > 0 ? runningUserIds[0] : UserHandle.USER_SYSTEM); in RemoveObsoleteFilesQueueItem()
109 mRunningUserIds = Arrays.copyOf(runningUserIds, runningUserIds.length); in RemoveObsoleteFilesQueueItem()
DTaskSnapshotController.java304 void removeObsoleteTaskFiles(ArraySet<Integer> persistentTaskIds, int[] runningUserIds) { in removeObsoleteTaskFiles() argument
305 mPersister.removeObsoleteFiles(persistentTaskIds, runningUserIds); in removeObsoleteTaskFiles()
DWindowManagerService.java4355 public void removeObsoleteTaskFiles(ArraySet<Integer> persistentTaskIds, int[] runningUserIds) { in removeObsoleteTaskFiles() argument
4357 mTaskSnapshotController.removeObsoleteTaskFiles(persistentTaskIds, runningUserIds); in removeObsoleteTaskFiles()
/frameworks/base/services/core/java/com/android/server/location/injector/
DSystemUserInfoHelper.java188 int[] runningUserIds = getRunningUserIds(); in dump() local
189 if (runningUserIds.length > 1) { in dump()
190 pw.println("running users: u" + Arrays.toString(runningUserIds)); in dump()
/frameworks/base/services/core/java/com/android/server/location/provider/
DLocationProviderManager.java1888 final int[] runningUserIds = mUserHelper.getRunningUserIds();
1889 for (int i = 0; i < runningUserIds.length; i++) {
1890 Location next = getLastLocationUnsafe(runningUserIds[i], permissionLevel,
1938 final int[] runningUserIds = mUserHelper.getRunningUserIds();
1939 for (int i = 0; i < runningUserIds.length; i++) {
1940 setLastLocation(location, runningUserIds[i]);
2750 final int[] runningUserIds = mUserHelper.getRunningUserIds();
2751 for (int i = 0; i < runningUserIds.length; i++) {
2752 onEnabledChanged(runningUserIds[i]);
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerTest.java132 int[] runningUserIds = mService.getRunningUserIds(); in testTaskIdsForRunningUsers() local
133 assertThat(runningUserIds).isNotEmpty(); in testTaskIdsForRunningUsers()
134 for (int userId : runningUserIds) { in testTaskIdsForRunningUsers()
/frameworks/base/services/core/java/com/android/server/location/
DLocationManagerService.java598 int[] runningUserIds = mInjector.getUserInfoHelper().getRunningUserIds(); in logLocationEnabledState() local
599 for (int userId : runningUserIds) { in logLocationEnabledState()
1691 final int[] runningUserIds = mInjector.getUserInfoHelper().getRunningUserIds(); in refreshAppOpsRestrictions() local
1692 for (int i = 0; i < runningUserIds.length; i++) { in refreshAppOpsRestrictions()
1693 refreshAppOpsRestrictions(runningUserIds[i]); in refreshAppOpsRestrictions()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java913 final int[] runningUserIds; in checkIdleStates() local
915 runningUserIds = mInjector.getRunningUserIds(); in checkIdleStates()
917 && !ArrayUtils.contains(runningUserIds, checkUserId)) { in checkIdleStates()
925 for (int i = 0; i < runningUserIds.length; i++) { in checkIdleStates()
926 final int userId = runningUserIds[i]; in checkIdleStates()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java4480 final int[] runningUserIds;
4482 runningUserIds = ActivityManager.getService().getRunningUserIds();
4487 return getAccountsForSystem(runningUserIds);
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java16629 final int runningUserIds[]; in notifyPendingSystemUpdate() local
16631 runningUserIds = mInjector.getIActivityManager().getRunningUserIds(); in notifyPendingSystemUpdate()
16638 for (final int userId : runningUserIds) { in notifyPendingSystemUpdate()