Home
last modified time | relevance | path

Searched refs:userCount (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/services/core/java/com/android/server/storage/
DAppCollector.java119 for (int userCount = 0, userSize = users.size(); in handleMessage()
120 userCount < userSize; userCount++) { in handleMessage()
121 UserInfo user = users.get(userCount); in handleMessage()
DCacheQuotaStrategy.java173 final int userCount = users.size(); in getUnfulfilledRequests() local
175 for (int i = 0; i < userCount; i++) { in getUnfulfilledRequests()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAlertFragment.java117 final int userCount = userManager.getUserCount(); in isSingleUser() local
118 return userCount == 1 in isSingleUser()
119 || (UserManager.isSplitSystemUser() && userCount == 2); in isSingleUser()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DUninstallAlertDialogFragment.java223 final int userCount = userManager.getUserCount(); in isSingleUser() local
224 return userCount == 1 in isSingleUser()
225 || (UserManager.isSplitSystemUser() && userCount == 2); in isSingleUser()
/frameworks/base/services/core/java/com/android/server/pm/
DUserDataPreparer.java183 final int userCount = validUsersList.size(); in reconcileUsers() local
184 SparseArray<UserInfo> users = new SparseArray<>(userCount); in reconcileUsers()
185 for (int i = 0; i < userCount; i++) { in reconcileUsers()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java368 final int userCount = users.size(); in cleanUpRemovedUsersLocked() local
369 for (int i = 0; i < userCount; i++) { in cleanUpRemovedUsersLocked()
417 final int userCount = mUserState.size(); in checkAndGetTimeLocked() local
418 for (int i = 0; i < userCount; i++) { in checkAndGetTimeLocked()
581 final int userCount = mUserState.size(); in reportEventToAllUserId() local
582 for (int i = 0; i < userCount; i++) { in reportEventToAllUserId()
732 final int userCount = mUserState.size(); in flushToDiskLocked() local
733 for (int i = 0; i < userCount; i++) { in flushToDiskLocked()
841 final int userCount = mUserState.size(); in dump() local
842 for (int i = 0; i < userCount; i++) { in dump()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DBaseSettingsProviderTest.java318 final int userCount = users.size(); in getSecondaryUserId() local
319 for (int i = 0; i < userCount; i++) { in getSecondaryUserId()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionsState.java142 final int userCount = other.mPermissionReviewRequired.size(); in copyFrom() local
143 for (int i = 0; i < userCount; i++) { in copyFrom()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java579 int userCount = mUserManager.getUserCount(); in testConcurrentUserCreate() local
581 int canBeCreatedCount = maxSupportedUsers - userCount; in testConcurrentUserCreate()
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java799 final int userCount = mUserStates.size(); in registerContentObservers()
800 for (int i = 0; i < userCount; i++) { in registerContentObservers()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerService.java282 final int userCount = users.size(); in initIfNeeded() local
283 for (int i = 0; i < userCount; i++) { in initIfNeeded()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java776 final int userCount = users.size(); in migrateOldData() local
778 for (int i = 0; i < userCount; i++) { in migrateOldData()
785 for (int i = 0; i < userCount; i++) { in migrateOldData()
839 final int userCount = users.size(); in migrateOldData() local
840 for (int i = 0; i < userCount; i++) { in migrateOldData()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java787 final int userCount = mUserStates.size(); in removeAccessibilityInteractionConnection() local
788 for (int i = 0; i < userCount; i++) { in removeAccessibilityInteractionConnection()
2542 final int userCount = mUserStates.size(); in dump() local
2543 for (int i = 0; i < userCount; i++) { in dump()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java818 final int userCount = users.size(); in dumpInternal() local
819 for (int i = 0; i < userCount; i++) { in dumpInternal()
2887 final int userCount = users.size();
2888 for (int i = 0; i < userCount; i++) {
DSettingsProtoDumpUtil.java53 final int userCount = users.size(); in dumpProtoLocked() local
54 for (int i = 0; i < userCount; i++) { in dumpProtoLocked()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java777 final int userCount = users.size(); in whiteListExistingSyncAdaptersIfNeeded() local
778 for (int i = 0; i < userCount; i++) { in whiteListExistingSyncAdaptersIfNeeded()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java4557 final int userCount = perUserRestrictions.size(); in binderDied() local
4558 for (int i = 0; i < userCount; i++) { in binderDied()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java8860 int userCount = mUserData.size(); in dump() local
8861 for (int u = 0; u < userCount; u++) { in dump()