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.java64 public int openFlags; field in SQLiteDatabaseConfiguration
136 public SQLiteDatabaseConfiguration(String path, int openFlags) { in SQLiteDatabaseConfiguration() argument
143 this.openFlags = openFlags; in SQLiteDatabaseConfiguration()
180 openFlags = other.openFlags; in updateParametersFrom()
203 && (openFlags & SQLiteDatabase.ENABLE_LEGACY_COMPATIBILITY_WAL) != 0; in isLegacyCompatibilityWalEnabled()
DSQLiteDatabase.java289 private SQLiteDatabase(final String path, final int openFlags, in SQLiteDatabase() argument
295 mConfigurationLocked = new SQLiteDatabaseConfiguration(path, openFlags); in SQLiteDatabase()
318 mConfigurationLocked.openFlags |= ENABLE_LEGACY_COMPATIBILITY_WAL; in SQLiteDatabase()
880 final int oldOpenFlags = mConfigurationLocked.openFlags; in reopenReadWrite()
881 mConfigurationLocked.openFlags = (mConfigurationLocked.openFlags & ~OPEN_READ_MASK) in reopenReadWrite()
886 mConfigurationLocked.openFlags = oldOpenFlags; in reopenReadWrite()
1846 return (mConfigurationLocked.openFlags & OPEN_READ_MASK) == OPEN_READONLY; in isReadOnlyLocked()
2079 if ((mConfigurationLocked.openFlags & ENABLE_WRITE_AHEAD_LOGGING) != 0) { in enableWriteAheadLogging()
2104 mConfigurationLocked.openFlags |= ENABLE_WRITE_AHEAD_LOGGING; in enableWriteAheadLogging()
2108 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.java122 private static native long nativeOpen(String path, int openFlags, String label, in nativeOpen() argument
171 mIsReadOnlyConnection = (configuration.openFlags & SQLiteDatabase.OPEN_READONLY) != 0; in SQLiteConnection()
215 mConnectionPtr = nativeOpen(mConfiguration.path, mConfiguration.openFlags, in open()
300 (mConfiguration.openFlags & SQLiteDatabase.ENABLE_WRITE_AHEAD_LOGGING) != 0; in setWalModeFromConfiguration()
411 if ((mConfiguration.openFlags & SQLiteDatabase.NO_LOCALIZED_COLLATORS) != 0) { in setLocaleFromConfiguration()
506 boolean walModeChanged = ((configuration.openFlags ^ mConfiguration.openFlags) in reconfigure()
/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp83 const int openFlags; member
89 SQLiteConnection(sqlite3* db, int openFlags, const String8& path, const String8& label) : in SQLiteConnection()
90 db(db), openFlags(openFlags), path(path), label(label), canceled(false) { } in SQLiteConnection()
114 static jlong nativeOpen(JNIEnv* env, jclass clazz, jstring pathStr, jint openFlags, in nativeOpen() argument
118 if (openFlags & SQLiteConnection::CREATE_IF_NECESSARY) { in nativeOpen()
120 } else if (openFlags & SQLiteConnection::OPEN_READONLY) { in nativeOpen()
175 SQLiteConnection* connection = new SQLiteConnection(db, openFlags, path, label); in nativeOpen()
/frameworks/base/services/core/java/com/android/server/
DPinnerService.java784 int openFlags = (OsConstants.O_RDONLY | in pinFileRanges() local
787 fd = Os.open(fileToPin, openFlags, 0); in pinFileRanges()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...