/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | PolicyVersionUpgrader.java | 73 final int[] allUsers = mProvider.getUsersForUpgrade(); in upgradePolicy() local 78 final SparseArray<DevicePolicyData> allUsersData = loadAllUsersData(allUsers, oldVersion); in upgradePolicy() 93 for (int userId : allUsers) { in upgradePolicy() 109 writePoliciesAndVersion(allUsers, allUsersData, currentVersion); in upgradePolicy() 112 private void writePoliciesAndVersion(int[] allUsers, SparseArray<DevicePolicyData> allUsersData, in writePoliciesAndVersion() argument 115 for (int user : allUsers) { in writePoliciesAndVersion() 128 private SparseArray<DevicePolicyData> loadAllUsersData(int[] allUsers, int loadVersion) { in loadAllUsersData() argument 130 for (int user: allUsers) { in loadAllUsersData()
|
D | DevicePolicyManagerService.java | 3199 List<UserInfo> allUsers = mUserManager.getUsers(); 3200 return allUsers.stream().mapToInt(u -> u.id).toArray(); 3331 List<UserInfo> allUsers = mUserManager.getUsers(); 3336 for (UserInfo userInfo : allUsers) {
|
/frameworks/base/services/core/java/com/android/server/ |
D | SystemService.java | 302 final List<UserInfo> allUsers = UserManager.get(mContext).getUsers(); in dumpSupportedUsers() local 303 final List<Integer> supportedUsers = new ArrayList<>(allUsers.size()); in dumpSupportedUsers() 304 for (UserInfo user : allUsers) { in dumpSupportedUsers() 307 if (allUsers.isEmpty()) { in dumpSupportedUsers()
|
D | StorageManagerService.java | 1147 private void restoreSystemUnlockedUsers(UserManager userManager, List<UserInfo> allUsers, in restoreSystemUnlockedUsers() argument 1151 for (UserInfo user : allUsers) { in restoreSystemUnlockedUsers()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | UninstallerActivity.java | 81 public boolean allUsers; field in UninstallerActivity.DialogInfo 165 mDialogInfo.allUsers = intent.getBooleanExtra(Intent.EXTRA_UNINSTALL_ALL_USERS, false); in onCreate() 166 if (mDialogInfo.allUsers && !UserManager.get(this).isAdminUser()) { in onCreate() 298 newIntent.putExtra(Intent.EXTRA_UNINSTALL_ALL_USERS, mDialogInfo.allUsers); in startUninstallProgress() 313 newIntent.putExtra(Intent.EXTRA_UNINSTALL_ALL_USERS, mDialogInfo.allUsers); in startUninstallProgress() 340 broadcastIntent.putExtra(Intent.EXTRA_UNINSTALL_ALL_USERS, mDialogInfo.allUsers); in startUninstallProgress() 366 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() 101 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/os/ |
D | NativeTombstoneManager.java | 190 private void purgePackage(int uid, boolean allUsers) { in purgePackage() argument 193 if (allUsers) { in purgePackage() 215 final boolean allUsers = intent.getBooleanExtra( in registerForPackageRemoval() 218 purgePackage(uid, allUsers); in registerForPackageRemoval()
|
/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 | 597 void onPackageRemoved(String packageName, int uid, boolean allUsers) { in onPackageRemoved() argument 603 mAppExitInfoSourceZygote.removeByUidLocked(uid, allUsers); in onPackageRemoved() 604 mAppExitInfoSourceLmkd.removeByUidLocked(uid, allUsers); in onPackageRemoved() 605 mIsolatedUidRecords.removeAppUid(uid, allUsers); in onPackageRemoved() 608 allUsers ? UserHandle.USER_ALL : UserHandle.getUserId(uid)); in onPackageRemoved() 640 boolean allUsers = intent.getBooleanExtra( in registerForPackageRemoval() 642 onPackageRemoved(intent.getData().getSchemeSpecificPart(), uid, allUsers); in registerForPackageRemoval() 1532 void removeAppUid(int uid, boolean allUsers) { in removeAppUid() argument 1534 if (allUsers) { in removeAppUid() 1733 void removeByUidLocked(int uid, boolean allUsers) { in removeByUidLocked() argument [all …]
|
D | ActivityManagerService.java | 3813 final boolean allUsers = ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, in getProcessMemoryInfo() 3859 if (!allUsers && (targetUserId != callingUserId)) { in getProcessMemoryInfo() 3915 final boolean allUsers = ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, in getProcessPss() 3931 if (!allUids || (!allUsers && UserHandle.getUserId(proc.uid) != userId)) { in getProcessPss() 8383 final boolean allUsers = ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, in getProcessesInErrorState() 8390 if (!allUsers && app.userId != userId) { in getProcessesInErrorState() 8430 final boolean allUsers = ActivityManager.checkUidPermission(INTERACT_ACROSS_USERS_FULL, in getRunningAppProcesses() 8438 return mProcessList.getRunningAppProcessesLOSP(allUsers, userId, allUids, in getRunningAppProcesses()
|
D | ProcessList.java | 3764 List<ActivityManager.RunningAppProcessInfo> getRunningAppProcessesLOSP(boolean allUsers, in getRunningAppProcessesLOSP() argument 3773 if ((!allUsers && app.userId != userId) in getRunningAppProcessesLOSP()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | StagingManager.java | 457 final int[] allUsers = um.getUserIds(); in snapshotAndRestoreForApexSession() local 463 snapshotAndRestoreApexUserData(packageName, allUsers, rm); in snapshotAndRestoreForApexSession() 468 snapshotAndRestoreApkInApexUserData(apksInApex.get(j), allUsers, rm); in snapshotAndRestoreForApexSession() local 474 String packageName, int[] allUsers, RollbackManagerInternal rm) { in snapshotAndRestoreApexUserData() argument 476 rm.snapshotAndRestoreUserData(packageName, UserHandle.toUserHandles(allUsers), 0, 0, in snapshotAndRestoreApexUserData() 481 String packageName, int[] allUsers, RollbackManagerInternal rm) { in snapshotAndRestoreApkInApexUserData() argument 498 final int[] installedUsers = ps.queryInstalledUsers(allUsers, true); in snapshotAndRestoreApkInApexUserData()
|
D | AppsFilter.java | 925 PackageSetting> allSettings, UserInfo[] allUsers, int maxIndex) { 935 final int userCount = allUsers.length; 938 int subjectUser = allUsers[su].id; 940 int otherUser = allUsers[ou].id;
|
D | InstantAppRegistry.java | 777 final int[] allUsers; 782 allUsers = mService.mUserManager.getUserIds(); 798 for (int userId : allUsers) {
|
D | PackageManagerService.java | 6359 int[] allUsers = mInjector.getUserManagerService().getUserIds(); in handlePackagePostInstall() local 8986 final int[] allUsers = mUserManager.getUserIds(); in pruneUnusedStaticSharedLibraries() local 13414 ArrayList<SharedLibraryInfo> usesLibraryInfos, int[] allUsers) { in executeSharedLibrariesUpdateLPr() argument 13432 int[] installedUsers = new int[allUsers.length]; in executeSharedLibrariesUpdateLPr() 13434 for (int u = 0; u < allUsers.length; u++) { in executeSharedLibrariesUpdateLPr() 13435 if (pkgSetting.getInstalled(allUsers[u])) { in executeSharedLibrariesUpdateLPr() 13436 installedUsers[installedUserCount++] = allUsers[u]; in executeSharedLibrariesUpdateLPr() 13961 @NonNull ReconciledPackage reconciledPkg, int[] allUsers) { 14038 reconciledPkg.collectedSharedLibraryInfos, allUsers); 17481 final int[] allUsers = mUserManager.getUserIds(); in performRollbackManagerRestore() local [all …]
|
D | Settings.java | 1149 final List<UserInfo> allUsers = getAllUsers(UserManagerService.getInstance()); 1150 if (allUsers == null) { 1153 for (UserInfo user : allUsers) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | BaseLockSettingsServiceTests.java | 167 final ArrayList<UserInfo> allUsers = new ArrayList<>(mPrimaryUserProfiles); in setUp_baseServices() local 168 allUsers.add(SECONDARY_USER_INFO); in setUp_baseServices() 169 when(mUserManager.getUsers()).thenReturn(allUsers); in setUp_baseServices()
|
/frameworks/base/apex/media/service/java/com/android/server/media/ |
D | MediaCommunicationService.java | 177 List<UserHandle> allUsers = manager.getUserHandles(/*excludeDying=*/false); in updateUser() local 181 if (allUsers != null) { in updateUser() 182 for (UserHandle user : allUsers) { in updateUser()
|
/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 | 730 final UserInfo[] allUsers = getUserManagerInternal().getUserInfos(); in getSupportedUsers() local 731 final int size = allUsers.length; in getSupportedUsers() 734 final UserInfo userInfo = allUsers[i]; in getSupportedUsers()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 442 List<UserHandle> allUsers = manager.getUserHandles(/*excludeDying=*/false); in updateUser() local 443 if (allUsers != null) { in updateUser() 444 for (UserHandle user : allUsers) { in updateUser()
|
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/ |
D | BlobStoreManagerService.java | 981 final int[] allUsers = LocalServices.getService(UserManagerInternal.class).getUserIds(); in getAllPackages() local 982 for (int userId : allUsers) { in getAllPackages()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 2017 List<UserInfo> allUsers = mUserManager.getUsers(); in KeyguardUpdateMonitor() local 2018 for (UserInfo userInfo : allUsers) { in KeyguardUpdateMonitor()
|