Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java214 public DevicePolicyManager parentDpm; field in DevicePolicyManagerTest
338 parentDpm = new DevicePolicyManagerTestable(mServiceContext, dpms, in initializeDpms()
2289 parentDpm.setCameraDisabled(admin1, true); in testSetUserRestriction_asPoOfOrgOwnedDevice()
2303 parentDpm.setCameraDisabled(admin1, false); in testSetUserRestriction_asPoOfOrgOwnedDevice()
2314 parentDpm.addUserRestriction(admin1, restriction); in addAndRemoveGlobalUserRestrictionOnParentDpm()
2320 parentDpm.clearUserRestriction(admin1, restriction); in addAndRemoveGlobalUserRestrictionOnParentDpm()
2330 parentDpm.addUserRestriction(admin1, restriction); in addAndRemoveLocalUserRestrictionOnParentDpm()
2336 parentDpm.clearUserRestriction(admin1, restriction); in addAndRemoveLocalUserRestrictionOnParentDpm()
2506 parentDpm.setPermittedInputMethods(admin1, null); in testSetPermittedInputMethodsWithPOOfOrganizationOwnedDevice()
2508 assertThat(parentDpm.getPermittedInputMethods(admin1)).isNull(); in testSetPermittedInputMethodsWithPOOfOrganizationOwnedDevice()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java298 DevicePolicyManager parentDpm = sProxy.getParentProfileInstance(dpm, in checkIfInputMethodDisallowed() local
300 permittedByParentAdmin = parentDpm.isInputMethodPermittedByAdmin( in checkIfInputMethodDisallowed()
588 DevicePolicyManager parentDpm = sProxy.getParentProfileInstance(dpm, userInfo); in checkForLockSetting() local
589 if (check.isEnforcing(parentDpm, admin, userInfo.id)) { in checkForLockSetting()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilitySecurityPolicy.java480 DevicePolicyManager parentDpm = dpm.getParentProfileInstance( in checkIfInputMethodDisallowed() local
482 permittedByParentAdmin = parentDpm.isInputMethodPermittedByAdmin( in checkIfInputMethodDisallowed()