Home
last modified time | relevance | path

Searched refs:setAffiliationIds (Results 1 – 6 of 6) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DAffiliationTest.java57 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()
DCreateAndManageUserTest.java384 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/
DAffiliationTest.java45 dpm.setAffiliationIds(admin, ids); in setAffiliationId()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DDeviceAdminTestReceiver.java115 dpm.setAffiliationIds(admin, in onEnabled()
131 dpm.setAffiliationIds(admin, in onEnabled()
DCommandReceiverActivity.java500 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/
DDeviceAndProfileOwnerTransferOutgoingTest.java197 dpm.setAffiliationIds(admin, ids); in setAffiliationId()