Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java89 Context.DEVICE_POLICY_SERVICE); in checkIfRestrictionEnforced()
163 (DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SERVICE); in checkIfKeyguardFeaturesDisabled()
260 Context.DEVICE_POLICY_SERVICE); in checkIfInputMethodDisallowed()
295 Context.DEVICE_POLICY_SERVICE); in checkIfRemoteContactSearchDisallowed()
314 Context.DEVICE_POLICY_SERVICE); in checkIfAccessibilityServiceDisallowed()
370 Context.DEVICE_POLICY_SERVICE); in checkIfAccountManagementDisabled()
405 Context.DEVICE_POLICY_SERVICE); in checkIfMeteredDataRestricted()
419 Context.DEVICE_POLICY_SERVICE); in checkIfAutoTimeRequired()
442 Context.DEVICE_POLICY_SERVICE); in checkIfPasswordQualityIsSet()
498 Context.DEVICE_POLICY_SERVICE); in checkForLockSetting()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DMockLockSettingsContext.java57 } else if (DEVICE_POLICY_SERVICE.equals(name)) { in getSystemService()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DWorkLockActivityTest.java72 when(mContext.getSystemService(eq(Context.DEVICE_POLICY_SERVICE))) in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWorkLockActivity.java197 getSystemService(Context.DEVICE_POLICY_SERVICE); in getPrimaryColor()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java79 when(mContext.getSystemService(Context.DEVICE_POLICY_SERVICE)) in setUp()
127 when(mContext.getSystemService(Context.DEVICE_POLICY_SERVICE)).thenReturn(null); in checkIfDevicePolicyServiceDisabled_noEnforceAdminForManagedProfile()
/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/
DRestrictedLockUtils.java47 Context.DEVICE_POLICY_SERVICE); in getProfileOrDeviceOwner()
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/
DDpm.java103 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/services/core/java/com/android/server/locksettings/
DLockSettingsStrongAuth.java122 (DevicePolicyManager) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in handleScheduleStrongAuthTimeout()
DLockSettingsService.java422 return (DevicePolicyManager) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in getDevicePolicyManager()
2052 mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in notifyActivePasswordMetricsAvailable()
2065 mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in notifyPasswordChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSecurityControllerTest.java79 mContext.addMockSystemService(Context.DEVICE_POLICY_SERVICE, mDevicePolicyManager); in setUp()
/frameworks/base/services/core/java/com/android/server/wm/
DLockTaskController.java23 import static android.content.Context.DEVICE_POLICY_SERVICE;
875 ServiceManager.checkService(DEVICE_POLICY_SERVICE)); in getDevicePolicyManager()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallFinish.java98 ServiceManager.getService(Context.DEVICE_POLICY_SERVICE)); in onReceive()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgress.java154 ServiceManager.getService(Context.DEVICE_POLICY_SERVICE)); in handleMessage()
/frameworks/base/core/java/android/app/admin/
DDeviceAdminReceiver.java524 Context.DEVICE_POLICY_SERVICE); in getManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java115 context.getSystemService(Context.DEVICE_POLICY_SERVICE); in SecurityControllerImpl()
/frameworks/base/telephony/common/com/android/internal/telephony/
DTelephonyPermissions.java347 Context.DEVICE_POLICY_SERVICE); in checkPrivilegedReadPermissionOrCarrierPrivilegePermission()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java122 mContext.addMockSystemService(Context.DEVICE_POLICY_SERVICE, mDevicePolicyManager); in setUp()
/frameworks/base/core/java/android/content/
DContext.java3336 DEVICE_POLICY_SERVICE,
4361 public static final String DEVICE_POLICY_SERVICE = "device_policy"; field in Context
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerImpl.java182 Context.DEVICE_POLICY_SERVICE); in NotificationLockscreenUserManagerImpl()
DKeyguardIndicationController.java188 Context.DEVICE_POLICY_SERVICE); in KeyguardIndicationController()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustAgentWrapper.java527 (DevicePolicyManager) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in updateDevicePolicyFeatures()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java157 when(mMockContext.getSystemService(Context.DEVICE_POLICY_SERVICE)).thenReturn( in setUp()
514 when(mMockContext.getSystemService(Context.DEVICE_POLICY_SERVICE)).thenReturn( in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM()
1027 when(mMockContext.getSystemService(Context.DEVICE_POLICY_SERVICE)).thenReturn( in testFinishSessionAsUserUserCannotModifyAccountForTypeWithDPM()
1402 when(mMockContext.getSystemService(Context.DEVICE_POLICY_SERVICE)).thenReturn( in testRemoveAccountAsUserUserCannotModifyAccountType()
1902 when(mMockContext.getSystemService(Context.DEVICE_POLICY_SERVICE)).thenReturn( in testAddAccountAsUserUserCannotModifyAccountForTypeWithDPM()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyPermissionsTest.java105 when(mMockContext.getSystemService(Context.DEVICE_POLICY_SERVICE)).thenReturn( in setUp()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java22 import static android.content.Context.DEVICE_POLICY_SERVICE;
1414 (DevicePolicyManager) mContext.getSystemService(DEVICE_POLICY_SERVICE); in isPermittedForProfile()

12