Home
last modified time | relevance | path

Searched refs:userHandles (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallFinish.java138 List<UserHandle> userHandles = userManager.getUserHandles(true); in onReceive() local
140 for (int i = 0; i < userHandles.size(); ++i) { in onReceive()
141 final UserHandle handle = userHandles.get(i); in onReceive()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/
DThemeOverlayApplierTest.java209 Set<UserHandle> userHandles = Sets.newHashSet(TEST_USER_HANDLES); in allCategoriesSpecified_enabledForAllUserHandles() local
211 userHandles, null); in allCategoriesSpecified_enabledForAllUserHandles()
226 Set<UserHandle> userHandles = Sets.newHashSet(TEST_USER_HANDLES); in enablesOverlays_onlyIfItExistsForUser() local
228 userHandles, null); in enablesOverlays_onlyIfItExistsForUser()
/frameworks/base/packages/SettingsLib/ProfileSelector/src/com/android/settingslib/widget/
DProfileSelectFragment.java182 List<UserHandle> userHandles = userManager.getUserProfiles(); in initProfileTabsToShow() local
183 for (UserHandle userHandle : userHandles) { in initProfileTabsToShow()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DUninstallAlertDialogFragment.java99 List<UserHandle> userHandles = userManager.getUserHandles(true); in getAppDataSize() local
101 int numUsers = userHandles.size(); in getAppDataSize()
103 appDataSize += getAppDataSizeForUser(pkg, userHandles.get(i)); in getAppDataSize()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgress.java185 List<UserHandle> userHandles = userManager.getUserHandles(true); in handleMessage() local
187 for (int i = 0; i < userHandles.size(); ++i) { in handleMessage()
188 final UserHandle handle = userHandles.get(i); in handleMessage()
/frameworks/base/services/core/java/com/android/server/power/
DLowPowerStandbyController.java1305 final List<UserHandle> userHandles = userManager.getUserHandles(true); in getAllowlistUidsLocked() local
1321 for (int uid : uidsForAppId(appId, userHandles)) { in getAllowlistUidsLocked()
1334 private int[] uidsForAppId(int appUid, List<UserHandle> userHandles) { in uidsForAppId() argument
1336 final int[] uids = new int[userHandles.size()]; in uidsForAppId()
1337 for (int i = 0; i < userHandles.size(); i++) { in uidsForAppId()
1338 uids[i] = userHandles.get(i).getUid(appId); in uidsForAppId()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DUninstallRepository.kt350 val userHandles = userManager!!.getUserHandles(true) in getAppDataSize() constant
352 val numUsers = userHandles.size in getAppDataSize()
354 totalAppDataSize += getAppDataSizeForUser(pkg, userHandles[i]) in getAppDataSize()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java175 List<UserHandle> userHandles = new ArrayList(); in setUp() local
176 userHandles.add(UserHandle.SYSTEM); in setUp()
177 doReturn(userHandles).when(userManager).getUserHandles(anyBoolean()); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java1354 final List<UserHandle> userHandles = mUserManager.getUserHandles(false); in dispatchIntent() local
1356 for (UserHandle handle : userHandles) { in dispatchIntent()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java1593 List<UserHandle> userHandles = mUserManager.getUserHandles(/* excludeDying= */ true); in testGetUserHandles_createNewUser_shouldFindNewUser() local
1594 for (UserHandle userHandle: userHandles) { in testGetUserHandles_createNewUser_shouldFindNewUser()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java13055 final List<UserHandle> userHandles = new ArrayList<>();
13059 userHandles.add(userInfo.getUserHandle());
13062 return userHandles;