Home
last modified time | relevance | path

Searched refs:contextAsUser (Results 1 – 7 of 7) sorted by relevance

/packages/modules/IntentResolver/java/src/com/android/intentresolver/shortcuts/
DAppPredictorFactory.kt53 val contextAsUser = context.createContextAsUser(userHandle, 0 /* flags */) in create() constant
60 AppPredictionContext.Builder(contextAsUser) in create()
65 return contextAsUser in create()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/service/
DServicesModule.kt34 val contextAsUser = context.createContextAsUser(userHandle, 0) in provideHealthConnectManager() constant
35 return requireNotNull(contextAsUser.getSystemService(HealthConnectManager::class.java)) in provideHealthConnectManager()
/packages/modules/Permission/service/java/com/android/safetycenter/notifications/
DSafetyCenterNotificationChannels.java61 Context contextAsUser = getContextAsUser(baseContext, userHandle); in getNotificationManagerForUser() local
63 (contextAsUser != null) in getNotificationManagerForUser()
64 ? contextAsUser.getSystemService(NotificationManager.class) in getNotificationManagerForUser()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/notification/
DMigrationNotificationSender.java92 Context contextAsUser = mContext.createContextAsUser(userHandle, 0); in getNotificationManagerForUser() local
93 return contextAsUser.getSystemService(NotificationManager.class); in getNotificationManagerForUser()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppLocaleDetails.java210 final Context contextAsUser = context.createContextAsUser(userHandle, 0); in getSummary() local
211 Locale appLocale = getAppDefaultLocale(contextAsUser, app.packageName); in getSummary()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DChooserTargetActionsDialogFragment.java232 Context contextAsUser = context.createContextAsUser(user, 0 /* flags */); in getPinnedShortcutsFromPackageAsUser() local
233 List<ShortcutManager.ShareShortcutInfo> targets = contextAsUser.getSystemService( in getPinnedShortcutsFromPackageAsUser()
/packages/apps/Nfc/src/com/android/nfc/
DNfcDispatcher.java997 Context contextAsUser = mContext.createContextAsUser(UserHandle.CURRENT, /* flags= */ 0); in tryPeripheralHandover() local
998 contextAsUser.startService(intent); in tryPeripheralHandover()