Searched refs:setAffiliationIds (Results 1 – 6 of 6) sorted by relevance
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | AffiliationTest.java | 57 mDevicePolicyManager.setAffiliationIds(mAdminComponent, null); in testSetAffiliationId_null() 67 mDevicePolicyManager.setAffiliationIds(mAdminComponent, Collections.singleton(null)); in testSetAffiliationId_containsEmptyString() 76 setAffiliationIds(Collections.singleton("id.number.1")); in testSetAffiliationId1() 81 setAffiliationIds(Collections.singleton("id.number.2")); in testSetAffiliationId2() 102 setAffiliationIds(Collections.emptySet()); in testSetLockTaskPackagesClearedIfUserBecomesUnaffiliated() 107 setAffiliationIds(previousAffiliationIds); in testSetLockTaskPackagesClearedIfUserBecomesUnaffiliated() 111 mDevicePolicyManager.setAffiliationIds(mAdminComponent, previousAffiliationIds); in testSetLockTaskPackagesClearedIfUserBecomesUnaffiliated() 115 private void setAffiliationIds(Set<String> ids) { in setAffiliationIds() method in AffiliationTest 116 mDevicePolicyManager.setAffiliationIds(mAdminComponent, ids); in setAffiliationIds()
|
D | CreateAndManageUserTest.java | 384 mDevicePolicyManager.setAffiliationIds(getWho(), Collections.singleton(AFFILIATION_ID)); in runCrossUserVerification() 501 dpm.setAffiliationIds( in onEnabled()
|
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/provisioning/ |
D | AffiliationTest.java | 45 dpm.setAffiliationIds(admin, ids); in setAffiliationId()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | DeviceAdminTestReceiver.java | 115 dpm.setAffiliationIds(admin, in onEnabled() 131 dpm.setAffiliationIds(admin, in onEnabled()
|
D | CommandReceiverActivity.java | 500 mDpm.setAffiliationIds(mAdmin, in onCreate() 597 mDpm.setAffiliationIds(mAdmin, Collections.emptySet()); in clearAllPoliciesAndRestrictions() 665 mDpm.setAffiliationIds(mAdmin, in createAndSwitchUserWithMessage()
|
/cts/hostsidetests/devicepolicy/app/TransferOwnerOutgoingApp/src/com/android/cts/transferowner/ |
D | DeviceAndProfileOwnerTransferOutgoingTest.java | 197 dpm.setAffiliationIds(admin, ids); in setAffiliationId()
|