/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/privacysources/ |
D | NotificationListenerCheck.kt | 78 import com.android.permissioncontroller.permission.utils.Utils.getSystemServiceSafe in <lambda>() 169 getSystemServiceSafe(context, SafetyCenterManager::class.java).isSafetyCenterEnabled in checkNotificationListenerCheckEnabled() 206 getSystemServiceSafe(parentUserContext, RoleManager::class.java), in <lambda>() 316 getSystemServiceSafe(parentUserContext, NotificationManager::class.java) in getEnabledNotificationListeners() 502 getSystemServiceSafe(parentUserContext, NotificationManager::class.java) in createPermissionReminderChannel() 558 getSystemServiceSafe(parentUserContext, NotificationManager::class.java) in createNotificationForNotificationListener() 647 getSystemServiceSafe(parentUserContext, NotificationManager::class.java) in getCurrentlyShownNotificationLocked() 679 getSystemServiceSafe(parentUserContext, NotificationManager::class.java) in cancelNotification() 684 getSystemServiceSafe(parentUserContext, NotificationManager::class.java) in cancelNotification() 709 getSystemServiceSafe(parentUserContext, SafetyCenterManager::class.java) in sendIssuesToSafetyCenter() [all …]
|
D | AccessibilitySourceService.kt | 66 import com.android.permissioncontroller.permission.utils.Utils.getSystemServiceSafe in <lambda>() 100 return getSystemServiceSafe(context, SafetyCenterManager::class.java).isSafetyCenterEnabled in isSafetyCenterEnabled() 112 getSystemServiceSafe(parentUserContext, NotificationManager::class.java) 114 getSystemServiceSafe(parentUserContext, SafetyCenterManager::class.java) 475 getSystemServiceSafe(parentUserContext, AccessibilityManager::class.java) 593 getSystemServiceSafe(parentUserContext, NotificationManager::class.java) in cancelNotification() 856 val jobScheduler = getSystemServiceSafe(context, JobScheduler::class.java) in onReceive()
|
D | PrivacySourcesUtils.kt | 50 val userManager = Utils.getSystemServiceSafe(context, UserManager::class.java) in isProfile()
|
D | WorkPolicyInfo.kt | 72 Utils.getSystemServiceSafe(context, SafetyCenterManager::class.java) in rescanAndPushSafetyCenterData()
|
D | SafetyCenterReceiver.kt | 83 Utils.getSystemServiceSafe( in onReceive()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | LocationAccessCheck.java | 73 import static com.android.permissioncontroller.permission.utils.Utils.getSystemServiceSafe; 374 NotificationManager notificationManager = getSystemServiceSafe(mContext, in createPermissionReminderChannel() 400 mJobScheduler = getSystemServiceSafe(mContext, JobScheduler.class); in LocationAccessCheck() 401 mAppOpsManager = getSystemServiceSafe(mContext, AppOpsManager.class); in LocationAccessCheck() 403 mUserManager = getSystemServiceSafe(mContext, UserManager.class); in LocationAccessCheck() 485 LocationManager locationManager = getSystemServiceSafe(mContext, in addLocationNotificationIfNeeded() 641 NotificationManager notificationManager = getSystemServiceSafe(mContext, in createNotificationForLocationUser() 750 notificationManager = getSystemServiceSafe(mContext, NotificationManager.class, in getCurrentlyShownNotificationLocked() 808 getSystemServiceSafe(mContext, NotificationManager.class, user).cancel( in forgetAboutPackage() 847 getSystemServiceSafe(mContext, NotificationManager.class, user).cancel( in cancelBackgroundAccessWarningNotification() [all …]
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/privacysources/ |
D | NotificationListenerPrivacySourceTest.kt | 139 Utils.getSystemServiceSafe( in setup() 149 Utils.getSystemServiceSafe( in setup() 159 Utils.getSystemServiceSafe( in setup() 169 Utils.getSystemServiceSafe( in setup()
|
D | SafetyCenterReceiverTest.kt | 111 Utils.getSystemServiceSafe( in privacySourceMap() 118 Utils.getSystemServiceSafe( in privacySourceMap()
|
D | WorkPolicyInfoTest.kt | 87 Utils.getSystemServiceSafe( in setup() 94 Utils.getSystemServiceSafe( in setup()
|
D | AppDataSharingUpdatesPrivacySourceTest.kt | 84 Utils.getSystemServiceSafe( in setup()
|
D | NotificationListenerCheckInternalTest.kt | 97 Utils.getSystemServiceSafe( in setup()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/v34/ |
D | SafetyLabelChangesJobService.kt | 69 import com.android.permissioncontroller.permission.utils.Utils.getSystemServiceSafe in <lambda>() 539 val notificationManager = getSystemServiceSafe(context, NotificationManager::class.java) in <lambda>() 584 val notificationManager = getSystemServiceSafe(context, NotificationManager::class.java) in <lambda>() 649 val jobScheduler = getSystemServiceSafe(context, JobScheduler::class.java) in <lambda>() 681 val jobScheduler = getSystemServiceSafe(context, JobScheduler::class.java) in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | PermGroupsPackagesUiInfoLiveData.kt | 67 Utils.getSystemServiceSafe(app.applicationContext, UserManager::class.java) in <lambda>() 156 Utils.getSystemServiceSafe( in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/ |
D | AutoGrantPermissionsNotifier.java | 37 import static com.android.permissioncontroller.permission.utils.Utils.getSystemServiceSafe; 104 mNotificationManager = getSystemServiceSafe(context, NotificationManager.class); in AutoGrantPermissionsNotifier()
|
D | GrantPermissionsActivity.java | 490 EnhancedConfirmationManager ecm = Utils.getSystemServiceSafe(userContext, in blockRestrictedPermissions()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/ |
D | PermissionControllerApplication.java | 95 AccessibilityManager a11yManager = Utils.getSystemServiceSafe( in addAccessibilityListener()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/privacysources/v34/ |
D | AppDataSharingUpdatesPrivacySource.kt | 65 Utils.getSystemServiceSafe(context, SafetyCenterManager::class.java) in rescanAndPushSafetyCenterData()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetylabel/ |
D | SafetyLabelChangedBroadcastReceiver.kt | 84 val userManager = Utils.getSystemServiceSafe(context, UserManager::class.java) in onReceive()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/dashboard/ |
D | AutoPermissionUsageFragment.kt | 85 val roleManager = Utils.getSystemServiceSafe(context, RoleManager::class.java) in onCreate()
|
D | AutoPermissionUsageDetailsFragment.kt | 138 roleManager = Utils.getSystemServiceSafe(context, RoleManager::class.java) in onCreate()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | Utils.java | 432 public static @NonNull <M> M getSystemServiceSafe(@NonNull Context context, Class<M> clazz) { in getSystemServiceSafe() method in Utils 440 public static @NonNull <M> M getSystemServiceSafe(@NonNull Context context, Class<M> clazz, in getSystemServiceSafe() method in Utils 1173 UserHandle parentUser = getSystemServiceSafe(context, UserManager.class) in getParentUserContext() 1578 DevicePolicyManager dpm = getSystemServiceSafe(context, DevicePolicyManager.class); in getUpdatableEnterpriseString()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v31/ |
D | PermissionUsageDetailsViewModel.kt | 89 Utils.getSystemServiceSafe(application.applicationContext, RoleManager::class.java) in <lambda>() 91 Utils.getSystemServiceSafe(application.applicationContext, UserManager::class.java) in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/ecm/ |
D | EnhancedConfirmationDialogActivity.kt | 98 val ecm = Utils.getSystemServiceSafe(userContext, EnhancedConfirmationManager::class.java) in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | PermissionAppsFragment.java | 174 mUserManager = Utils.getSystemServiceSafe(getContext(), UserManager.class); in onCreate()
|
D | AppPermissionFragment.java | 228 mRoleManager = Utils.getSystemServiceSafe(getContext(), RoleManager.class); in onCreate()
|