/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | DevicePolicyLoggingTest.java | 91 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()
|
D | AudioRestrictionTest.java | 85 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()
|
D | AllowedAccountManagementTest.java | 54 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in setUp() 61 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in tearDown()
|
D | DevicePolicyLoggingParentTest.java | 42 mParentDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in testUserRestrictionLogged()
|
D | UserRestrictionsParentTest.java | 145 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()
|
D | OrgOwnedProfileOwnerParentTest.java | 128 mParentDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, restriction); in testAddGetAndClearUserRestriction_onParent() 149 () -> mParentDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in testUnableToClearBaseUserRestriction()
|
D | ContentCaptureRestrictionsTest.java | 51 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in tearDown()
|
D | ContentSuggestionsRestrictionsTest.java | 49 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, in tearDown()
|
D | AutofillRestrictionsTest.java | 52 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, DISALLOW_AUTOFILL); in tearDown()
|
D | PolicyTransparencyTest.java | 82 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, restriction); in runTestForRestriction()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | BluetoothRestrictionTest.java | 52 mDevicePolicyManager.clearUserRestriction(getWho(), UserManager.DISALLOW_BLUETOOTH); in tearDown() 98 mDevicePolicyManager.clearUserRestriction(getWho(), UserManager.DISALLOW_BLUETOOTH); in testEnableBluetoothSucceedsAfterRestrictionRemoved() 134 mDevicePolicyManager.clearUserRestriction(getWho(), restriction); in testOppDisabledWhenRestrictionSet()
|
D | AirplaneModeRestrictionTest.java | 43 mDevicePolicyManager.clearUserRestriction(getWho(), UserManager.DISALLOW_AIRPLANE_MODE); in setUp() 49 mDevicePolicyManager.clearUserRestriction(getWho(), UserManager.DISALLOW_AIRPLANE_MODE); in tearDown()
|
D | SensorToggleRestrictionTest.java | 46 mDevicePolicyManager.clearUserRestriction(getWho(), UserManager.DISALLOW_CAMERA_TOGGLE); in tearDown() 47 mDevicePolicyManager.clearUserRestriction(getWho(), UserManager.DISALLOW_MICROPHONE_TOGGLE); in tearDown()
|
D | SetPolicyActivity.java | 67 dpm.clearUserRestriction(admin, restrictionKey); in handleIntent()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | NetworkResetTest.java | 137 .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/ |
D | RemoteDevicePolicyManager.java | 100 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/ |
D | NfcTestActivity.java | 71 mDevicePolicyManager.clearUserRestriction(mAdminReceiverComponent, in onCreate() 111 mDevicePolicyManager.clearUserRestriction(mAdminReceiverComponent, in finish()
|
D | CommandReceiverActivity.java | 219 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/ |
D | BaseUserRestrictionsTest.java | 170 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()
|
D | ProfileGlobalRestrictionsTest.java | 33 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, ENSURE_VERIFY_APPS); in testClearProfileGlobalRestrictions()
|
D | DeviceOwnerUserRestrictionsTest.java | 103 mDevicePolicyManager.clearUserRestriction(ADMIN_RECEIVER_COMPONENT, r); in testHasBaseUserRestrictions()
|
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/provisioning/ |
D | UserRestrictionTest.java | 41 dpm.clearUserRestriction(admin, restriction); in setUserRestriction()
|
/cts/hostsidetests/packagemanager/domainverification/device/multiuser/src/com/android/cts/packagemanager/verify/domain/device/multiuser/ |
D | DomainVerificationWorkUtils.kt | 33 clearUserRestriction(UserManager.ALLOW_PARENT_PROFILE_APP_LINKING) in getAppLinkPolicy()
|
/cts/tests/suspendapps/test-apps/TestDeviceAdmin/src/com/android/suspendapps/testdeviceadmin/ |
D | TestCommsReceiver.java | 98 dpm.clearUserRestriction(deviceAdmin, userRestriction); in onReceive()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | SetPolicyActivity.java | 68 dpm.clearUserRestriction( in handleIntent()
|