Home
last modified time | relevance | path

Searched refs:clearUserRestriction (Results 1 – 25 of 38) sorted by relevance

12

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDevicePolicyLoggingTest.java91 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in testSetUserRestrictionLogged()
96 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in testSetUserRestrictionLogged()
101 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in testSetUserRestrictionLogged()
106 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in testSetUserRestrictionLogged()
111 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in testSetUserRestrictionLogged()
DAudioRestrictionTest.java85 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in testDisallowAdjustVolume_muted()
119 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in testDisallowAdjustVolume()
133 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in testDisallowAdjustVolume()
169 mDevicePolicyManager.clearUserRestriction( in testDisallowUnmuteMicrophone()
DAllowedAccountManagementTest.java54 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in setUp()
61 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in tearDown()
DDevicePolicyLoggingParentTest.java42 mParentDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in testUserRestrictionLogged()
DUserRestrictionsParentTest.java145 parentDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in testClearUserRestrictionDisallowAddUser()
242 parentDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in testPerProfileUserRestriction_onParent()
275 parentDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in testPerDeviceUserRestriction_onParent()
DOrgOwnedProfileOwnerParentTest.java128 mParentDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, restriction); in testAddGetAndClearUserRestriction_onParent()
149 () -> mParentDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in testUnableToClearBaseUserRestriction()
DContentCaptureRestrictionsTest.java51 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in tearDown()
DContentSuggestionsRestrictionsTest.java49 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in tearDown()
DAutofillRestrictionsTest.java52 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, DISALLOW_AUTOFILL); in tearDown()
DPolicyTransparencyTest.java82 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, restriction); in runTestForRestriction()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DBluetoothRestrictionTest.java52 mDevicePolicyManager.clearUserRestriction(getWho(), UserManager.DISALLOW_BLUETOOTH); in tearDown()
98 mDevicePolicyManager.clearUserRestriction(getWho(), UserManager.DISALLOW_BLUETOOTH); in testEnableBluetoothSucceedsAfterRestrictionRemoved()
134 mDevicePolicyManager.clearUserRestriction(getWho(), restriction); in testOppDisabledWhenRestrictionSet()
DAirplaneModeRestrictionTest.java43 mDevicePolicyManager.clearUserRestriction(getWho(), UserManager.DISALLOW_AIRPLANE_MODE); in setUp()
49 mDevicePolicyManager.clearUserRestriction(getWho(), UserManager.DISALLOW_AIRPLANE_MODE); in tearDown()
DSensorToggleRestrictionTest.java46 mDevicePolicyManager.clearUserRestriction(getWho(), UserManager.DISALLOW_CAMERA_TOGGLE); in tearDown()
47 mDevicePolicyManager.clearUserRestriction(getWho(), UserManager.DISALLOW_MICROPHONE_TOGGLE); in tearDown()
DSetPolicyActivity.java67 dpm.clearUserRestriction(admin, restrictionKey); in handleIntent()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DNetworkResetTest.java137 .clearUserRestriction(DISALLOW_CONFIG_PRIVATE_DNS); in factoryReset_noPolicyRestrictions_resetsToDefault()
139 .clearUserRestriction(DISALLOW_NETWORK_RESET); in factoryReset_noPolicyRestrictions_resetsToDefault()
176 sDeviceState.dpc().devicePolicyManager().clearUserRestriction(policy); in restoreUserRestriction()
/cts/common/device-side/bedstead/remotedpc/src/communication/main/java/com/android/bedstead/remotedpc/managers/
DRemoteDevicePolicyManager.java100 void clearUserRestriction(@NonNull ComponentName admin, String key); in clearUserRestriction() method
102 @RemoteDpcAutomaticAdmin void clearUserRestriction(String key); in clearUserRestriction() method
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DNfcTestActivity.java71 mDevicePolicyManager.clearUserRestriction(mAdminReceiverComponent, in onCreate()
111 mDevicePolicyManager.clearUserRestriction(mAdminReceiverComponent, in finish()
DCommandReceiverActivity.java219 mDpm.clearUserRestriction(mAdmin, restrictionKey); in onCreate()
602 mDpm.clearUserRestriction(mAdmin, UserManager.DISALLOW_CONFIG_BLUETOOTH); in clearAllPoliciesAndRestrictions()
603 mDpm.clearUserRestriction(mAdmin, UserManager.DISALLOW_CONFIG_VPN); in clearAllPoliciesAndRestrictions()
604 mDpm.clearUserRestriction(mAdmin, UserManager.DISALLOW_DATA_ROAMING); in clearAllPoliciesAndRestrictions()
605 mDpm.clearUserRestriction(mAdmin, UserManager.DISALLOW_USER_SWITCH); in clearAllPoliciesAndRestrictions()
660 mDpm.clearUserRestriction(mAdmin, userRestriction); in clearPolicyTransparencyUserRestriction()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/
DBaseUserRestrictionsTest.java170 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, restriction); in assertClearUserRestriction()
204 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, restriction); in assertCannotSetUserRestriction()
297 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, restriction); in testBroadcast()
DProfileGlobalRestrictionsTest.java33 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, ENSURE_VERIFY_APPS); in testClearProfileGlobalRestrictions()
DDeviceOwnerUserRestrictionsTest.java103 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, r); in testHasBaseUserRestrictions()
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/provisioning/
DUserRestrictionTest.java41 dpm.clearUserRestriction(admin, restriction); in setUserRestriction()
/cts/hostsidetests/packagemanager/domainverification/device/multiuser/src/com/android/cts/packagemanager/verify/domain/device/multiuser/
DDomainVerificationWorkUtils.kt33 clearUserRestriction(UserManager.ALLOW_PARENT_PROFILE_APP_LINKING) in getAppLinkPolicy()
/cts/tests/suspendapps/test-apps/TestDeviceAdmin/src/com/android/suspendapps/testdeviceadmin/
DTestCommsReceiver.java98 dpm.clearUserRestriction(deviceAdmin, userRestriction); in onReceive()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DSetPolicyActivity.java68 dpm.clearUserRestriction( in handleIntent()

12