| /expo/packages/expo-updates/android/src/main/java/expo/modules/updates/manifest/ |
| H A D | ManifestMetadata.kt | 8 import expo.modules.updates.db.UpdatesDatabase in <lambda>() 24 database: UpdatesDatabase, in <lambda>() 38 database: UpdatesDatabase, in <lambda>() 45 database: UpdatesDatabase, in <lambda>() 52 database: UpdatesDatabase, in <lambda>() 59 database: UpdatesDatabase, in <lambda>() 85 database: UpdatesDatabase, in <lambda>()
|
| /expo/packages/expo-updates/android/src/main/java/expo/modules/updates/loader/ |
| H A D | RemoteLoader.kt | 6 import expo.modules.updates.db.UpdatesDatabase in <lambda>() 26 database: UpdatesDatabase, in <lambda>() 35 database: UpdatesDatabase, in <lambda>() 43 database: UpdatesDatabase, in <lambda>() 72 database: UpdatesDatabase, in <lambda>() 100 database: UpdatesDatabase, in <lambda>()
|
| H A D | EmbeddedLoader.kt | 6 import expo.modules.updates.db.UpdatesDatabase 34 database: UpdatesDatabase, 45 database: UpdatesDatabase, 52 database: UpdatesDatabase, in loadRemoteUpdate()
|
| /expo/packages/expo-updates/android/src/main/java/expo/modules/updates/db/ |
| H A D | DatabaseHolder.kt | 16 class DatabaseHolder(private val mDatabase: UpdatesDatabase) { 20 val database: UpdatesDatabase
|
| H A D | UpdatesDatabase.kt | 50 abstract class UpdatesDatabase : RoomDatabase() { class 56 private var instance: UpdatesDatabase? = null in updateDao() 59 private val TAG = UpdatesDatabase::class.java.simpleName in updateDao() 62 fun getInstance(context: Context?): UpdatesDatabase { in updateDao() 64 instance = Room.databaseBuilder(context!!, UpdatesDatabase::class.java, DB_NAME) in updateDao()
|
| H A D | BuildData.kt | 36 database: UpdatesDatabase, in ensureBuildDataIsConsistent() 49 fun clearAllUpdatesFromDatabase(database: UpdatesDatabase) { in clearAllUpdatesFromDatabase() 81 database: UpdatesDatabase, in setBuildDataInDatabase() 88 fun getBuildDataFromDatabase(database: UpdatesDatabase, scopeKey: String): JSONObject? { in getBuildDataFromDatabase()
|
| H A D | DatabaseIntegrityCheck.kt | 9 fun run(database: UpdatesDatabase, updatesDirectory: File?, embeddedUpdate: UpdateEntity?) { in run()
|
| /expo/packages/expo-updates/ios/EXUpdates/Update/ |
| H A D | Update.swift | 99 private let database: UpdatesDatabase? 104 database: UpdatesDatabase?, 136 database: UpdatesDatabase 161 database: UpdatesDatabase?
|
| /expo/ios/versioned/sdk49/EXUpdates/EXUpdates/Update/ |
| H A D | Update.swift | 99 private let database: UpdatesDatabase? 104 database: UpdatesDatabase?, 136 database: UpdatesDatabase 161 database: UpdatesDatabase?
|
| /expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/db/ |
| H A D | UpdatesDatabaseMigrationTest.kt | 20 UpdatesDatabase::class.java.canonicalName, 51 db = helper.runMigrationsAndValidate(TEST_DB, 5, true, UpdatesDatabase.MIGRATION_4_5) in testMigrate4To5() 132 db = helper.runMigrationsAndValidate(TEST_DB, 6, true, UpdatesDatabase.MIGRATION_5_6) in testMigrate5To6() 234 db = helper.runMigrationsAndValidate(TEST_DB, 7, true, UpdatesDatabase.MIGRATION_6_7) in testMigrate6To7() 281 db = helper.runMigrationsAndValidate(TEST_DB, 8, true, UpdatesDatabase.MIGRATION_7_8) in testMigrate7To8() 378 db = helper.runMigrationsAndValidate(TEST_DB, 9, true, UpdatesDatabase.MIGRATION_8_9) in testMigrate8To9() 411 db = helper.runMigrationsAndValidate(TEST_DB, 10, true, UpdatesDatabase.MIGRATION_9_10) in testMigrate9To10() 449 db = helper.runMigrationsAndValidate(TEST_DB, 11, true, UpdatesDatabase.MIGRATION_10_11) in testMigrate10To11() 489 db = helper.runMigrationsAndValidate(TEST_DB, 12, true, UpdatesDatabase.MIGRATION_11_12) in testMigrate11To12()
|
| /expo/ios/versioned/sdk49/EXUpdates/EXUpdates/Database/ |
| H A D | UpdatesBuildData.swift | 29 static func ensureBuildDataIsConsistentAsync(database: UpdatesDatabase, config: UpdatesConfig) { in ensureBuildDataIsConsistentAsync() 73 …static func clearAllUpdatesAndSetStaticBuildData(database: UpdatesDatabase, config: UpdatesConfig,… in clearAllUpdatesAndSetStaticBuildData()
|
| H A D | UpdatesDatabase.swift | 57 public final class UpdatesDatabase: NSObject { class 518 return try jsonData(withKey: UpdatesDatabase.ServerDefinedHeadersKey, scopeKey: scopeKey) in serverDefinedHeaders() 522 return try jsonData(withKey: UpdatesDatabase.ManifestFiltersKey, scopeKey: scopeKey) in manifestFilters() 526 return try jsonData(withKey: UpdatesDatabase.StaticBuildDataKey, scopeKey: scopeKey) in staticBuildData() 530 …return try jsonData(withKey: UpdatesDatabase.ExtraParmasKey, scopeKey: scopeKey) as? [String: Stri… in extraParams() 534 …return try setJsonData(serverDefinedHeaders, withKey: UpdatesDatabase.ServerDefinedHeadersKey, sco… in setServerDefinedHeaders() 538 …return try setJsonData(manifestFilters, withKey: UpdatesDatabase.ManifestFiltersKey, scopeKey: sco… in setManifestFilters() 542 …return try setJsonData(staticBuildData, withKey: UpdatesDatabase.StaticBuildDataKey, scopeKey: sco… in setStaticBuildData() 560 …_ = try setJsonData(extraParamsToWrite, withKey: UpdatesDatabase.ExtraParmasKey, scopeKey: scopeKe… in setExtraParam() 574 …_ = try setJsonData(serverDefinedHeaders, withKey: UpdatesDatabase.ServerDefinedHeadersKey, scopeK… in setMetadata() [all …]
|
| H A D | UpdatesDatabaseIntegrityCheck.swift | 7 withDatabase database: UpdatesDatabase,
|
| /expo/packages/expo-updates/ios/EXUpdates/Database/ |
| H A D | UpdatesBuildData.swift | 29 static func ensureBuildDataIsConsistentAsync(database: UpdatesDatabase, config: UpdatesConfig) { in ensureBuildDataIsConsistentAsync() 73 …static func clearAllUpdatesAndSetStaticBuildData(database: UpdatesDatabase, config: UpdatesConfig,… in clearAllUpdatesAndSetStaticBuildData()
|
| H A D | UpdatesDatabase.swift | 57 public final class UpdatesDatabase: NSObject { class 518 return try jsonData(withKey: UpdatesDatabase.ServerDefinedHeadersKey, scopeKey: scopeKey) in serverDefinedHeaders() 522 return try jsonData(withKey: UpdatesDatabase.ManifestFiltersKey, scopeKey: scopeKey) in manifestFilters() 526 return try jsonData(withKey: UpdatesDatabase.StaticBuildDataKey, scopeKey: scopeKey) in staticBuildData() 530 …return try jsonData(withKey: UpdatesDatabase.ExtraParmasKey, scopeKey: scopeKey) as? [String: Stri… in extraParams() 534 …return try setJsonData(serverDefinedHeaders, withKey: UpdatesDatabase.ServerDefinedHeadersKey, sco… in setServerDefinedHeaders() 538 …return try setJsonData(manifestFilters, withKey: UpdatesDatabase.ManifestFiltersKey, scopeKey: sco… in setManifestFilters() 542 …return try setJsonData(staticBuildData, withKey: UpdatesDatabase.StaticBuildDataKey, scopeKey: sco… in setStaticBuildData() 560 …_ = try setJsonData(extraParamsToWrite, withKey: UpdatesDatabase.ExtraParmasKey, scopeKey: scopeKe… in setExtraParam() 574 …_ = try setJsonData(serverDefinedHeaders, withKey: UpdatesDatabase.ServerDefinedHeadersKey, scopeK… in setMetadata() [all …]
|
| H A D | UpdatesDatabaseIntegrityCheck.swift | 7 withDatabase database: UpdatesDatabase,
|
| /expo/packages/expo-updates/android/src/main/java/expo/modules/updates/launcher/ |
| H A D | DatabaseLauncher.kt | 7 import expo.modules.updates.db.UpdatesDatabase 63 fun launch(database: UpdatesDatabase, context: Context, callback: LauncherCallback?) { in launch() 128 fun getLaunchableUpdate(database: UpdatesDatabase, context: Context): UpdateEntity? { in getLaunchableUpdate() 148 fun getReadyUpdateIds(database: UpdatesDatabase): List<UUID> { in getReadyUpdateIds() 152 …internal fun ensureAssetExists(asset: AssetEntity, database: UpdatesDatabase, context: Context): F… in ensureAssetExists()
|
| /expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/manifest/ |
| H A D | UpdateManifestMetadataTest.kt | 9 import expo.modules.updates.db.UpdatesDatabase 23 private lateinit var db: UpdatesDatabase 39 db = Room.inMemoryDatabaseBuilder(context, UpdatesDatabase::class.java).build() in createDb()
|
| /expo/packages/expo-updates/ios/Tests/ |
| H A D | AppLauncherWithDatabaseSpec.swift | 14 database: UpdatesDatabase(), 40 var db: UpdatesDatabase! in spec() 52 db = UpdatesDatabase() in spec()
|
| /expo/ios/Client/ |
| H A D | HomeAppLoaderTask.swift | 24 private let database: UpdatesDatabase in homeAppLoaderTask() 34 database: UpdatesDatabase, in homeAppLoaderTask()
|
| /expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/launcher/ |
| H A D | DatabaseLauncherTest.kt | 9 import expo.modules.updates.db.UpdatesDatabase 32 private lateinit var db: UpdatesDatabase 37 db = Room.inMemoryDatabaseBuilder(context, UpdatesDatabase::class.java).build() in createDb()
|
| /expo/packages/expo-updates/ios/EXUpdates/AppLoader/ |
| H A D | RemoteAppLoader.swift | 20 database: UpdatesDatabase, 132 database: UpdatesDatabase, 170 database: UpdatesDatabase,
|
| /expo/android/expoview/src/main/java/host/exp/exponent/di/ |
| H A D | NativeModuleDepsProvider.kt | 10 import expo.modules.updates.db.UpdatesDatabase 51 val mUpdatesDatabaseHolder: DatabaseHolder = DatabaseHolder(UpdatesDatabase.getInstance(mContext))
|
| /expo/ios/versioned/sdk49/EXUpdates/EXUpdates/AppLauncher/ |
| H A D | AppLauncherWithDatabase.swift | 43 private let database: UpdatesDatabase 50 …public required init(config: UpdatesConfig, database: UpdatesDatabase, directory: URL, completionQ… 65 database: UpdatesDatabase, 163 inDatabase database: UpdatesDatabase,
|
| /expo/packages/expo-updates/ios/EXUpdates/AppLauncher/ |
| H A D | AppLauncherWithDatabase.swift | 43 private let database: UpdatesDatabase 50 …public required init(config: UpdatesConfig, database: UpdatesDatabase, directory: URL, completionQ… 65 database: UpdatesDatabase, 163 inDatabase database: UpdatesDatabase,
|