Home
last modified time | relevance | path

Searched refs:targetUsers (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java3663 List<UserHandle> targetUsers = dpm.getBindDeviceAdminTargetUsers(admin1); in testGetBindDeviceAdminTargetUsers() local
3664 MoreAsserts.assertEmpty(targetUsers); in testGetBindDeviceAdminTargetUsers()
3677 targetUsers = dpm.getBindDeviceAdminTargetUsers(admin1); in testGetBindDeviceAdminTargetUsers()
3678 MoreAsserts.assertEmpty(targetUsers); in testGetBindDeviceAdminTargetUsers()
3681 targetUsers = dpm.getBindDeviceAdminTargetUsers(admin1); in testGetBindDeviceAdminTargetUsers()
3682 MoreAsserts.assertEmpty(targetUsers); in testGetBindDeviceAdminTargetUsers()
3695 targetUsers = dpm.getBindDeviceAdminTargetUsers(admin1); in testGetBindDeviceAdminTargetUsers()
3696 MoreAsserts.assertContentsInAnyOrder(targetUsers, UserHandle.of(MANAGED_PROFILE_USER_ID)); in testGetBindDeviceAdminTargetUsers()
3701 targetUsers = dpm.getBindDeviceAdminTargetUsers(admin1); in testGetBindDeviceAdminTargetUsers()
3702 MoreAsserts.assertContentsInAnyOrder(targetUsers, UserHandle.SYSTEM); in testGetBindDeviceAdminTargetUsers()
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java13091 ArrayList<UserHandle> targetUsers = new ArrayList<>(); in getBindDeviceAdminTargetUsers() local
13095 targetUsers.add(UserHandle.of(mOwners.getDeviceOwnerUserId())); in getBindDeviceAdminTargetUsers()
13103 targetUsers.add(UserHandle.of(userId)); in getBindDeviceAdminTargetUsers()
13108 return targetUsers; in getBindDeviceAdminTargetUsers()