Home
last modified time | relevance | path

Searched refs:devicePolicyManager (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java523 DevicePolicyManager devicePolicyManager = in retrieveDevicePolicyManagerFromContext() local
525 if (devicePolicyManager == null in retrieveDevicePolicyManagerFromContext()
530 return devicePolicyManager; in retrieveDevicePolicyManagerFromContext()
559 DevicePolicyManager devicePolicyManager = in isDeviceOwner() local
561 if (devicePolicyManager == null) return false; in isDeviceOwner()
566 deviceOwnerUser = devicePolicyManager.getDeviceOwnerUser(); in isDeviceOwner()
567 deviceOwnerComponent = devicePolicyManager.getDeviceOwnerComponentOnAnyUser(); in isDeviceOwner()
587 DevicePolicyManager devicePolicyManager = in isProfileOwner() local
589 if (devicePolicyManager == null) return false; in isProfileOwner()
590 return devicePolicyManager.isProfileOwnerApp(packageName); in isProfileOwner()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DFrameworkFacade.java128 DevicePolicyManager devicePolicyManager = in isNiapModeOn() local
130 if (devicePolicyManager == null in isNiapModeOn()
134 if (devicePolicyManager == null) return false; in isNiapModeOn()
135 return devicePolicyManager.isCommonCriteriaModeEnabled(null); in isNiapModeOn()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DMockLockSettingsContext.java44 NotificationManager notificationManager, DevicePolicyManager devicePolicyManager, in MockLockSettingsContext() argument
51 mDevicePolicyManager = devicePolicyManager; in MockLockSettingsContext()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DPowerWhitelistBackend.java98 final DevicePolicyManager devicePolicyManager = mAppContext.getSystemService( in isDefaultActiveApp() local
100 if (devicePolicyManager.packageHasActiveAdmins(pkg)) { in isDefaultActiveApp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWorkLockActivity.java217 final DevicePolicyManager devicePolicyManager = (DevicePolicyManager) in getPrimaryColor() local
219 return devicePolicyManager.getOrganizationColorForUser(getTargetUserId()); in getPrimaryColor()
/frameworks/base/core/java/android/app/
DKeyguardManager.java697 DevicePolicyManager devicePolicyManager = in isValidLockPasswordComplexity() local
700 devicePolicyManager.getPasswordMinimumMetrics(mContext.getUserId()); in isValidLockPasswordComplexity()
725 DevicePolicyManager devicePolicyManager = in getMinLockLength() local
728 devicePolicyManager.getPasswordMinimumMetrics(mContext.getUserId()); in getMinLockLength()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStartInterceptor.java224 DevicePolicyManagerInternal devicePolicyManager = LocalServices in interceptSuspendedByAdminPackage() local
226 if (devicePolicyManager == null) { in interceptSuspendedByAdminPackage()
229 mIntent = devicePolicyManager.createShowAdminSupportIntent(mUserId, true); in interceptSuspendedByAdminPackage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerImpl.java198 DevicePolicyManager devicePolicyManager, in NotificationLockscreenUserManagerImpl() argument
208 mDevicePolicyManager = devicePolicyManager; in NotificationLockscreenUserManagerImpl()
DKeyguardIndicationController.java150 DevicePolicyManager devicePolicyManager, in KeyguardIndicationController() argument
155 mDevicePolicyManager = devicePolicyManager; in KeyguardIndicationController()
/frameworks/opt/car/services/src/com/android/internal/car/
DCarServiceHelperService.java577 DevicePolicyManager devicePolicyManager = in setupAndStartUsers() local
579 if (devicePolicyManager != null && devicePolicyManager.getUserProvisioningState() in setupAndStartUsers()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java299 DevicePolicyManager devicePolicyManager, LockPatternUtils lockPatternUtils, in GlobalActionsDialog() argument
320 mDevicePolicyManager = devicePolicyManager; in GlobalActionsDialog()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java1060 DevicePolicyManager devicePolicyManager = in checkDeviceIdentifierAccess() local
1062 if (devicePolicyManager != null && devicePolicyManager.hasDeviceIdentifierAccess( in checkDeviceIdentifierAccess()