Home
last modified time | relevance | path

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

/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallerActivity.java80 public boolean allUsers; field in UninstallerActivity.DialogInfo
162 mDialogInfo.allUsers = intent.getBooleanExtra(Intent.EXTRA_UNINSTALL_ALL_USERS, false); in onCreate()
163 if (mDialogInfo.allUsers && !UserManager.get(this).isAdminUser()) { in onCreate()
295 newIntent.putExtra(Intent.EXTRA_UNINSTALL_ALL_USERS, mDialogInfo.allUsers); in startUninstallProgress()
310 newIntent.putExtra(Intent.EXTRA_UNINSTALL_ALL_USERS, mDialogInfo.allUsers); in startUninstallProgress()
337 broadcastIntent.putExtra(Intent.EXTRA_UNINSTALL_ALL_USERS, mDialogInfo.allUsers); in startUninstallProgress()
362 int flags = mDialogInfo.allUsers ? PackageManager.DELETE_ALL_USERS : 0; in startUninstallProgress()
DUninstallUninstalling.java74 boolean allUsers = getIntent().getBooleanExtra(Intent.EXTRA_UNINSTALL_ALL_USERS, in onCreate()
100 int flags = allUsers ? PackageManager.DELETE_ALL_USERS : 0; in onCreate()
DUninstallFinish.java70 boolean allUsers = intent.getBooleanExtra(Intent.EXTRA_UNINSTALL_ALL_USERS, false); in onReceive()
170 if (allUsers) { in onReceive()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java162 final ArrayList<UserInfo> allUsers = new ArrayList<>(mPrimaryUserProfiles); in setUp_baseServices() local
163 allUsers.add(SECONDARY_USER_INFO); in setUp_baseServices()
164 when(mUserManager.getUsers(anyBoolean())).thenReturn(allUsers); in setUp_baseServices()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DUninstallAlertDialogFragment.java150 if (dialogInfo.allUsers && !isSingleUser(userManager)) { in onCreateDialog()
179 appDataSize = getAppDataSize(pkg, dialogInfo.allUsers ? null : dialogInfo.user); in onCreateDialog()
/frameworks/opt/car/services/src/com/android/internal/car/
DCarServiceHelperService.java354 List<UserInfo> allUsers = mUserManager.getUsers(/* excludePartial= */ true, in managePreCreatedUsers() local
357 int allUsersSize = allUsers.size(); in managePreCreatedUsers()
368 UserInfo user = allUsers.get(i); in managePreCreatedUsers()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAlertFragment.java70 if (dialogInfo.allUsers && !isSingleUser(userManager)) { in onCreateGuidance()
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppRegistry.java684 final int[] allUsers; in pruneInstantApps() local
689 allUsers = PackageManagerService.sUserManager.getUserIds(); in pruneInstantApps()
702 for (int userId : allUsers) { in pruneInstantApps()
DPackageManagerService.java4813 final int[] allUsers = sUserManager.getUserIds();
14249 final int[] allUsers = sUserManager.getUserIds();
14264 installedUsers = ps.queryInstalledUsers(allUsers, true);
15702 int[] allUsers, PackageInstalledInfo res, UserHandle user, int installReason) {
15704 updateSettingsInternalLI(newPackage, installerPackageName, allUsers, res.origUsers,
15712 updateSettingsInternalLI(childPackage, installerPackageName, allUsers,
15718 String installerPackageName, int[] allUsers, int[] installedForUsers,
15749 if (allUsers != null && installedForUsers != null) {
15750 for (int currentUserId : allUsers) {
15835 private CommitRequest(Map<String, ReconciledPackage> reconciledPackages, int[] allUsers) {
[all …]
DSettings.java844 final List<UserInfo> allUsers = getAllUsers(UserManagerService.getInstance()); in writeUserRestrictionsLPw() local
845 if (allUsers == null) { in writeUserRestrictionsLPw()
848 for (UserInfo user : allUsers) { in writeUserRestrictionsLPw()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java390 List<UserInfo> allUsers = manager.getUsers(); in updateUser() local
391 if (allUsers != null) { in updateUser()
392 for (UserInfo userInfo : allUsers) { in updateUser()
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java3151 List<ActivityManager.RunningAppProcessInfo> getRunningAppProcessesLocked(boolean allUsers, in getRunningAppProcessesLocked() argument
3158 if ((!allUsers && app.userId != userId) in getRunningAppProcessesLocked()
DActivityManagerService.java4380 final boolean allUsers = ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, in getProcessMemoryInfo()
4405 if (!allUsers && (targetUserId != callingUserId)) { in getProcessMemoryInfo()
4457 final boolean allUsers = ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, in getProcessPss()
4473 if (!allUids || (!allUsers && UserHandle.getUserId(proc.uid) != userId)) { in getProcessPss()
9711 final boolean allUsers = ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, in getProcessesInErrorState()
9720 if (!allUsers && app.userId != userId) { in getProcessesInErrorState()
9759 final boolean allUsers = ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, in getRunningAppProcesses()
9767 return mProcessList.getRunningAppProcessesLocked(allUsers, userId, allUids, in getRunningAppProcesses()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java3704 List<UserInfo> allUsers = mUserManager.getUsers(); in cleanUpOldUsers() local
3709 for (UserInfo userInfo : allUsers) { in cleanUpOldUsers()