Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DLocationAccessCheck.java62 import static com.android.permissioncontroller.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()
642 notificationManager = getSystemServiceSafe(mContext, NotificationManager.class, in getCurrentlyShownNotificationLocked()
703 getSystemServiceSafe(mContext, NotificationManager.class, user).cancel( in forgetAboutPackage()
750 JobScheduler jobScheduler = getSystemServiceSafe(context, JobScheduler.class); in onReceive()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DAutoGrantPermissionsNotifier.java35 import static com.android.permissioncontroller.permission.utils.Utils.getSystemServiceSafe;
111 NotificationManager notificationManager = getSystemServiceSafe(mContext, in createAutoGrantNotifierChannel()
179 NotificationManager notificationManager = getSystemServiceSafe(mContext, in notifyOfAutoGrantPermissions()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DPermGroupsPackagesUiInfoLiveData.kt118 val roleManager = Utils.getSystemServiceSafe(PermissionControllerApplication.get(), in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DUtils.java384 public static @NonNull <M> M getSystemServiceSafe(@NonNull Context context, Class<M> clazz) { in getSystemServiceSafe() method in Utils
392 public static @NonNull <M> M getSystemServiceSafe(@NonNull Context context, Class<M> clazz, in getSystemServiceSafe() method in Utils
1033 UserHandle parentUser = getSystemServiceSafe(context, UserManager.class) in getParentUserContext()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/
DPermissionUsageV2Fragment.java146 mRoleManager = Utils.getSystemServiceSafe(context, RoleManager.class); in onCreate()
DPermissionDetailsFragment.java154 mRoleManager = Utils.getSystemServiceSafe(context, RoleManager.class); in onCreate()