Searched refs:openFlags (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteDatabaseConfiguration.java | 64 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()
|
D | SQLiteDatabase.java | 289 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 …]
|
D | SQLiteConnectionPool.java | 289 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()
|
D | SQLiteConnection.java | 122 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/ |
D | android_database_SQLiteConnection.cpp | 83 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/ |
D | PinnerService.java | 784 int openFlags = (OsConstants.O_RDONLY | in pinFileRanges() local 787 fd = Os.open(fileToPin, openFlags, 0); in pinFileRanges()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |