Home
last modified time | relevance | path

Searched refs:getSystemServiceSafe (Results 1 – 2 of 2) sorted by relevance

/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DLocationAccessCheck.java60 import static com.android.packageinstaller.permission.utils.Utils.getSystemServiceSafe;
296 NotificationManager notificationManager = getSystemServiceSafe(mContext, in createPermissionReminderChannel()
323 mJobScheduler = getSystemServiceSafe(mContext, JobScheduler.class); in LocationAccessCheck()
324 mAppOpsManager = getSystemServiceSafe(mContext, AppOpsManager.class); in LocationAccessCheck()
326 mUserManager = getSystemServiceSafe(mContext, UserManager.class); in LocationAccessCheck()
396 LocationManager locationManager = getSystemServiceSafe(mContext, in addLocationNotificationIfNeeded()
568 NotificationManager notificationManager = getSystemServiceSafe(mContext, in createNotificationForLocationUser()
650 NotificationManager notificationManager = getSystemServiceSafe(mContext, in getCurrentlyShownNotificationLocked()
708 getSystemServiceSafe(mContext, NotificationManager.class, user).cancel( in forgetAboutPackage()
755 JobScheduler jobScheduler = getSystemServiceSafe(context, JobScheduler.class); in onReceive()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/
DUtils.java196 public static @NonNull <M> M getSystemServiceSafe(@NonNull Context context, Class<M> clazz) { in getSystemServiceSafe() method in Utils
204 public static @NonNull <M> M getSystemServiceSafe(@NonNull Context context, Class<M> clazz, in getSystemServiceSafe() method in Utils
828 UserHandle parentUser = getSystemServiceSafe(context, UserManager.class) in getParentUserContext()