Searched refs:openFlags (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDatabaseConfiguration.java62 public int openFlags; field in class:SQLiteDatabaseConfiguration
97 * @param openFlags Open flags for the database, such as {@link SQLiteDatabase#OPEN_READWRITE}.
99 public SQLiteDatabaseConfiguration(String path, int openFlags) { argument
106 this.openFlags = openFlags;
143 openFlags = other.openFlags;
H A DSQLiteDatabase.java254 private SQLiteDatabase(String path, int openFlags, CursorFactory cursorFactory, argument
258 mConfigurationLocked = new SQLiteDatabaseConfiguration(path, openFlags);
774 final int oldOpenFlags = mConfigurationLocked.openFlags;
775 mConfigurationLocked.openFlags = (mConfigurationLocked.openFlags & ~OPEN_READ_MASK)
780 mConfigurationLocked.openFlags = oldOpenFlags;
1686 return (mConfigurationLocked.openFlags & OPEN_READ_MASK) == OPEN_READONLY;
1920 if ((mConfigurationLocked.openFlags & ENABLE_WRITE_AHEAD_LOGGING) != 0) {
1945 mConfigurationLocked.openFlags |= ENABLE_WRITE_AHEAD_LOGGING;
1949 mConfigurationLocked.openFlags
[all...]
H A DSQLiteConnectionPool.java262 boolean walModeChanged = ((configuration.openFlags ^ mConfiguration.openFlags)
294 if (mConfiguration.openFlags != configuration.openFlags) {
949 if ((mConfiguration.openFlags & SQLiteDatabase.ENABLE_WRITE_AHEAD_LOGGING) != 0) {
H A DSQLiteConnection.java120 private static native int nativeOpen(String path, int openFlags, String label, argument
167 mIsReadOnlyConnection = (configuration.openFlags & SQLiteDatabase.OPEN_READONLY) != 0;
209 mConnectionPtr = nativeOpen(mConfiguration.path, mConfiguration.openFlags,
283 if ((mConfiguration.openFlags & SQLiteDatabase.ENABLE_WRITE_AHEAD_LOGGING) != 0) {
348 if ((mConfiguration.openFlags & SQLiteDatabase.NO_LOCALIZED_COLLATORS) != 0) {
407 boolean walModeChanged = ((configuration.openFlags ^ mConfiguration.openFlags)
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteConnection.cpp80 const int openFlags; member in struct:android::SQLiteConnection
86 SQLiteConnection(sqlite3* db, int openFlags, const String8& path, const String8& label) : argument
87 db(db), openFlags(openFlags), path(path), label(label), canceled(false) { }
111 static jint nativeOpen(JNIEnv* env, jclass clazz, jstring pathStr, jint openFlags, argument
114 if (openFlags & SQLiteConnection::CREATE_IF_NECESSARY) {
116 } else if (openFlags & SQLiteConnection::OPEN_READONLY) {
161 SQLiteConnection* connection = new SQLiteConnection(db, openFlags, path, label);

Completed in 16 milliseconds