Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java2366 final Set<String> userAffiliationIds = new ArraySet<>(); in testUserAffiliation() local
2367 userAffiliationIds.add("red"); in testUserAffiliation()
2368 userAffiliationIds.add("green"); in testUserAffiliation()
2369 userAffiliationIds.add("blue"); in testUserAffiliation()
2370 dpm.setAffiliationIds(admin2, userAffiliationIds); in testUserAffiliation()
2389 userAffiliationIds.add("yellow"); in testUserAffiliation()
2390 dpm.setAffiliationIds(admin2, userAffiliationIds); in testUserAffiliation()
2401 dpm.setAffiliationIds(admin2, userAffiliationIds); in testUserAffiliation()
3685 final Set<String> userAffiliationIds = Collections.singleton("some.affiliation-id"); in testGetBindDeviceAdminTargetUsers() local
3687 dpm.setAffiliationIds(admin1, userAffiliationIds); in testGetBindDeviceAdminTargetUsers()
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java12633 final Set<String> userAffiliationIds = getUserData(userId).mAffiliationIds; in isUserAffiliatedWithDeviceLocked() local
12636 for (String id : userAffiliationIds) { in isUserAffiliatedWithDeviceLocked()