/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | UninstallerActivity.java | 80 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()
|
D | UninstallUninstalling.java | 74 boolean allUsers = getIntent().getBooleanExtra(Intent.EXTRA_UNINSTALL_ALL_USERS, in onCreate() 100 int flags = allUsers ? PackageManager.DELETE_ALL_USERS : 0; in onCreate()
|
D | UninstallFinish.java | 70 boolean allUsers = intent.getBooleanExtra(Intent.EXTRA_UNINSTALL_ALL_USERS, false); in onReceive() 170 if (allUsers) { in onReceive()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SystemService.java | 250 final List<UserInfo> allUsers = UserManager.get(mContext).getUsers(); in dumpSupportedUsers() local 251 final List<Integer> supportedUsers = new ArrayList<>(allUsers.size()); in dumpSupportedUsers() 252 for (UserInfo user : allUsers) { in dumpSupportedUsers() 255 if (allUsers.isEmpty()) { in dumpSupportedUsers()
|
D | StorageManagerService.java | 1139 private void restoreAllUnlockedUsers(UserManager userManager, List<UserInfo> allUsers, in restoreAllUnlockedUsers() argument 1143 for (UserInfo user : allUsers) { in restoreAllUnlockedUsers()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/ |
D | UninstallAlertDialogFragment.java | 136 if (dialogInfo.allUsers && !isSingleUser(userManager)) { in onCreateDialog() 165 appDataSize = getAppDataSize(pkg, dialogInfo.allUsers ? null : dialogInfo.user); in onCreateDialog()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppExitInfoTracker.java | 574 void onPackageRemoved(String packageName, int uid, boolean allUsers) { in onPackageRemoved() argument 580 mAppExitInfoSourceZygote.removeByUidLocked(uid, allUsers); in onPackageRemoved() 581 mAppExitInfoSourceLmkd.removeByUidLocked(uid, allUsers); in onPackageRemoved() 582 mIsolatedUidRecords.removeAppUid(uid, allUsers); in onPackageRemoved() 585 allUsers ? UserHandle.USER_ALL : UserHandle.getUserId(uid)); in onPackageRemoved() 617 boolean allUsers = intent.getBooleanExtra( in registerForPackageRemoval() 619 onPackageRemoved(intent.getData().getSchemeSpecificPart(), uid, allUsers); in registerForPackageRemoval() 1469 void removeAppUid(int uid, boolean allUsers) { in removeAppUid() argument 1471 if (allUsers) { in removeAppUid() 1662 void removeByUidLocked(int uid, boolean allUsers) { in removeByUidLocked() argument [all …]
|
D | ProcessList.java | 3552 List<ActivityManager.RunningAppProcessInfo> getRunningAppProcessesLocked(boolean allUsers, in getRunningAppProcessesLocked() argument 3559 if ((!allUsers && app.userId != userId) in getRunningAppProcessesLocked()
|
D | ActivityManagerService.java | 4577 final boolean allUsers = ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, in getProcessMemoryInfo() 4614 if (!allUsers && (targetUserId != callingUserId)) { in getProcessMemoryInfo() 4667 final boolean allUsers = ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, in getProcessPss() 4683 if (!allUids || (!allUsers && UserHandle.getUserId(proc.uid) != userId)) { in getProcessPss() 10326 final boolean allUsers = ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, in getProcessesInErrorState() 10335 if (!allUsers && app.userId != userId) { in getProcessesInErrorState() 10374 final boolean allUsers = ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, in getRunningAppProcesses() 10382 return mProcessList.getRunningAppProcessesLocked(allUsers, userId, allUids, in getRunningAppProcesses()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | BaseLockSettingsServiceTests.java | 170 final ArrayList<UserInfo> allUsers = new ArrayList<>(mPrimaryUserProfiles); in setUp_baseServices() local 171 allUsers.add(SECONDARY_USER_INFO); in setUp_baseServices() 172 when(mUserManager.getUsers(anyBoolean())).thenReturn(allUsers); in setUp_baseServices()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | StagingManager.java | 493 final int[] allUsers = um.getUserIds(); in snapshotAndRestoreForApexSession() local 500 snapshotAndRestoreApexUserData(packageName, allUsers, rm); in snapshotAndRestoreForApexSession() 505 snapshotAndRestoreApkInApexUserData(apksInApex.get(j), allUsers, rm); in snapshotAndRestoreForApexSession() local 511 String packageName, int[] allUsers, IRollbackManager rm) { in snapshotAndRestoreApexUserData() argument 514 rm.snapshotAndRestoreUserData(packageName, allUsers, 0, 0, in snapshotAndRestoreApexUserData() 522 String packageName, int[] allUsers, IRollbackManager rm) { in snapshotAndRestoreApkInApexUserData() argument 539 final int[] installedUsers = ps.queryInstalledUsers(allUsers, true); in snapshotAndRestoreApkInApexUserData()
|
D | AppsFilter.java | 654 UserInfo[] allUsers, int maxIndex) { in updateShouldFilterCacheForPackage() argument 664 final int userCount = allUsers.length; in updateShouldFilterCacheForPackage() 667 int subjectUser = allUsers[su].id; in updateShouldFilterCacheForPackage() 669 int otherUser = allUsers[ou].id; in updateShouldFilterCacheForPackage()
|
D | InstantAppRegistry.java | 687 final int[] allUsers; in pruneInstantApps() local 692 allUsers = mService.mUserManager.getUserIds(); in pruneInstantApps() 708 for (int userId : allUsers) { in pruneInstantApps()
|
D | Settings.java | 889 final List<UserInfo> allUsers = getAllUsers(UserManagerService.getInstance()); in writeUserRestrictionsLPw() local 890 if (allUsers == null) { in writeUserRestrictionsLPw() 893 for (UserInfo user : allUsers) { in writeUserRestrictionsLPw()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/ |
D | UninstallAlertFragment.java | 70 if (dialogInfo.allUsers && !isSingleUser(userManager)) { in onCreateGuidance()
|
/frameworks/base/services/core/java/com/android/server/infra/ |
D | AbstractMasterSystemService.java | 720 final UserInfo[] allUsers = getUserManagerInternal().getUserInfos(); in getSupportedUsers() local 721 final int size = allUsers.length; in getSupportedUsers() 724 final UserInfo userInfo = allUsers[i]; in getSupportedUsers()
|
/frameworks/opt/car/services/src/com/android/internal/car/ |
D | CarServiceHelperService.java | 777 List<UserInfo> allUsers = mUserManager.getUsers(/* excludePartial= */ true, in managePreCreatedUsers() local 780 int allUsersSize = allUsers.size(); in managePreCreatedUsers() 797 UserInfo user = allUsers.get(i); in managePreCreatedUsers()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 389 List<UserInfo> allUsers = manager.getUsers(); in updateUser() local 390 if (allUsers != null) { in updateUser() 391 for (UserInfo userInfo : allUsers) { in updateUser()
|
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/ |
D | BlobStoreManagerService.java | 990 final int[] allUsers = LocalServices.getService(UserManagerInternal.class).getUserIds(); in getAllPackages() local 991 for (int userId : allUsers) { in getAllPackages()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 1784 List<UserInfo> allUsers = mUserManager.getUsers(); in KeyguardUpdateMonitor() local 1785 for (UserInfo userInfo : allUsers) { in KeyguardUpdateMonitor()
|