Home
last modified time | relevance | path

Searched refs:journalMode (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabaseConfiguration.java135 public @SQLiteDatabase.JournalMode String journalMode; field in SQLiteDatabaseConfiguration
210 journalMode = other.journalMode; in updateParametersFrom()
227 return journalMode == null && syncMode == null in isLegacyCompatibilityWalEnabled()
257 if (journalMode != null in resolveJournalMode()
258 && journalMode.equalsIgnoreCase(SQLiteDatabase.JOURNAL_MODE_OFF)) { in resolveJournalMode()
271 return this.journalMode != null ? this.journalMode in resolveJournalMode()
315 || (journalMode != null in isWalEnabledInternal()
316 && journalMode.equalsIgnoreCase(SQLiteDatabase.JOURNAL_MODE_WAL)); in isWalEnabledInternal()
DSQLiteDatabase.java466 @Nullable String journalMode, @Nullable String syncMode) { in SQLiteDatabase() argument
493 mConfigurationLocked.journalMode = journalMode; in SQLiteDatabase()
2958 long idleConnectionTimeout, String journalMode, String syncMode) { in OpenParams() argument
2965 mJournalMode = journalMode; in OpenParams()
3241 public Builder setJournalMode(@JournalMode @NonNull String journalMode) { in setJournalMode() argument
3242 Objects.requireNonNull(journalMode); in setJournalMode()
3243 mJournalMode = journalMode; in setJournalMode()
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteCompatibilityWalFlagsTest.java106 String journalMode = DatabaseUtils.stringForQuery(mDatabase, "PRAGMA journal_mode", null); in testApplyFlags() local
107 assertEquals("WAL", journalMode.toUpperCase()); in testApplyFlags()
122 String journalMode = DatabaseUtils.stringForQuery(mDatabase, "PRAGMA journal_mode", null); in testApplyFlags_thenDisableWriteAheadLogging() local
123 assertEquals(SQLiteGlobal.getDefaultJournalMode(), journalMode.toUpperCase()); in testApplyFlags_thenDisableWriteAheadLogging()
/frameworks/base/apct-tests/perftests/core/src/android/database/
DSQLiteDatabasePerfTest.java72 private void createOrOpenTestDatabase(String journalMode, String syncMode) { in createOrOpenTestDatabase() argument
75 if (journalMode != null) { in createOrOpenTestDatabase()
76 paramsBuilder.setJournalMode(journalMode); in createOrOpenTestDatabase()
550 private void recreateTestDatabase(String journalMode, String syncMode) {
553 createOrOpenTestDatabase(journalMode, syncMode);
/frameworks/base/core/tests/coretests/src/android/database/
DSQLiteOpenHelperTest.java188 String journalMode = DatabaseUtils in testOpenParamsConstructor() local
191 assertEquals("DELETE", journalMode.toUpperCase()); in testOpenParamsConstructor()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt14721 Landroid/database/sqlite/SQLiteDatabaseConfiguration;->journalMode:Ljava/lang/String;