Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabaseConfiguration.java68 public int openFlags; field in SQLiteDatabaseConfiguration
151 public SQLiteDatabaseConfiguration(String path, int openFlags) { in SQLiteDatabaseConfiguration() argument
158 this.openFlags = openFlags; in SQLiteDatabaseConfiguration()
195 openFlags = other.openFlags; in updateParametersFrom()
222 && (openFlags & SQLiteDatabase.ENABLE_LEGACY_COMPATIBILITY_WAL) != 0; in isLegacyCompatibilityWalEnabled()
DSQLiteDatabase.java293 private SQLiteDatabase(final String path, final int openFlags, in SQLiteDatabase() argument
299 mConfigurationLocked = new SQLiteDatabaseConfiguration(path, openFlags); in SQLiteDatabase()
322 mConfigurationLocked.openFlags |= ENABLE_LEGACY_COMPATIBILITY_WAL; in SQLiteDatabase()
884 final int oldOpenFlags = mConfigurationLocked.openFlags; in reopenReadWrite()
885 mConfigurationLocked.openFlags = (mConfigurationLocked.openFlags & ~OPEN_READ_MASK) in reopenReadWrite()
890 mConfigurationLocked.openFlags = oldOpenFlags; in reopenReadWrite()
1961 return (mConfigurationLocked.openFlags & OPEN_READ_MASK) == OPEN_READONLY; in isReadOnlyLocked()
2194 if ((mConfigurationLocked.openFlags & ENABLE_WRITE_AHEAD_LOGGING) != 0) { in enableWriteAheadLogging()
2219 mConfigurationLocked.openFlags |= ENABLE_WRITE_AHEAD_LOGGING; in enableWriteAheadLogging()
2223 mConfigurationLocked.openFlags &= ~ENABLE_WRITE_AHEAD_LOGGING; in enableWriteAheadLogging()
[all …]
DSQLiteConnectionPool.java289 boolean walModeChanged = ((configuration.openFlags ^ mConfiguration.openFlags) in reconfigure()
323 boolean onlyCompatWalChanged = (mConfiguration.openFlags ^ configuration.openFlags) in reconfigure()
326 if (!onlyCompatWalChanged && mConfiguration.openFlags != configuration.openFlags) { in reconfigure()
1041 && (mConfiguration.openFlags & SQLiteDatabase.ENABLE_WRITE_AHEAD_LOGGING) != 0) { in setMaxConnectionPoolSizeLocked()
1121 printer.println(" Configuration: openFlags=" + mConfiguration.openFlags in dump()
DSQLiteConnection.java128 private static native long nativeOpen(String path, int openFlags, String label, in nativeOpen() argument
179 mIsReadOnlyConnection = (configuration.openFlags & SQLiteDatabase.OPEN_READONLY) != 0; in SQLiteConnection()
224 mConnectionPtr = nativeOpen(file, mConfiguration.openFlags, in open()
331 (mConfiguration.openFlags & SQLiteDatabase.ENABLE_WRITE_AHEAD_LOGGING) != 0; in setWalModeFromConfiguration()
442 if ((mConfiguration.openFlags & SQLiteDatabase.NO_LOCALIZED_COLLATORS) != 0) { in setLocaleFromConfiguration()
559 boolean walModeChanged = ((configuration.openFlags ^ mConfiguration.openFlags) in reconfigure()
/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp81 const int openFlags; member
87 SQLiteConnection(sqlite3* db, int openFlags, const String8& path, const String8& label) : in SQLiteConnection()
88 db(db), openFlags(openFlags), path(path), label(label), canceled(false) { } in SQLiteConnection()
112 static jlong nativeOpen(JNIEnv* env, jclass clazz, jstring pathStr, jint openFlags, in nativeOpen() argument
116 if (openFlags & SQLiteConnection::CREATE_IF_NECESSARY) { in nativeOpen()
118 } else if (openFlags & SQLiteConnection::OPEN_READONLY) { in nativeOpen()
173 SQLiteConnection* connection = new SQLiteConnection(db, openFlags, path, label); in nativeOpen()
/frameworks/base/services/core/java/com/android/server/
DPinnerService.java938 int openFlags = (OsConstants.O_RDONLY | OsConstants.O_CLOEXEC); in pinFileRanges() local
939 fd = Os.open(fileToPin, openFlags, 0); in pinFileRanges()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt17605 Landroid/database/sqlite/SQLiteDatabaseConfiguration;->openFlags:I