Home
last modified time | relevance | path

Searched refs:DEVICE_POLICY_SERVICE (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtils.java79 Context.DEVICE_POLICY_SERVICE); in checkIfRestrictionEnforced()
153 (DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SERVICE); in checkIfKeyguardFeaturesDisabled()
237 Context.DEVICE_POLICY_SERVICE); in checkIfInputMethodDisallowed()
271 Context.DEVICE_POLICY_SERVICE); in checkIfRemoteContactSearchDisallowed()
290 Context.DEVICE_POLICY_SERVICE); in checkIfAccessibilityServiceDisallowed()
345 Context.DEVICE_POLICY_SERVICE); in checkIfAccountManagementDisabled()
372 Context.DEVICE_POLICY_SERVICE); in checkIfAutoTimeRequired()
396 Context.DEVICE_POLICY_SERVICE); in checkIfPasswordQualityIsSet()
434 Context.DEVICE_POLICY_SERVICE); in checkIfMaximumTimeToLockIsSet()
495 Context.DEVICE_POLICY_SERVICE); in checkForLockSetting()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DMockLockSettingsContext.java53 } else if (DEVICE_POLICY_SERVICE.equals(name)) { in getSystemService()
/frameworks/base/services/core/java/com/android/server/wm/
DKeyguardDisableHandler.java100 Context.DEVICE_POLICY_SERVICE); in updateAllowState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DWorkLockActivityTest.java71 when(mContext.getSystemService(eq(Context.DEVICE_POLICY_SERVICE))) in setUp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiCertManager.java147 ServiceManager.getService(Context.DEVICE_POLICY_SERVICE)); in isAffiliatedUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWorkLockActivity.java199 getSystemService(Context.DEVICE_POLICY_SERVICE); in getPrimaryColor()
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/
DDpm.java84 ServiceManager.getService(Context.DEVICE_POLICY_SERVICE)); in onRun()
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
DRestrictionsManagerService.java67 mDpm = (IDevicePolicyManager) getBinderService(Context.DEVICE_POLICY_SERVICE); in RestrictionsManagerImpl()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java69 mContext.addMockSystemService(Context.DEVICE_POLICY_SERVICE, mDevicePolicyManager); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSecurityControllerTest.java73 mContext.addMockSystemService(Context.DEVICE_POLICY_SERVICE, mDevicePolicyManager); in setUp()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStrongAuth.java144 (DevicePolicyManager) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in handleScheduleStrongAuthTimeout()
DLockSettingsService.java363 return (DevicePolicyManager) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in getDevicePolicyManager()
1758 mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in notifyActivePasswordMetricsAvailable()
1771 mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in notifyPasswordChanged()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java68 when(mContext.getSystemService(Context.DEVICE_POLICY_SERVICE)) in setUp()
/frameworks/base/core/java/android/app/admin/
DDeviceAdminReceiver.java453 Context.DEVICE_POLICY_SERVICE); in getManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java100 context.getSystemService(Context.DEVICE_POLICY_SERVICE); in SecurityControllerImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java133 Context.DEVICE_POLICY_SERVICE); in KeyguardIndicationController()
/frameworks/base/core/java/android/content/
DContext.java2959 DEVICE_POLICY_SERVICE,
3694 public static final String DEVICE_POLICY_SERVICE = "device_policy"; field in Context
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java22 import static android.content.Context.DEVICE_POLICY_SERVICE;
1082 (DevicePolicyManager) mContext.getSystemService(DEVICE_POLICY_SERVICE); in isPermittedForProfile()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustAgentWrapper.java496 (DevicePolicyManager) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in updateDevicePolicyFeatures()
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java289 registerService(Context.DEVICE_POLICY_SERVICE, DevicePolicyManager.class, in registerService() argument
293 IBinder b = ServiceManager.getServiceOrThrow(Context.DEVICE_POLICY_SERVICE); in registerService()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java158 when(mMockContext.getSystemService(Context.DEVICE_POLICY_SERVICE)).thenReturn( in setUp()
511 when(mMockContext.getSystemService(Context.DEVICE_POLICY_SERVICE)).thenReturn( in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM()
1020 when(mMockContext.getSystemService(Context.DEVICE_POLICY_SERVICE)).thenReturn( in testFinishSessionAsUserUserCannotModifyAccountForTypeWithDPM()
1391 when(mMockContext.getSystemService(Context.DEVICE_POLICY_SERVICE)).thenReturn( in testRemoveAccountAsUserUserCannotModifyAccountType()
1889 when(mMockContext.getSystemService(Context.DEVICE_POLICY_SERVICE)).thenReturn( in testAddAccountAsUserUserCannotModifyAccountForTypeWithDPM()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java888 Context.DEVICE_POLICY_SERVICE); in notifyScreenshotError()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java742 Context.DEVICE_POLICY_SERVICE); in uninstall()
DPackageInstallerSession.java310 Context.DEVICE_POLICY_SERVICE); in isInstallerDeviceOwnerLocked()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java222 (DevicePolicyManager)mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in getDevicePolicyManager()

12