Home
last modified time | relevance | path

Searched refs:requireSystemService (Results 1 – 9 of 9) sorted by relevance

/packages/modules/IntentResolver/java/src/com/android/intentresolver/inject/
DSystemServices.kt39 inline fun <reified T> Context.requireSystemService(): T { in requireSystemService() method
48 ctx.requireSystemService() in activityManager()
56 ctx.requireSystemService() in activityManager()
75 ctx.requireSystemService() in devicePolicyManager()
82 fun launcherApps(@ApplicationContext ctx: Context): LauncherApps = ctx.requireSystemService() in devicePolicyManager()
108 return ctx.requireSystemService() in shortcutManager()
123 fun userManager(@ApplicationContext ctx: Context): UserManager = ctx.requireSystemService() in userManager()
135 fun windowManager(@ApplicationContext ctx: Context): WindowManager = ctx.requireSystemService()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/network/
DNetworkMonitor.kt25 import com.android.photopicker.extensions.requireSystemService
56 private val connectivityManager: ConnectivityManager = context.requireSystemService()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/ui/
DReadDataInForegroundFragment.kt30 import com.android.healthconnect.testapps.toolbox.utils.GeneralUtils.Companion.requireSystemService
39 requireContext().requireSystemService() in <lambda>()
DPhrOptionsFragment.kt40 import com.android.healthconnect.testapps.toolbox.utils.GeneralUtils.Companion.requireSystemService in <lambda>()
50 requireContext().requireSystemService() in <lambda>()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/user/
DUserMonitor.kt35 import com.android.photopicker.extensions.requireSystemService in <lambda>()
83 private val userManager: UserManager = context.requireSystemService() in <lambda>()
373 val localUserManager: UserManager = userContext.requireSystemService() in <lambda>()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/extensions/
DContext.kt29 inline fun <reified T> Context.requireSystemService(): T { in requireSystemService() method
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/
DToolboxProxy.kt35 import com.android.healthconnect.testapps.toolbox.utils.GeneralUtils.Companion.requireSystemService
163 private val manager = context.requireSystemService<HealthConnectManager>()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/video/
DVideoUi.kt72 import com.android.photopicker.extensions.requireSystemService in <lambda>()
509 val audioManager: AudioManager = remember { context.requireSystemService() } in rememberAudioFocus()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/
DGeneralUtils.kt142 inline fun <reified T> Context.requireSystemService(): T = in <lambda>() method