Home
last modified time | relevance | path

Searched refs:numUsers (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/permission/
DRuntimePermissionUsageInfo.java47 public RuntimePermissionUsageInfo(@NonNull String name, int numUsers) { in RuntimePermissionUsageInfo() argument
49 checkArgumentNonnegative(numUsers); in RuntimePermissionUsageInfo()
52 mNumUsers = numUsers; in RuntimePermissionUsageInfo()
/frameworks/base/libs/storage/
DIMountService.cpp211 uint32_t numUsers; in getStorageUsers() local
214 numUsers = 0; in getStorageUsers()
216 numUsers = static_cast<uint32_t>(numUsersI); in getStorageUsers()
218 *users = (int32_t*)malloc(sizeof(int32_t)*numUsers); in getStorageUsers()
219 for (size_t i = 0; i < numUsers; i++) { in getStorageUsers()
222 return static_cast<int32_t>(numUsers); in getStorageUsers()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSettingsManager.java147 int numUsers = users.size(); in dump() local
148 for (int i = 0; i < numUsers; i++) { in dump()
DUsbPermissionManager.java126 int numUsers = users.size(); in dump() local
127 for (int i = 0; i < numUsers; i++) { in dump()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DUninstallAlertDialogFragment.java95 int numUsers = users.size(); in getAppDataSize() local
96 for (int i = 0; i < numUsers; i++) { in getAppDataSize()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppIdleHistory.java755 final int numUsers = userIds.length; in dumpUsers() local
756 for (int i = 0; i < numUsers; i++) { in dumpUsers()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java653 int numUsers = in.readInt(); in readFromParcel() local
654 if (numUsers >= 0) { in readFromParcel()
655 users = new int[numUsers]; in readFromParcel()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java1209 final int numUsers = mUserState.size(); in dump() local
1210 for (int user = 0; user < numUsers; user++) { in dump()
1236 final int numUsers = mUserState.size(); in dump() local
1237 for (int user = 0; user < numUsers; user++) { in dump()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java3049 int numUsers = users.size();
3050 for (int userNum = 0; userNum < numUsers; userNum++) {
3109 int numUsers = users.size();
3110 for (int userNum = 0; userNum < numUsers; userNum++) {
3329 int numUsers = users.size();
3330 for (int userNum = 0; userNum < numUsers; userNum++) {
/frameworks/opt/car/services/src/com/android/internal/car/
DCarServiceHelperService.java508 int numUsers = lastUserLifecycle.size(); in handleCarServiceConnection() local
510 t.traceBegin("send-uses-after-reconnect-" + numUsers); in handleCarServiceConnection()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java3092 int numUsers = users.length; in revokePermissionsNoLongerImplicitLocked() local
3093 for (int i = 0; i < numUsers; i++) { in revokePermissionsNoLongerImplicitLocked()
3255 int numUsers = users.length; in setInitialGrantForNewImplicitPermissionsLocked() local
3256 for (int userNum = 0; userNum < numUsers; userNum++) { in setInitialGrantForNewImplicitPermissionsLocked()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java4066 final int numUsers = users.size(); in updateRulesForTempWhitelistChangeUL() local
4067 for (int i = 0; i < numUsers; i++) { in updateRulesForTempWhitelistChangeUL()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java6166 int numUsers = users.length; in setRestriction() local
6168 for (int i = 0; i < numUsers; i++) { in setRestriction()