Searched refs:requireSystemService (Results 1 – 9 of 9) sorted by relevance
39 inline fun <reified T> Context.requireSystemService(): T { in requireSystemService() method48 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()
25 import com.android.photopicker.extensions.requireSystemService56 private val connectivityManager: ConnectivityManager = context.requireSystemService()
30 import com.android.healthconnect.testapps.toolbox.utils.GeneralUtils.Companion.requireSystemService39 requireContext().requireSystemService() in <lambda>()
40 import com.android.healthconnect.testapps.toolbox.utils.GeneralUtils.Companion.requireSystemService in <lambda>()50 requireContext().requireSystemService() in <lambda>()
35 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>()
29 inline fun <reified T> Context.requireSystemService(): T { in requireSystemService() method
35 import com.android.healthconnect.testapps.toolbox.utils.GeneralUtils.Companion.requireSystemService163 private val manager = context.requireSystemService<HealthConnectManager>()
72 import com.android.photopicker.extensions.requireSystemService in <lambda>()509 val audioManager: AudioManager = remember { context.requireSystemService() } in rememberAudioFocus()
142 inline fun <reified T> Context.requireSystemService(): T = in <lambda>() method