Home | History | Annotate | Download | only in sqlite

Lines Matching defs:database

17 package android.database.sqlite;
19 import android.database.Cursor;
20 import android.database.CursorWindow;
21 import android.database.DatabaseUtils;
22 import android.database.sqlite.SQLiteDebug.DbStats;
42 * Represents a SQLite database connection.
45 * When database connection pooling is enabled, there can be multiple active
46 * connections to the same database. Otherwise there is typically only one
47 * connection per database.
50 * can concurrently access the database. Without WAL, readers and writers
57 * perform a database operation and are then returned to the pool. At any
204 // Closes the database closes and releases all of its associated resources.
343 // This error (SQLITE_BUSY) occurs if one connection has the database
346 // Because we always disable WAL mode when a database is first opened
348 // there is another open connection to the database somewhere.
350 // the same database in multiple processes at the same time or if there is a
358 Log.w(TAG, "Could not change the database journal mode of '"
360 + "' because the database is locked. This usually means that "
361 + "there are other open connections to the database which prevents "
362 + "the database from enabling or disabling write-ahead logging mode. "
376 // If the database is read-only, we cannot modify the android metadata table
476 * Returns true if this is the primary database connection.
477 * @return True if this is the primary database connection.
1040 + "might modify the database but the connection is read-only.");
1120 * Collects statistics about database connection memory usage.
1125 // Get information about the main database.
1138 // We ignore the first row in the database list because it corresponds to
1139 // the main database which we have already described.
1168 * Collects statistics about database connection memory usage, in the case where the
1179 // even if we do not own the database connection.
1235 * the native database object can be closed. So no finalizers here.