Home
last modified time | relevance | path

Searched refs:mContext (Results 1 – 25 of 155) sorted by relevance

1234567

/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/application/
H A DApplicationModule.kt27 class ApplicationModule(private val mContext: Context) : ExportedModule(mContext), RegistryLifecycl… constant in abi48_0_0.expo.modules.application.ApplicationModule
44 val applicationName = mContext.applicationInfo.loadLabel(mContext.packageManager).toString() in getConstants()
45 val packageName = mContext.packageName in getConstants()
50 val packageManager = mContext.packageManager in getConstants()
60 …constants["androidId"] = Settings.Secure.getString(mContext.contentResolver, Settings.Secure.ANDRO… in getConstants()
67 val packageManager = mContext.packageManager in getInstallationTimeAsync()
68 val packageName = mContext.packageName in getInstallationTimeAsync()
80 val packageManager = mContext.packageManager in getLastUpdateTimeAsync()
81 val packageName = mContext.packageName in getLastUpdateTimeAsync()
94 val referrerClient = InstallReferrerClient.newBuilder(mContext).build() in getInstallReferrerAsync()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/application/
H A DApplicationModule.kt27 class ApplicationModule(private val mContext: Context) : ExportedModule(mContext), RegistryLifecycl… constant in abi47_0_0.expo.modules.application.ApplicationModule
44 val applicationName = mContext.applicationInfo.loadLabel(mContext.packageManager).toString() in getConstants()
45 val packageName = mContext.packageName in getConstants()
50 val packageManager = mContext.packageManager in getConstants()
60 …constants["androidId"] = Settings.Secure.getString(mContext.contentResolver, Settings.Secure.ANDRO… in getConstants()
67 val packageManager = mContext.packageManager in getInstallationTimeAsync()
68 val packageName = mContext.packageName in getInstallationTimeAsync()
80 val packageManager = mContext.packageManager in getLastUpdateTimeAsync()
81 val packageName = mContext.packageName in getLastUpdateTimeAsync()
94 val referrerClient = InstallReferrerClient.newBuilder(mContext).build() in getInstallReferrerAsync()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/application/
H A DApplicationModule.kt27 class ApplicationModule(private val mContext: Context) : ExportedModule(mContext), RegistryLifecycl… constant in abi49_0_0.expo.modules.application.ApplicationModule
44 val applicationName = mContext.applicationInfo.loadLabel(mContext.packageManager).toString() in getConstants()
45 val packageName = mContext.packageName in getConstants()
50 val packageManager = mContext.packageManager in getConstants()
60 …constants["androidId"] = Settings.Secure.getString(mContext.contentResolver, Settings.Secure.ANDRO… in getConstants()
67 val packageManager = mContext.packageManager in getInstallationTimeAsync()
68 val packageName = mContext.packageName in getInstallationTimeAsync()
80 val packageManager = mContext.packageManager in getLastUpdateTimeAsync()
81 val packageName = mContext.packageName in getLastUpdateTimeAsync()
94 val referrerClient = InstallReferrerClient.newBuilder(mContext).build() in getInstallReferrerAsync()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/firebase/core/
H A DFirebaseCoreService.java17 private Context mContext; field in FirebaseCoreService
21 mContext = context; in FirebaseCoreService()
44 return (app != null) ? app.getOptions() : FirebaseOptions.fromResource(mContext); in getAppOptions()
60 app = FirebaseApp.initializeApp(mContext, options); in updateFirebaseApp()
62 app = FirebaseApp.initializeApp(mContext, options, name); in updateFirebaseApp()
69 app = FirebaseApp.initializeApp(mContext, options); in updateFirebaseApp()
71 app = FirebaseApp.initializeApp(mContext, options, name); in updateFirebaseApp()
/expo/android/vendored/sdk49/@shopify/react-native-skia/android/src/main/java/abi49_0_0/com/shopify/reactnative/skia/
H A DPlatformContext.java31 private final ReactContext mContext; field in PlatformContext
39 mContext = reactContext; in PlatformContext()
81 return ViewScreenshotService.makeViewScreenshotFromTag(mContext, tag); in takeScreenshotFromViewTag()
89 mContext.handleException(new Exception(message)); in raise()
118 …int resourceId = mContext.getResources().getIdentifier(sourceUri, "drawable", mContext.getPackageN… in getJniStreamFromSource()
122 … resourceId = mContext.getResources().getIdentifier(sourceUri, "raw", mContext.getPackageName()); in getJniStreamFromSource()
127 return getStreamAsBytes(mContext.getResources().openRawResource(resourceId)); in getJniStreamFromSource()
/expo/android/vendored/unversioned/@shopify/react-native-skia/android/src/main/java/com/shopify/reactnative/skia/
H A DPlatformContext.java31 private final ReactContext mContext; field in PlatformContext
39 mContext = reactContext; in PlatformContext()
81 return ViewScreenshotService.makeViewScreenshotFromTag(mContext, tag); in takeScreenshotFromViewTag()
89 mContext.handleException(new Exception(message)); in raise()
118 …int resourceId = mContext.getResources().getIdentifier(sourceUri, "drawable", mContext.getPackageN… in getJniStreamFromSource()
122 … resourceId = mContext.getResources().getIdentifier(sourceUri, "raw", mContext.getPackageName()); in getJniStreamFromSource()
127 return getStreamAsBytes(mContext.getResources().openRawResource(resourceId)); in getJniStreamFromSource()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/notifications/notifications/
H A DSoundResolver.java15 private Context mContext; field in SoundResolver
18 mContext = context; in SoundResolver()
34 String packageName = mContext.getPackageName(); in resolve()
36 int resourceId = mContext.getResources().getIdentifier(resourceName, "raw", packageName); in resolve()
/expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/notifications/
H A DSoundResolver.java15 private Context mContext; field in SoundResolver
18 mContext = context; in SoundResolver()
34 String packageName = mContext.getPackageName(); in resolve()
36 int resourceId = mContext.getResources().getIdentifier(resourceName, "raw", packageName); in resolve()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/notifications/notifications/
H A DSoundResolver.java15 private Context mContext; field in SoundResolver
18 mContext = context; in SoundResolver()
34 String packageName = mContext.getPackageName(); in resolve()
36 int resourceId = mContext.getResources().getIdentifier(resourceName, "raw", packageName); in resolve()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/notifications/notifications/
H A DSoundResolver.java15 private Context mContext; field in SoundResolver
18 mContext = context; in SoundResolver()
34 String packageName = mContext.getPackageName(); in resolve()
36 int resourceId = mContext.getResources().getIdentifier(resourceName, "raw", packageName); in resolve()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/device/
H A DDeviceModule.kt26 class DeviceModule(private val mContext: Context) : ExportedModule(mContext) { constant in abi47_0_0.expo.modules.device.DeviceModule
50 … (mContext.getSystemService(Context.ACTIVITY_SERVICE) as ActivityManager).getMemoryInfo(memoryInfo) in getConstants()
68 Settings.Secure.getString(mContext.contentResolver, "bluetooth_name") in <lambda>()
70 Settings.Global.getString(mContext.contentResolver, Settings.Global.DEVICE_NAME) in <lambda>()
75 get() = YearClass.get(mContext)
88 promise.resolve(getDeviceType(mContext).JSValue) in getDeviceTypeAsync()
134 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()
/expo/android/vendored/sdk47/@shopify/react-native-skia/android/src/main/java/abi47_0_0/com/shopify/reactnative/skia/
H A DPlatformContext.java30 private final ReactContext mContext; field in PlatformContext
38 mContext = reactContext; in PlatformContext()
73 mContext.handleException(new Exception(message)); in raise()
102 …int resourceId = mContext.getResources().getIdentifier(sourceUri, "drawable", mContext.getPackageN… in getJniStreamFromSource()
106 … resourceId = mContext.getResources().getIdentifier(sourceUri, "raw", mContext.getPackageName()); in getJniStreamFromSource()
111 return getStreamAsBytes(mContext.getResources().openRawResource(resourceId)); in getJniStreamFromSource()
/expo/android/vendored/sdk48/@shopify/react-native-skia/android/src/main/java/abi48_0_0/com/shopify/reactnative/skia/
H A DPlatformContext.java30 private final ReactContext mContext; field in PlatformContext
38 mContext = reactContext; in PlatformContext()
73 mContext.handleException(new Exception(message)); in raise()
102 …int resourceId = mContext.getResources().getIdentifier(sourceUri, "drawable", mContext.getPackageN… in getJniStreamFromSource()
106 … resourceId = mContext.getResources().getIdentifier(sourceUri, "raw", mContext.getPackageName()); in getJniStreamFromSource()
111 return getStreamAsBytes(mContext.getResources().openRawResource(resourceId)); in getJniStreamFromSource()
/expo/android/vendored/sdk48/react-native-reanimated/android/src/main/java/abi48_0_0/com/swmansion/reanimated/layoutReanimation/
H A DLayoutAnimations.java19 private WeakReference<ReactApplicationContext> mContext; field in LayoutAnimations
22 mContext = new WeakReference<>(context); in LayoutAnimations()
36 ReactApplicationContext context = mContext.get(); in notifyAboutEnd()
47 ReactApplicationContext context = mContext.get(); in notifyAboutProgress()
/expo/android/vendored/sdk47/react-native-reanimated/android/src/main/java/abi47_0_0/com/swmansion/reanimated/layoutReanimation/
H A DLayoutAnimations.java19 private WeakReference<ReactApplicationContext> mContext; field in LayoutAnimations
22 mContext = new WeakReference<>(context); in LayoutAnimations()
36 ReactApplicationContext context = mContext.get(); in notifyAboutEnd()
47 ReactApplicationContext context = mContext.get(); in notifyAboutProgress()
/expo/android/expoview/src/main/java/host/exp/exponent/di/
H A DNativeModuleDepsProvider.kt23 val mContext: Context = application constant
35 val mExponentSharedPreferences: ExponentSharedPreferences = ExponentSharedPreferences(mContext)
39 val mExponentNetwork: ExponentNetwork = ExponentNetwork(mContext, mExponentSharedPreferences)
43 var mExponentManifest: ExponentManifest = ExponentManifest(mContext, mExponentSharedPreferences)
47 …var mKernelServiceRegistry: ExpoKernelServiceRegistry = ExpoKernelServiceRegistry(mContext, mExpon…
51 val mUpdatesDatabaseHolder: DatabaseHolder = DatabaseHolder(UpdatesDatabase.getInstance(mContext))
/expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/serverregistration/
H A DInstallationId.java37 private Context mContext; field in InstallationId
41 mContext = context; in InstallationId()
53 mUuid = readUUIDFromFile(new File(mContext.getNoBackupFilesDir(), UUID_FILE_NAME)); in getUUID()
80 mUuid = readUUIDFromFile(new File(mContext.getNoBackupFilesDir(), LEGACY_UUID_FILE_NAME)); in getUUID()
132 return new File(mContext.getNoBackupFilesDir(), UUID_FILE_NAME); in getNonBackedUpUuidFile()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/notifications/serverregistration/
H A DInstallationId.java37 private Context mContext; field in InstallationId
41 mContext = context; in InstallationId()
53 mUuid = readUUIDFromFile(new File(mContext.getNoBackupFilesDir(), UUID_FILE_NAME)); in getUUID()
80 mUuid = readUUIDFromFile(new File(mContext.getNoBackupFilesDir(), LEGACY_UUID_FILE_NAME)); in getUUID()
132 return new File(mContext.getNoBackupFilesDir(), UUID_FILE_NAME); in getNonBackedUpUuidFile()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/notifications/serverregistration/
H A DInstallationId.java37 private Context mContext; field in InstallationId
41 mContext = context; in InstallationId()
53 mUuid = readUUIDFromFile(new File(mContext.getNoBackupFilesDir(), UUID_FILE_NAME)); in getUUID()
80 mUuid = readUUIDFromFile(new File(mContext.getNoBackupFilesDir(), LEGACY_UUID_FILE_NAME)); in getUUID()
132 return new File(mContext.getNoBackupFilesDir(), UUID_FILE_NAME); in getNonBackedUpUuidFile()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/notifications/serverregistration/
H A DInstallationId.java37 private Context mContext; field in InstallationId
41 mContext = context; in InstallationId()
53 mUuid = readUUIDFromFile(new File(mContext.getNoBackupFilesDir(), UUID_FILE_NAME)); in getUUID()
80 mUuid = readUUIDFromFile(new File(mContext.getNoBackupFilesDir(), LEGACY_UUID_FILE_NAME)); in getUUID()
132 return new File(mContext.getNoBackupFilesDir(), UUID_FILE_NAME); in getNonBackedUpUuidFile()
/expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/notifications/presentation/builders/
H A DBaseNotificationBuilder.java17 private Context mContext; field in BaseNotificationBuilder
20 mContext = context; in BaseNotificationBuilder()
36 return mContext; in getContext()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/notifications/notifications/presentation/builders/
H A DBaseNotificationBuilder.java17 private Context mContext; field in BaseNotificationBuilder
20 mContext = context; in BaseNotificationBuilder()
36 return mContext; in getContext()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/notifications/notifications/presentation/builders/
H A DBaseNotificationBuilder.java17 private Context mContext; field in BaseNotificationBuilder
20 mContext = context; in BaseNotificationBuilder()
36 return mContext; in getContext()
/expo/android/vendored/unversioned/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/
H A DScheduler.java16 private final ReactApplicationContext mContext; field in Scheduler
31 mContext = context; in Scheduler()
41 new GuardedRunnable(mContext.getExceptionHandler()) { in scheduleOnUI()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/notifications/notifications/presentation/builders/
H A DBaseNotificationBuilder.java17 private Context mContext; field in BaseNotificationBuilder
20 mContext = context; in BaseNotificationBuilder()
36 return mContext; in getContext()

1234567