Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerTest.java186 public DevicePolicyManager parentDpm; field in DevicePolicyManagerTest
2294 parentDpm.setCameraDisabled(admin1, true); in testSetUserRestriction_asPoOfOrgOwnedDevice()
2308 parentDpm.setCameraDisabled(admin1, false); in testSetUserRestriction_asPoOfOrgOwnedDevice()
2511 parentDpm.setPermittedInputMethods(admin1, null); in testSetPermittedInputMethodsWithPOOfOrganizationOwnedDevice()
2604 parentDpm.setKeyguardDisabledFeatures(admin1, in testSetKeyguardDisabledFeaturesWithPOOfOrganizationOwnedDevice()
4270 parentDpm.clearUserRestriction(admin1, in testMarkOrganizationOwnedDevice_baseRestrictionsAdded()
5425 assertThat(parentDpm.getPasswordQuality(admin1)) in testCanSetPasswordRequirementOnParentPreS()
5443 parentDpm.setPasswordQuality( in testCannotSetPasswordRequirementOnParent()
5672 assertThat(parentDpm.getPasswordQuality(null)) in testPasswordQualityAppliesToParentPreS()
5685 assertThat(parentDpm.getPasswordQuality(admin1)) in testPasswordQualityDoesNotApplyToParentPostS()
[all …]
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DRestrictedLockUtilsInternal.java294 DevicePolicyManager parentDpm = sProxy.getParentProfileInstance(dpm, in checkIfInputMethodDisallowed() local
296 permittedByParentAdmin = parentDpm.isInputMethodPermittedByAdmin( in checkIfInputMethodDisallowed()
584 DevicePolicyManager parentDpm = sProxy.getParentProfileInstance(dpm, userInfo); in checkForLockSetting() local
585 if (check.isEnforcing(parentDpm, admin, userInfo.id)) { in checkForLockSetting()