/frameworks/base/core/java/android/database/ |
package.html | 5 If you need to manage data in a private database, use the {@link 6 android.database.sqlite} classes. These classes are used to manage the {@link 7 android.database.Cursor} object returned from a content provider query. Databases
|
/frameworks/base/core/java/android/database/sqlite/ |
DatabaseObjectNotClosedException.java | 17 package android.database.sqlite; 20 * An exception that indicates that garbage-collector is finalizing a database object 25 private static final String s = "Application did not close the cursor or database object " +
|
/libcore/luni/src/test/java/libcore/sqlite/ |
OldExceptionTest.java | 19 import SQLite.Database; 24 private Database db = null; 28 db = new Database();
|
/external/chromium/chrome/browser/history/ |
archived_database.h | 20 // Encapsulates the database operations for archived history. 23 // different than those in the main database. This is to eliminate the 32 // Initializes the database connection. This must return true before any other 36 // Transactions on the database. We support nested transactions and only 47 // database is too old to migrate, the user will be notified. In this case, or 55 // The database.
|
/external/webkit/Source/WebCore/storage/ |
IDBDatabaseCallbacksImpl.cpp | 35 PassRefPtr<IDBDatabaseCallbacksImpl> IDBDatabaseCallbacksImpl::create(IDBDatabase* database) 37 return adoptRef(new IDBDatabaseCallbacksImpl(database)); 40 IDBDatabaseCallbacksImpl::IDBDatabaseCallbacksImpl(IDBDatabase* database) 41 : m_database(database) 55 void IDBDatabaseCallbacksImpl::unregisterDatabase(IDBDatabase* database) 57 ASSERT(database == m_database);
|
DatabaseSync.cpp | 34 #if ENABLE(DATABASE) 55 LOG(StorageAPI, "Database %s for origin %s not allowed to be established", name.ascii().data(), context->securityOrigin()->toString().ascii().data()); 59 RefPtr<DatabaseSync> database = adoptRef(new DatabaseSync(context, name, expectedVersion, displayName, estimatedSize)); local 61 if (!database->performOpenAndVerify(!creationCallback, ec)) { 62 LOG(StorageAPI, "Failed to open and verify version (expected %s) of database %s", expectedVersion.ascii().data(), database->databaseDebugName().ascii().data()); 63 DatabaseTracker::tracker().removeOpenDatabase(database.get()); 69 if (database->isNew() && creationCallback.get()) { 70 database->m_expectedVersion = ""; 71 LOG(StorageAPI, "Invoking the creation callback for database %p\n", database.get()) [all...] |
SQLStatement.cpp | 31 #if ENABLE(DATABASE) 33 #include "Database.h" 46 PassRefPtr<SQLStatement> SQLStatement::create(Database* database, const String& statement, const Vector<SQLValue>& arguments, PassRefPtr<SQLStatementCallback> callback, PassRefPtr<SQLStatementErrorCallback> errorCallback, int permissions) 48 return adoptRef(new SQLStatement(database, statement, arguments, callback, errorCallback, permissions)); 51 SQLStatement::SQLStatement(Database* database, const String& statement, const Vector<SQLValue>& arguments, PassRefPtr<SQLStatementCallback> callback, PassRefPtr<SQLStatementErrorCallback> errorCallback, int permissions) 54 , m_statementCallbackWrapper(callback, database->scriptExecutionContext()) 55 , m_statementErrorCallbackWrapper(errorCallback, database->scriptExecutionContext()) 60 bool SQLStatement::execute(Database* db 74 SQLiteDatabase* database = &db->sqliteDatabase(); local [all...] |
DatabaseCallback.idl | 31 Conditional=DATABASE, 34 boolean handleEvent(in Database database); 35 boolean handleEvent(in DatabaseSync database);
|
DatabaseThread.h | 31 #if ENABLE(DATABASE) 44 class Database; 62 void unscheduleDatabaseTasks(Database*); 64 void recordDatabaseOpen(Database*); 65 void recordDatabaseClosed(Database*); 84 typedef HashSet<RefPtr<Database> > DatabaseSet; 94 #endif // ENABLE(DATABASE)
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
MetaData.java | 22 import android.database.Cursor; 23 import android.database.sqlite.SQLiteDatabase; 24 import android.database.sqlite.SQLiteOpenHelper; 30 * values to avoid repeatedly banging on the database. It is also used 31 * for writing the values back to the database, while maintaining the 38 * These fields are updated atomically with the database. 49 * The cached copy of the meta-data fields from the database. 75 * database lock to read all the fields atomically. 84 // If the fields have not been initialized from the database, 85 // then read the database [all...] |
/external/webkit/Source/WebKit/mac/Storage/ |
WebDatabaseManagerPrivate.h | 29 #if ENABLE(DATABASE) 37 // Posted with an origin is created from scratch, gets a new database, has a database deleted, has a quota change, etc 41 // Posted when a database is created, its size increases, its display name changes, or its estimated size changes, or the database is removed 43 // The notification userInfo will have a WebDatabaseNameKey whose value is the database name. 56 // Will return an array of strings, the identifiers of each database in the given origin. 59 // Will return the dictionary describing everything about the database for the passed identifier and origin.
|
/frameworks/base/docs/html/sdk/api_diff/11/changes/ |
android.database.DatabaseUtils.html | 10 android.database.DatabaseUtils 74 Class android.database.<A HREF="../../../../reference/android/database/DatabaseUtils.html" target="_top"><font size="+2"><code>DatabaseUtils</code></font></A> 86 <A NAME="android.database.DatabaseUtils.appendSelectionArgs_added(java.lang.String[], java.lang.String[])"></A> 87 <nobr><code>String[]</code> <A HREF="../../../../reference/android/database/DatabaseUtils.html#appendSelectionArgs(java.lang.String[], java.lang.String[])" target="_top"><code>appendSelectionArgs</code></A>(<code>String[],</nobr> String[]<nobr><nobr></code>)</nobr> 93 <A NAME="android.database.DatabaseUtils.blobFileDescriptorForQuery_added(android.database.sqlite.SQLiteDatabase, java.lang.String, java.lang.String[])"></A> 94 <nobr><code>ParcelFileDescriptor</code> <A HREF="../../../../reference/android/database/DatabaseUtils.html#blobFileDescriptorForQuery(android.database.sqlite.SQLiteDatabase, java.lang.String, java.lang.String[])" target="_top"><code>blobFileDescriptorForQuery</code></A>(<code>SQLiteDatabase,</nobr> String<nobr>,</nobr> String[]<nobr><nobr></code>)</nobr> 100 <A NAME="android.database.DatabaseUtils.blobFileDescriptorForQuery_added(android.database.sqlite.SQLiteStatement, java.lang. (…) [all...] |
/external/webkit/Source/WebCore/inspector/ |
InspectorDatabaseAgent.cpp | 33 #if ENABLE(INSPECTOR) && ENABLE(DATABASE) 35 #include "Database.h" 69 InspectorFrontend::Database* frontend() { return m_inspectorFrontend; } 72 FrontendProvider(InspectorFrontend* inspectorFrontend) : m_inspectorFrontend(inspectorFrontend->database()) { } 73 InspectorFrontend::Database* m_inspectorFrontend; 80 void reportTransactionFailed(InspectorFrontend::Database* frontend, int transactionId, SQLError* error) 226 void InspectorDatabaseAgent::didOpenDatabase(PassRefPtr<Database> database, const String& domain, const String& name, const String& version) 228 if (InspectorDatabaseResource* resource = findByFileName(database->fileName())) { 229 resource->setDatabase(database); 302 Database* database = databaseForId(databaseId); local 318 Database* database = databaseForId(databaseId); local [all...] |
/libcore/luni/src/main/java/java/sql/ |
ResultSetMetaData.java | 47 * if there is a database error. 59 * if there is a database error. 69 * if there is a database error. 81 * if there is a database error. 93 * if there is a database error. 104 * if there is a database error. 115 * if there is a database error. 127 * if there is a database error. 138 * if there is a database error. 150 * if there is a database error [all...] |
SQLOutput.java | 27 * Defined Type</i> (UDT) to the database. This interface is used for custom 49 * if a database error occurs. 59 * if a database error occurs. 69 * if a database error occurs. 79 * if a database error occurs. 89 * if a database error occurs. 99 * if a database error occurs. 109 * if a database error occurs. 119 * if a database error occurs. 129 * if a database error occurs [all...] |
/external/webkit/LayoutTests/storage/ |
change-version-handle-reuse-expected.txt | 1 This tests that a database can be accessed after changing its version. You should see an error about FooBar table below, not about mismatching versions.
|
close-during-stress-test-expected.txt | 3 A JavaScript failure on the console is expected, however, as the global object is cleared when closing a frame. It actually helps to cause database activity by throwing an exception from a callback.
|
execute-sql-args.html | 3 <script src="resources/database-common.js"></script>
|
multiple-transactions-on-different-handles-expected.txt | 1 This is a test to see if queueing up multiple transactions on different handles to the same database results in a deadlock.
|
read-and-write-transactions-dont-run-together-expected.txt | 1 This test tests that read and write transactions on different handles to the same database don't run together.
|
sql-data-types-expected.txt | 6 PASS: database clean up ok.
|
sql-error-codes.html | 3 <script src="resources/database-common.js"></script>
|
transaction-error-callback.html | 12 // we first retrieve and store the number of rows already in our test database. 15 var database; 36 database.transaction(function(tx) 49 database.transaction(function(tx) 59 database.transaction(function(tx) 76 database = openDatabase("ErrorCallbackDatabase", "1.0", "Test for error callback", 1); 77 database.transaction(function(tx)
|
/external/webkit/LayoutTests/storage/resources/ |
stress-frame.html | 9 db = openDatabase("StressTest2", "1.0", "Database stress test", 200000); 11 alert("Failed to open the database on disk. This is probably because the version was bad or there is not enough space left in this domain's quota"); 13 alert("Couldn't open the database. Please try with a WebKit nightly with this feature enabled"); 39 alert('Failed to retrieve notes from database - ' + error.message);
|
/external/webkit/Source/WebCore/manual-tests/ |
database-threading-stress-test-2.html | 9 db = openDatabase("StressTest2", "1.0", "Database stress test", 200000); 11 alert("Failed to open the database on disk. This is probably because the version was bad or there is not enough space left in this domain's quota"); 13 alert("Couldn't open the database. Please try with a WebKit nightly with this feature enabled"); 39 alert('Failed to retrieve notes from database - ' + error.message);
|