/packages/modules/Permission/service/java/com/android/permission/util/ |
D | UserUtils.java | 68 return getUserHandles(context).contains(UserHandle.of(userId)); in isUserExistent() 73 public static List<UserHandle> getUserHandles(@NonNull Context context) { in getUserHandles() method in UserUtils 78 return userManager.getUserHandles(true); in getUserHandles()
|
/packages/services/Car/car-builtin-lib/src/android/car/builtin/os/ |
D | UserManagerHelper.java | 70 public static List<UserHandle> getUserHandles(@NonNull UserManager userManager, in getUserHandles() method in UserManagerHelper 72 return userManager.getUserHandles(excludeDying); in getUserHandles() 82 public static List<UserHandle> getUserHandles(@NonNull UserManager userManager, in getUserHandles() method in UserManagerHelper
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/ |
D | UidPackageMapperTest.java | 85 when(mMockUserManager.getUserHandles(anyBoolean())).thenReturn(List.of(sUserHandle1)); in setUp() 184 when(mMockUserManager.getUserHandles(anyBoolean())) in testOnUserAdded()
|
/packages/services/Car/tests/RailwayReferenceApp/src/com/google/android/car/networking/railway/ |
D | UidToPackageNameConverter.java | 36 final List<UserHandle> users = userManager.getUserHandles(true); in convertToUids()
|
/packages/services/Car/service/src/com/android/car/user/ |
D | UserHandleHelper.java | 47 List<UserHandle> users = UserManagerHelper.getUserHandles(mUserManager, in getExistingUserHandle()
|
D | ExperimentalCarUserService.java | 444 List<UserHandle> users = UserManagerHelper.getUserHandles(mUserManager, in getUsersHandle() 465 List<UserHandle> users = UserManagerHelper.getUserHandles(mUserManager, in getNumberOfManagedProfiles()
|
D | InitialUserSetter.java | 825 return UserManagerHelper.getUserHandles(mUm, /* excludeDying= */ false); in getAllUsers() 835 List<UserHandle> users = UserManagerHelper.getUserHandles(mUm, /* excludeDying= */ false); in getAllUsersExceptSystemUserAndSpecifiedUser()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/ |
D | HealthPermissionIntentAppsTrackerTest.java | 56 when(mUserManager.getUserHandles(anyBoolean())).thenReturn(List.of(CURRENT_USER)); in setUp()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | SatelliteAccessControllerTest.kt | 104 doReturn(emptyList<UserHandle>()).`when`(userManager).getUserHandles(true) in setup() 304 ).`when`(userManager).getUserHandles(true) in testOnStartUpCallbackSatelliteFallbackUidWithExistingUsers()
|
D | PermissionMonitorTest.java | 183 doReturn(List.of(MOCK_USER1)).when(mUserManager).getUserHandles(eq(true)); in setUp() 879 doReturn(List.of(MOCK_USER1, MOCK_USER2)).when(mUserManager).getUserHandles(eq(true)); in doTestUidFilteringDuringPackageInstallAndUninstall() 1080 doReturn(List.of(MOCK_USER1, MOCK_USER2)).when(mUserManager).getUserHandles(eq(true)); in testLockdownUidFilteringWithInstallAndUnInstall()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | UserHandleHelperUnitTest.java | 146 () -> UserManagerHelper.getUserHandles(mUserManager, excludeDying)); in mockGetUserHandles()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/ |
D | HealthPermissionIntentAppsTracker.java | 134 .getUserHandles(/* excludeDying= */ true); in initPerUserMapping()
|
/packages/modules/Permission/service/java/com/android/safetycenter/notifications/ |
D | SafetyCenterNotificationChannels.java | 118 List<UserHandle> users = UserUtils.getUserHandles(context); in createAllChannelsForAllUsers()
|
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/ |
D | PreferredServicesTest.java | 166 when(mUserManager.getEnabledProfiles()).thenReturn(getUserHandles()); in setUp() 553 when(mUserManager.getEnabledProfiles()).thenReturn(getUserHandles()); in testOnUserSwitchedWithNoChange() 643 private ArrayList<UserHandle> getUserHandles() { in getUserHandles() method in PreferredServicesTest
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | SatelliteAccessController.java | 242 List<UserHandle> existingUsers = userManager.getUserHandles(true /*excludeDying*/); in updateAllUserRoleSmsUids()
|
/packages/services/Car/service/src/com/android/car/telemetry/ |
D | UidPackageMapper.java | 208 List<UserHandle> users = um.getUserHandles(/* excludeDying= */ true); in refetchAllAppInfo()
|
/packages/modules/Permission/service/java/com/android/safetycenter/ |
D | UserProfileGroup.java | 94 List<UserHandle> userHandles = UserUtils.getUserHandles(context); in getAllUserProfileGroups()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/base/ |
D | CSTestHelpers.kt | 96 doReturn(listOf(handle)).`when`(it).getUserHandles(ArgumentMatchers.anyBoolean()) in <lambda>()
|
/packages/services/Car/tests/UserSwitchMonitorApp/src/com/google/android/car/userswitchmonitor/ |
D | UserSwitchMonitorService.java | 90 List<UserHandle> users = um.getUserHandles(/* excludeDying= */ false); in onCarReady()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/ |
D | AndroidMockitoHelperTest.java | 317 assertThat(mMockedUserManager.getUserHandles(true)).containsExactly(user1, user2).inOrder(); in testMockUmGetUserHandles()
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/ |
D | AndroidMockitoHelper.java | 307 when(um.getUserHandles(excludeDying)).thenReturn(users); in mockUmGetUserHandles()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | UserHalHelper.java | 595 List<UserHandle> users = UserManagerHelper.getUserHandles(um, /* excludeDying= */ false); in newUsersInfo()
|
/packages/modules/Media/apex/service/java/com/android/server/media/ |
D | MediaCommunicationService.java | 198 List<UserHandle> allUsers = manager.getUserHandles(/*excludeDying=*/false); in updateUser()
|
/packages/modules/StatsD/service/java/com/android/server/stats/ |
D | StatsCompanionService.java | 211 final List<UserHandle> users = um.getUserHandles(true); in informAllUids()
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | CarWatchdogService.java | 618 List<UserHandle> users = userManager.getUserHandles(/* excludeDying= */ false); in notifyAllUserStates()
|