Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/privacysources/
DNotificationListenerCheck.kt197 private val parentUserContext = Utils.getParentUserContext(context) constant
200 parentUserContext.getSharedPreferences(NLS_PREFERENCE_FILE, MODE_PRIVATE)
206 getSystemServiceSafe(parentUserContext, RoleManager::class.java), in <lambda>()
207 parentUserContext in <lambda>()
316 getSystemServiceSafe(parentUserContext, NotificationManager::class.java) in getEnabledNotificationListeners()
476 Utils.getPackageInfoForComponentName(parentUserContext, componentToNotifyFor) in postSystemNotificationIfNeeded()
497 parentUserContext.getString(R.string.permission_reminders), in createPermissionReminderChannel()
502 getSystemServiceSafe(parentUserContext, NotificationManager::class.java) in createPermissionReminderChannel()
519 val pkgLabel = Utils.getApplicationLabel(parentUserContext, pkg.applicationInfo!!) in createNotificationForNotificationListener()
523 getNotificationDeletePendingIntent(parentUserContext, componentName, uid, sessionId) in createNotificationForNotificationListener()
[all …]
DAccessibilitySourceService.kt107 private val parentUserContext = Utils.getParentUserContext(context) constant
108 private val packageManager = parentUserContext.packageManager
110 parentUserContext.getSharedPreferences(ACCESSIBILITY_PREFERENCES_FILE, Context.MODE_PRIVATE)
112 getSystemServiceSafe(parentUserContext, NotificationManager::class.java)
114 getSystemServiceSafe(parentUserContext, SafetyCenterManager::class.java)
189 Intent(parentUserContext, AccessibilityNotificationDeleteHandler::class.java).apply { in sendNotification()
198 parentUserContext.getString(R.string.accessibility_access_reminder_notification_title) in sendNotification()
200 parentUserContext.getString( in sendNotification()
206 KotlinUtils.getSafetyCenterNotificationResources(parentUserContext) in sendNotification()
208 Notification.Builder(parentUserContext, Constants.PERMISSION_REMINDER_CHANNEL_ID) in sendNotification()
[all …]