Home
last modified time | relevance | path

Searched refs:updatesDirectory (Results 1 – 25 of 50) sorted by relevance

12

/expo/packages/expo-updates/android/src/main/java/expo/modules/updates/db/
H A DDatabaseIntegrityCheck.kt9 fun run(database: UpdatesDatabase, updatesDirectory: File?, embeddedUpdate: UpdateEntity?) { in run()
14 if (asset.relativePath == null || !assetExists(asset, updatesDirectory)) { in run()
37 internal fun assetExists(asset: AssetEntity, updatesDirectory: File?): Boolean { in assetExists()
38 val path = File(updatesDirectory, asset.relativePath) in assetExists()
H A DReaper.kt23 updatesDirectory: File?, in reapUnusedUpdates()
50 val path = File(updatesDirectory, asset.relativePath) in reapUnusedUpdates()
68 val path = File(updatesDirectory, asset.relativePath) in reapUnusedUpdates()
/expo/ios/Exponent/Kernel/Services/
H A DEXUpdatesDatabaseManager.m11 @property (nonatomic, strong) NSURL *updatesDirectory;
29 - (NSURL *)updatesDirectory
43 if (!self.updatesDirectory) {
50 success = [self.database openDatabaseInDirectory:self.updatesDirectory error:&dbError];
H A DEXUpdatesDatabaseManager.h13 @property (nonatomic, strong, readonly) NSURL *updatesDirectory;
/expo/packages/expo-updates/android/src/main/java/expo/modules/updates/loader/
H A DEmbeddedLoader.kt35 updatesDirectory: File?,
38 context, configuration, database, updatesDirectory, loaderFiles
46 updatesDirectory: File?
47 ) : this(context, configuration, database, updatesDirectory, LoaderFiles()) {
74 updatesDirectory: File?, in loadAsset()
79 val destination = File(updatesDirectory, filename) in loadAsset()
H A DRemoteLoader.kt28 updatesDirectory: File?, in <lambda>()
31 ) : Loader(context, configuration, database, updatesDirectory, loaderFiles) { in <lambda>()
37 updatesDirectory: File?, in <lambda>()
39 …) : this(context, configuration, database, fileDownloader, updatesDirectory, launchedUpdate, Loade… in <lambda>()
55 updatesDirectory: File?, in <lambda>()
59 mFileDownloader.downloadAsset(assetEntity, updatesDirectory, configuration, context, callback) in <lambda>()
H A DLoader.kt29 private val updatesDirectory: File?, constant in expo.modules.updates.loader.Loader
87 updatesDirectory: File?, in onFailure()
245 updatesDirectory, in downloadAllAssets()
255 context, assetEntity, updatesDirectory, configuration, in downloadAllAssets()
304 hash = UpdatesUtils.sha256(File(updatesDirectory, asset.relativePath)) in handleAssetDownloadCompleted()
/expo/packages/expo-updates/android/src/main/java/expo/modules/updates/
H A DUpdatesDevLauncherController.kt51 if (controller.updatesDirectory == null) { in fetchUpdateWithConfiguration()
66 controller.updatesDirectory, in fetchUpdateWithConfiguration()
138 controller.updatesDirectory!!, in launchUpdate()
177 val updatesDirectory = controller.updatesDirectory in storedUpdateIdsWithConfiguration() constant
178 if (updatesDirectory == null) { in storedUpdateIdsWithConfiguration()
185 updatesDirectory, in storedUpdateIdsWithConfiguration()
H A DUpdatesUtils.kt67 val updatesDirectory = File(context.filesDir, UPDATES_DIRECTORY_NAME) in <lambda>() constant
68 val exists = updatesDirectory.exists() in <lambda>()
70 if (updatesDirectory.isFile) { in <lambda>()
71 …ption("File already exists at the location of the Updates Directory: $updatesDirectory ; aborting") in <lambda>()
74 if (!updatesDirectory.mkdir()) { in <lambda>()
78 return updatesDirectory in <lambda>()
H A DUpdatesController.kt75 var updatesDirectory: File? = null variable
250 if (updatesDirectory == null) { in start()
269 updatesDirectory, in start()
415 …moteLoader(context, updatesConfiguration, database, fileDownloader, updatesDirectory, launchedUpda… in initializeErrorRecovery()
489 updatesDirectory, in runReaper()
515 updatesDirectory!!, in relaunchReactApplication()
624 updatesDirectory = UpdatesUtils.getOrCreateUpdatesDirectory(context)
627 updatesDirectory = null
/expo/packages/expo-updates/e2e/fixtures/
H A DUpdatesE2ETestModule.kt15 val assetsFolder = UpdatesController.instance.updatesDirectory in getName()
26 val assetsFolder = UpdatesController.instance.updatesDirectory in readInternalAssetsFolderAsync()
H A DE2ETestModule.swift18 guard let assetsFolder = AppController.sharedInstance.updatesDirectory else { in definition()
39 guard let assetsFolder = AppController.sharedInstance.updatesDirectory else { in definition()
/expo/packages/expo-updates/android/src/main/java/expo/modules/updates/launcher/
H A DDatabaseLauncher.kt41 private val updatesDirectory: File?, constant in expo.modules.updates.launcher.DatabaseLauncher
153 val assetFile = File(updatesDirectory, asset.relativePath) in ensureAssetExists()
188 updatesDirectory, in ensureAssetExists()
202 val assetFileLocal = File(updatesDirectory, assetEntity.relativePath) in ensureAssetExists()
/expo/ios/versioned/sdk49/EXUpdates/EXUpdates/
H A DAppController.swift91 public internal(set) var updatesDirectory: URL? in appController() variable
265 directory: updatesDirectory!, in appController()
317 directory: updatesDirectory!, in appController()
494 updatesDirectory = try UpdatesUtils.initializeUpdatesDirectory() in appController()
502 try self.database.openDatabase(inDirectory: self.updatesDirectory!) in appController()
529 directory: updatesDirectory!, in appController()
595 directory: updatesDirectory!, in appController()
622 directory: updatesDirectory!, in appController()
H A DUpdatesUtils.swift33 let updatesDirectory = applicationDocumentsDirectory.appendingPathComponent(".expo-internal") in initializeUpdatesDirectory() variable
34 let updatesDirectoryPath = updatesDirectory.path in initializeUpdatesDirectory()
52 return updatesDirectory in initializeUpdatesDirectory()
374 guard let directory = AppController.sharedInstance.updatesDirectory else { in startJSAPICall()
H A DDevLauncherController.swift80 directory: controller.updatesDirectory!,
220 directory: controller.updatesDirectory!,
/expo/packages/expo-updates/ios/EXUpdates/
H A DAppController.swift91 public internal(set) var updatesDirectory: URL? in appController() variable
269 directory: updatesDirectory!, in appController()
322 directory: updatesDirectory!, in appController()
499 updatesDirectory = try UpdatesUtils.initializeUpdatesDirectory() in appController()
507 try self.database.openDatabase(inDirectory: self.updatesDirectory!) in appController()
534 directory: updatesDirectory!, in appController()
609 directory: updatesDirectory!, in appController()
636 directory: updatesDirectory!, in appController()
H A DUpdatesUtils.swift44 let updatesDirectory = applicationDocumentsDirectory.appendingPathComponent(".expo-internal") in initializeUpdatesDirectory() variable
45 let updatesDirectoryPath = updatesDirectory.path in initializeUpdatesDirectory()
63 return updatesDirectory in initializeUpdatesDirectory()
477 guard let directory = AppController.sharedInstance.updatesDirectory else { in startJSAPICall()
H A DDevLauncherController.swift80 directory: controller.updatesDirectory!,
220 directory: controller.updatesDirectory!,
/expo/ios/versioned-react-native/ABI49_0_0/Expo/ExpoKit/Core/UniversalModules/
H A DABI49_0_0EXUpdatesBinding.h30 @property (nonatomic, strong, readonly) NSURL *updatesDirectory;
/expo/ios/Exponent/Versioned/Core/UniversalModules/
H A DEXUpdatesBinding.h30 @property (nonatomic, strong, readonly) NSURL *updatesDirectory;
/expo/ios/versioned-react-native/ABI47_0_0/Expo/ExpoKit/Core/UniversalModules/
H A DABI47_0_0EXUpdatesBinding.h29 @property (nonatomic, strong, readonly) NSURL *updatesDirectory;
/expo/ios/versioned-react-native/ABI48_0_0/Expo/ExpoKit/Core/UniversalModules/
H A DABI48_0_0EXUpdatesBinding.h29 @property (nonatomic, strong, readonly) NSURL *updatesDirectory;
/expo/ios/versioned/sdk47/EXUpdates/EXUpdates/
H A DABI47_0_0EXUpdatesUtils.m65 …NSURL *updatesDirectory = [applicationDocumentsDirectory URLByAppendingPathComponent:@".expo-inter…
66 NSString *updatesDirectoryPath = [updatesDirectory path];
84 return updatesDirectory;
/expo/ios/versioned/sdk48/EXUpdates/EXUpdates/
H A DABI48_0_0EXUpdatesUtils.m65 …NSURL *updatesDirectory = [applicationDocumentsDirectory URLByAppendingPathComponent:@".expo-inter…
66 NSString *updatesDirectoryPath = [updatesDirectory path];
84 return updatesDirectory;

12