Searched refs:getSystemServiceSafe (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | LocationAccessCheck.java | 62 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/ |
D | AutoGrantPermissionsNotifier.java | 35 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/ |
D | PermGroupsPackagesUiInfoLiveData.kt | 118 val roleManager = Utils.getSystemServiceSafe(PermissionControllerApplication.get(), in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | Utils.java | 384 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/ |
D | PermissionUsageV2Fragment.java | 146 mRoleManager = Utils.getSystemServiceSafe(context, RoleManager.class); in onCreate()
|
D | PermissionDetailsFragment.java | 154 mRoleManager = Utils.getSystemServiceSafe(context, RoleManager.class); in onCreate()
|