Home
last modified time | relevance | path

Searched refs:applicationContext (Results 1 – 25 of 83) sorted by relevance

1234

/expo/packages/expo-dev-launcher/android/src/react-native-69/expo/modules/devlauncher/rncompatibility/
H A DDevLauncherDevSupportManager.kt40 applicationContext: Context?,
49 applicationContext,
72 applicationContext,
81 if (mIsSamplingProfilerEnabled) applicationContext!!.getString(
83 ) else applicationContext!!.getString(
92 else applicationContext.getString(R.string.catalyst_debug)
169 applicationContext.getString(R.string.catalyst_debug_error), in getExecutorConnectCallback()
238 applicationContext, in toggleJSSamplingProfiler()
249 "sampling-profiler-trace", ".cpuprofile", applicationContext.cacheDir in toggleJSSamplingProfiler()
254 applicationContext, in toggleJSSamplingProfiler()
[all …]
H A DDevLauncherReactNativeHostHandler.kt26 val applicationContext = context.applicationContext in getJavaScriptExecutorFactory() constant
28 SoLoader.init(applicationContext, /* native exopackage */ false) in getJavaScriptExecutorFactory()
35 …return JSCExecutorFactory(applicationContext.packageName, AndroidInfoHelpers.getFriendlyDeviceName… in getJavaScriptExecutorFactory()
H A DDevLauncherDevSupportManagerFactory.kt15 applicationContext: Context, in create()
29 applicationContext, in create()
/expo/packages/expo-dev-launcher/android/src/react-native-72/expo/modules/devlauncher/rncompatibility/
H A DDevLauncherReactNativeHostHandler.kt26 val applicationContext = context.applicationContext in getJavaScriptExecutorFactory() constant
28 SoLoader.init(applicationContext, /* native exopackage */ false) in getJavaScriptExecutorFactory()
35 …return JSCExecutorFactory(applicationContext.packageName, AndroidInfoHelpers.getFriendlyDeviceName… in getJavaScriptExecutorFactory()
H A DDevLauncherDevSupportManager.kt44 applicationContext: Context?,
53 applicationContext,
78 applicationContext,
87 if (mIsSamplingProfilerEnabled) applicationContext!!.getString(
89 ) else applicationContext!!.getString(
164 applicationContext.getString(R.string.catalyst_debug_error), in getExecutorConnectCallback()
231 Toast.makeText(applicationContext, "Starting Sampling Profiler", Toast.LENGTH_SHORT) in toggleJSSamplingProfiler()
237 applicationContext, in toggleJSSamplingProfiler()
249 "sampling-profiler-trace", ".cpuprofile", applicationContext.cacheDir in toggleJSSamplingProfiler()
254 applicationContext, in toggleJSSamplingProfiler()
[all …]
H A DDevLauncherDevSupportManagerFactory.kt16 applicationContext: Context, in create()
31 applicationContext, in create()
/expo/android/expoview/src/main/java/host/exp/exponent/notifications/schedulers/
H A DSchedulerImpl.kt10 private var applicationContext: Context? = null variable in host.exp.exponent.notifications.schedulers.SchedulerImpl
53 applicationContext = context.applicationContext in setApplicationContext()
62 get() = ExponentNotificationManager(applicationContext!!)
/expo/packages/expo-dev-menu/android/src/main/java/expo/modules/devmenu/react/
H A DDevMenuPackagerConnectionSettings.kt12 applicationContext: Context
13 ) : PackagerConnectionSettings(applicationContext) {
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/battery/
H A DBatteryModule.kt45 val batteryIntent: Intent? = context.applicationContext.registerReceiver( in getBatteryLevelAsync()
65 val batteryIntent: Intent? = context.applicationContext.registerReceiver( in getBatteryStateAsync()
85 val packageName: String = context.applicationContext.packageName in isBatteryOptimizationEnabledAsync()
86 …val powerManager = context.applicationContext.getSystemService(Context.POWER_SERVICE) as PowerMana… in isBatteryOptimizationEnabledAsync()
99 …val powerManager = context.applicationContext.getSystemService(Context.POWER_SERVICE) as PowerMana…
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/battery/
H A DBatteryModule.kt45 val batteryIntent: Intent? = context.applicationContext.registerReceiver( in getBatteryLevelAsync()
65 val batteryIntent: Intent? = context.applicationContext.registerReceiver( in getBatteryStateAsync()
85 val packageName: String = context.applicationContext.packageName in isBatteryOptimizationEnabledAsync()
86 …val powerManager = context.applicationContext.getSystemService(Context.POWER_SERVICE) as PowerMana… in isBatteryOptimizationEnabledAsync()
99 …val powerManager = context.applicationContext.getSystemService(Context.POWER_SERVICE) as PowerMana…
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/battery/
H A DBatteryModule.kt45 val batteryIntent: Intent? = context.applicationContext.registerReceiver( in getBatteryLevelAsync()
65 val batteryIntent: Intent? = context.applicationContext.registerReceiver( in getBatteryStateAsync()
85 val packageName: String = context.applicationContext.packageName in isBatteryOptimizationEnabledAsync()
86 …val powerManager = context.applicationContext.getSystemService(Context.POWER_SERVICE) as PowerMana… in isBatteryOptimizationEnabledAsync()
99 …val powerManager = context.applicationContext.getSystemService(Context.POWER_SERVICE) as PowerMana…
/expo/packages/expo-battery/android/src/main/java/expo/modules/battery/
H A DBatteryModule.kt53 val batteryIntent = context.applicationContext.registerReceiver( in <lambda>()
70 val batteryIntent = context.applicationContext.registerReceiver( in <lambda>()
84 val packageName = context.applicationContext.packageName in <lambda>()
85 …val powerManager = context.applicationContext.getSystemService(Context.POWER_SERVICE) as? PowerMan… in <lambda>()
151 …val powerManager = context.applicationContext.getSystemService(Context.POWER_SERVICE) as? PowerMan… in <lambda>()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/device/
H A DDeviceModule.kt101 context.applicationContext.contentResolver, in <lambda>()
106 context.applicationContext.packageManager.canRequestPackageInstalls() in <lambda>()
111 val allFeatures = context.applicationContext.packageManager.systemAvailableFeatures in <lambda>()
116 return@AsyncFunction context.applicationContext.packageManager.hasSystemFeature(feature) in <lambda>()
140 if (context.applicationContext.packageManager.hasSystemFeature("amazon.hardware.fire_tv")) { in <lambda>()
/expo/android/expoview/src/main/java/host/exp/exponent/notifications/managers/
H A DSchedulerManagerImpl.kt10 internal class SchedulerManagerImpl(private val applicationContext: Context) : SchedulersManager { constant in host.exp.exponent.notifications.managers.SchedulerManagerImpl
88 scheduler.setApplicationContext(applicationContext) in addScheduler()
115 scheduler.setApplicationContext(applicationContext) in fetchSchedulersMap()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/device/
H A DDeviceModule.kt102 context.applicationContext.contentResolver, in <lambda>()
107 context.applicationContext.packageManager.canRequestPackageInstalls() in <lambda>()
112 val allFeatures = context.applicationContext.packageManager.systemAvailableFeatures in <lambda>()
117 return@AsyncFunction context.applicationContext.packageManager.hasSystemFeature(feature) in <lambda>()
139 if (context.applicationContext.packageManager.hasSystemFeature("amazon.hardware.fire_tv")) { in <lambda>()
/expo/packages/expo-device/android/src/main/java/expo/modules/device/
H A DDeviceModule.kt102 context.applicationContext.contentResolver, in <lambda>()
107 context.applicationContext.packageManager.canRequestPackageInstalls() in <lambda>()
112 val allFeatures = context.applicationContext.packageManager.systemAvailableFeatures in <lambda>()
117 return@AsyncFunction context.applicationContext.packageManager.hasSystemFeature(feature) in <lambda>()
135 if (context.applicationContext.packageManager.hasSystemFeature("amazon.hardware.fire_tv")) { in <lambda>()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/device/
H A DDeviceModule.kt134 mContext.applicationContext.contentResolver, in isSideLoadingEnabledAsync()
139 mContext.applicationContext.packageManager.canRequestPackageInstalls() in isSideLoadingEnabledAsync()
147 val allFeatures = mContext.applicationContext.packageManager.systemAvailableFeatures in getPlatformFeaturesAsync()
154 promise.resolve(mContext.applicationContext.packageManager.hasSystemFeature(feature)) in hasPlatformFeatureAsync()
165 if (context.applicationContext.packageManager.hasSystemFeature("amazon.hardware.fire_tv")) { in getDeviceType()
/expo/android/expoview/src/main/java/versioned/host/exp/exponent/modules/api/components/reactnativestripesdk/pushprovisioning/
H A DAddToWalletButtonManager.kt12 class AddToWalletButtonManager(applicationContext: Context) : SimpleViewManager<AddToWalletButtonVi…
13 private val requestManager = Glide.with(applicationContext)
/expo/packages/expo-modules-core/android/src/main/java/expo/modules/adapters/react/apploader/
H A DRNHeadlessAppLoader.kt22 if (context.applicationContext is ReactApplication) { in loadApp()
23 …val reactInstanceManager = (context.applicationContext as ReactApplication).reactNativeHost.reactI… in loadApp()
/expo/android/expoview/src/main/java/host/exp/exponent/kernel/
H A DExpoViewKernel.kt22 lateinit var applicationContext: Application variable in host.exp.exponent.kernel.ExpoViewKernel
64 applicationContext.packageManager.getPackageInfo(
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/host/exp/exponent/modules/api/components/reactnativestripesdk/pushprovisioning/
H A DAddToWalletButtonManager.kt11 class AddToWalletButtonManager(applicationContext: Context) : SimpleViewManager<AddToWalletButtonVi…
12 private val requestManager = Glide.with(applicationContext)
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/host/exp/exponent/modules/api/components/reactnativestripesdk/pushprovisioning/
H A DAddToWalletButtonManager.kt11 class AddToWalletButtonManager(applicationContext: Context) : SimpleViewManager<AddToWalletButtonVi…
12 private val requestManager = Glide.with(applicationContext)
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/host/exp/exponent/modules/api/components/reactnativestripesdk/pushprovisioning/
H A DAddToWalletButtonManager.kt11 class AddToWalletButtonManager(applicationContext: ReactApplicationContext) : SimpleViewManager<Add…
12 private val requestManager = Glide.with(applicationContext)
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/adapters/react/apploader/
H A DRNHeadlessAppLoader.kt22 if (context.applicationContext is ReactApplication) { in loadApp()
23 …val reactInstanceManager = (context.applicationContext as ReactApplication).reactNativeHost.reactI… in loadApp()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/adapters/react/apploader/
H A DRNHeadlessAppLoader.kt22 if (context.applicationContext is ReactApplication) { in loadApp()
23 …val reactInstanceManager = (context.applicationContext as ReactApplication).reactNativeHost.reactI… in loadApp()

1234