/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtilsInternal.java | 89 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() 425 Context.DEVICE_POLICY_SERVICE); in checkIfPasswordQualityIsSet() 481 Context.DEVICE_POLICY_SERVICE); in checkForLockSetting() 535 Context.DEVICE_POLICY_SERVICE); in getDeviceOwner() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockLockSettingsContext.java | 66 } else if (DEVICE_POLICY_SERVICE.equals(name)) { in getSystemService()
|
D | LockSettingsStrongAuthTest.java | 82 when(mContext.getSystemService(Context.DEVICE_POLICY_SERVICE)).thenReturn(mDPM); in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | WorkLockActivityTest.java | 76 when(mContext.getSystemService(eq(Context.DEVICE_POLICY_SERVICE))) in setUp()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | RestrictedLockUtilsTest.java | 79 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/SystemUI/src/com/android/systemui/keyguard/ |
D | WorkLockActivity.java | 218 getSystemService(Context.DEVICE_POLICY_SERVICE); in getPrimaryColor()
|
/frameworks/base/core/java/android/app/ |
D | KeyguardManager.java | 698 (DevicePolicyManager) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in isValidLockPasswordComplexity() 726 (DevicePolicyManager) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in getMinLockLength()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/permission/ |
D | PermissionManagerServiceTest.java | 194 when(mInjector.getSystemService(eq(Context.DEVICE_POLICY_SERVICE))).thenReturn( in setupCheckDeviceIdentifierAccessTest()
|
/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/ |
D | RestrictedLockUtils.java | 47 Context.DEVICE_POLICY_SERVICE); in getProfileOrDeviceOwner()
|
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/ |
D | Dpm.java | 103 ServiceManager.getService(Context.DEVICE_POLICY_SERVICE)); in onRun()
|
/frameworks/base/services/restrictions/java/com/android/server/restrictions/ |
D | RestrictionsManagerService.java | 67 mDpm = (IDevicePolicyManager) getBinderService(Context.DEVICE_POLICY_SERVICE); in RestrictionsManagerImpl()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerTest.java | 77 mContext.addMockSystemService(Context.DEVICE_POLICY_SERVICE, mDevicePolicyManager); in setUp()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | UninstallFinish.java | 98 ServiceManager.getService(Context.DEVICE_POLICY_SERVICE)); in onReceive()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | LockTaskController.java | 23 import static android.content.Context.DEVICE_POLICY_SERVICE; 913 ServiceManager.checkService(DEVICE_POLICY_SERVICE)); in getDevicePolicyManager()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotNotificationsController.java | 250 (DevicePolicyManager) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in notifyScreenshotError()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/ |
D | UninstallAppProgress.java | 154 ServiceManager.getService(Context.DEVICE_POLICY_SERVICE)); in handleMessage()
|
/frameworks/base/core/java/android/app/admin/ |
D | DeviceAdminReceiver.java | 524 Context.DEVICE_POLICY_SERVICE); in getManager()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerImpl.java | 112 context.getSystemService(Context.DEVICE_POLICY_SERVICE); in SecurityControllerImpl()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsStrongAuth.java | 250 (DevicePolicyManager) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in rescheduleStrongAuthTimeoutAlarm()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | WifiPermissionsUtilTest.java | 901 when(mMockContext.getSystemService(Context.DEVICE_POLICY_SERVICE)) in testIsDeviceOwnerApp() 933 when(mMockContext.getSystemService(Context.DEVICE_POLICY_SERVICE)) in testIsProfileOwnerApp()
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustAgentWrapper.java | 527 (DevicePolicyManager) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in updateDevicePolicyFeatures()
|
/frameworks/base/core/java/android/content/ |
D | Context.java | 3446 DEVICE_POLICY_SERVICE, 4540 public static final String DEVICE_POLICY_SERVICE = "device_policy"; field in Context
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountManagerServiceTest.java | 157 when(mMockContext.getSystemService(Context.DEVICE_POLICY_SERVICE)).thenReturn( in setUp() 516 when(mMockContext.getSystemService(Context.DEVICE_POLICY_SERVICE)).thenReturn( in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM() 1029 when(mMockContext.getSystemService(Context.DEVICE_POLICY_SERVICE)).thenReturn( in testFinishSessionAsUserUserCannotModifyAccountForTypeWithDPM() 1404 when(mMockContext.getSystemService(Context.DEVICE_POLICY_SERVICE)).thenReturn( in testRemoveAccountAsUserUserCannotModifyAccountType() 1904 when(mMockContext.getSystemService(Context.DEVICE_POLICY_SERVICE)).thenReturn( in testAddAccountAsUserUserCannotModifyAccountForTypeWithDPM()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationControllerTest.java | 135 mContext.addMockSystemService(Context.DEVICE_POLICY_SERVICE, mDevicePolicyManager); in setUp()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ManagedServices.java | 22 import static android.content.Context.DEVICE_POLICY_SERVICE; 1603 (DevicePolicyManager) mContext.getSystemService(DEVICE_POLICY_SERVICE); in isPermittedForProfile()
|