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.java3636 List<UserHandle> targetUsers = dpm.getBindDeviceAdminTargetUsers(admin1); in testGetBindDeviceAdminTargetUsers() local
3637 MoreAsserts.assertEmpty(targetUsers); in testGetBindDeviceAdminTargetUsers()
3650 targetUsers = dpm.getBindDeviceAdminTargetUsers(admin1); in testGetBindDeviceAdminTargetUsers()
3651 MoreAsserts.assertEmpty(targetUsers); in testGetBindDeviceAdminTargetUsers()
3654 targetUsers = dpm.getBindDeviceAdminTargetUsers(admin1); in testGetBindDeviceAdminTargetUsers()
3655 MoreAsserts.assertEmpty(targetUsers); in testGetBindDeviceAdminTargetUsers()
3668 targetUsers = dpm.getBindDeviceAdminTargetUsers(admin1); in testGetBindDeviceAdminTargetUsers()
3669 MoreAsserts.assertContentsInAnyOrder(targetUsers, UserHandle.of(MANAGED_PROFILE_USER_ID)); in testGetBindDeviceAdminTargetUsers()
3674 targetUsers = dpm.getBindDeviceAdminTargetUsers(admin1); in testGetBindDeviceAdminTargetUsers()
3675 MoreAsserts.assertContentsInAnyOrder(targetUsers, UserHandle.SYSTEM); in testGetBindDeviceAdminTargetUsers()
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java12130 ArrayList<UserHandle> targetUsers = new ArrayList<>(); in getBindDeviceAdminTargetUsers() local
12134 targetUsers.add(UserHandle.of(mOwners.getDeviceOwnerUserId())); in getBindDeviceAdminTargetUsers()
12142 targetUsers.add(UserHandle.of(userId)); in getBindDeviceAdminTargetUsers()
12147 return targetUsers; in getBindDeviceAdminTargetUsers()