Home
last modified time | relevance | path

Searched refs:allUsers (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java136 final ArrayList<UserInfo> allUsers = new ArrayList<>(mPrimaryUserProfiles); in setUp() local
137 allUsers.add(SECONDARY_USER_INFO); in setUp()
138 when(mUserManager.getUsers(anyBoolean())).thenReturn(allUsers); in setUp()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
DSimpleEntityReadWriteTest.java218 List<User> allUsers = TestUtil.createUsersList(7, 8, 9); in updateListPartial() local
219 allUsers.addAll(existingUsers); in updateListPartial()
220 assertThat(mUserDao.updateAll(allUsers), is(3)); in updateListPartial()
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppRegistry.java670 final int[] allUsers; in pruneInstantApps() local
675 allUsers = PackageManagerService.sUserManager.getUserIds(); in pruneInstantApps()
688 for (int userId : allUsers) { in pruneInstantApps()
DPackageManagerService.java4668 final int[] allUsers = sUserManager.getUserIds(); in pruneUnusedStaticSharedLibraries() local
16349 final int[] allUsers;
16440 allUsers = sUserManager.getUserIds();
16441 installedUsers = ps.queryInstalledUsers(allUsers, true);
16446 for (int currentUser : allUsers) {
16508 childRemovedRes.origUsers = childPs.queryInstalledUsers(allUsers, true);
16542 user, allUsers, installerPackageName, res, installReason);
16545 user, allUsers, installerPackageName, res, installReason);
16551 final @ScanFlags int scanFlags, UserHandle user, int[] allUsers,
16568 if (!deletePackageLIF(pkgName, null, true, allUsers, deleteFlags,
[all …]
DSettings.java908 final List<UserInfo> allUsers = getAllUsers(UserManagerService.getInstance()); in writeUserRestrictionsLPw() local
909 if (allUsers == null) { in writeUserRestrictionsLPw()
912 for (UserInfo user : allUsers) { in writeUserRestrictionsLPw()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java366 List<UserInfo> allUsers = manager.getUsers(); in updateUser() local
367 if (allUsers != null) { in updateUser()
368 for (UserInfo userInfo : allUsers) { in updateUser()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java3507 List<UserInfo> allUsers = mUserManager.getUsers(); in cleanUpOldUsers() local
3512 for (UserInfo userInfo : allUsers) { in cleanUpOldUsers()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java15814 final boolean allUsers = ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, in getProcessesInErrorState()
15823 if (!allUsers && app.userId != userId) { in getProcessesInErrorState()
15897 final boolean allUsers = ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, in getRunningAppProcesses()
15907 if ((!allUsers && app.userId != userId) in getRunningAppProcesses()