Home
last modified time | relevance | path

Searched refs:mDpm (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/restrictions/java/com/android/server/restrictions/
DRestrictionsManagerService.java62 private final IDevicePolicyManager mDpm; field in RestrictionsManagerService.RestrictionsManagerImpl
67 mDpm = (IDevicePolicyManager) getBinderService(Context.DEVICE_POLICY_SERVICE); in RestrictionsManagerImpl()
78 if (mDpm != null) { in hasRestrictionsProvider()
81 return mDpm.getRestrictionsProvider(userHandle) != null; in hasRestrictionsProvider()
99 if (mDpm != null) { in requestPermission()
103 mDpm.getRestrictionsProvider(userHandle); in requestPermission()
132 if (mDpm != null) { in createLocalApprovalIntent()
136 mDpm.getRestrictionsProvider(userHandle); in createLocalApprovalIntent()
165 if (mDpm != null) { in notifyPermissionResponse()
168 ComponentName permProvider = mDpm.getRestrictionsProvider(userHandle); in notifyPermissionResponse()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DNetworkLogger.java46 private final DevicePolicyManagerService mDpm; field in NetworkLogger
87 mDpm = dpm; in NetworkLogger()
95 final IIpConnectivityMetrics service = mDpm.mInjector.getIIpConnectivityMetrics(); in checkIpConnectivityMetricsService()
117 mDpm); in startNetworkLogging()
DNetworkLoggingHandler.java73 private final DevicePolicyManagerService mDpm; field in NetworkLoggingHandler
125 this.mDpm = dpm; in NetworkLoggingHandler()
126 this.mAlarmManager = mDpm.mInjector.getAlarmManager(); in NetworkLoggingHandler()
279 mDpm.sendDeviceOwnerCommand(DeviceAdminReceiver.ACTION_NETWORK_LOGS_AVAILABLE, extras); in notifyDeviceOwner()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java127 private final DevicePolicyManager mDpm; field in LauncherAppsService.LauncherAppsImpl
150 mDpm = (DevicePolicyManager) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in LauncherAppsImpl()
391 if (mDpm.getDeviceOwnerComponentOnAnyUser() != null) { in getLauncherActivities()
488 ComponentName componentName = mDpm.getProfileOwnerAsUser(userInfo.getUserHandle()); in isManagedProfileAdmin()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java431 private DevicePolicyManagerInternal mDpm; field in NotificationManagerService
1667 mDpm = dpm; in init()
3736 || (mDpm != null &&
3737 mDpm.isActiveAdminWithPolicy(Binder.getCallingUid(),