/cts/tests/tests/database/src/android/database/cts/ |
DataSetObserverTest.java | 17 package android.database.cts; 19 import android.database.DataSetObserver;
|
SQLExceptionTest.java | 17 package android.database.cts; 19 import android.database.SQLException;
|
StaleDataExceptionTest.java | 17 package android.database.cts; 19 import android.database.StaleDataException;
|
CharArrayBufferTest.java | 16 package android.database.cts; 19 import android.database.CharArrayBuffer;
|
/frameworks/base/core/java/android/database/ |
IContentObserver.aidl | 18 package android.database;
|
CrossProcessCursorWrapper.java | 17 package android.database; 19 import android.database.CrossProcessCursor; 20 import android.database.Cursor; 21 import android.database.CursorWindow; 22 import android.database.CursorWrapper;
|
SQLException.java | 17 package android.database;
|
/packages/apps/Email/src/com/android/email/data/ |
ClosingMatrixCursor.java | 19 import android.database.Cursor; 20 import android.database.MatrixCursor;
|
/external/webkit/Source/WebCore/storage/ |
ChangeVersionWrapper.cpp | 31 #if ENABLE(DATABASE) 32 #include "Database.h" 47 ASSERT(transaction && transaction->database()); 51 if (!transaction->database()->getVersionFromDatabase(actualVersion)) { 52 LOG_ERROR("Unable to retrieve actual current version from database"); 53 m_sqlError = SQLError::create(SQLError::UNKNOWN_ERR, "unable to verify current version of database"); 59 m_sqlError = SQLError::create(SQLError::VERSION_ERR, "current version of the database and `oldVersion` argument do not match"); 68 ASSERT(transaction && transaction->database()); 70 if (!transaction->database()->setVersionInDatabase(m_newVersion)) { 71 LOG_ERROR("Unable to set new version in database"); [all...] |
DatabaseThread.cpp | 32 #if ENABLE(DATABASE) 35 #include "Database.h" 66 m_threadID = createThread(DatabaseThread::databaseThreadStart, this, "WebCore: Database"); 111 // Clean up the list of all pending transactions on this database thread 116 // Close the databases that we ran transactions on. This ensures that if any transactions are still open, they are rolled back and we don't leave the database in an 141 void DatabaseThread::recordDatabaseOpen(Database* database) 144 ASSERT(database); 145 ASSERT(!m_openDatabaseSet.contains(database)); 146 m_openDatabaseSet.add(database); [all...] |
IDBDatabaseBackendImpl.cpp | 112 RefPtr<IDBDatabaseBackendImpl> database = this; local 114 if (!transaction->scheduleTask(createCallbackTask(&IDBDatabaseBackendImpl::createObjectStoreInternal, database, objectStore, transaction), 115 createCallbackTask(&IDBDatabaseBackendImpl::removeObjectStoreFromMap, database, objectStore))) { 124 void IDBDatabaseBackendImpl::createObjectStoreInternal(ScriptExecutionContext*, PassRefPtr<IDBDatabaseBackendImpl> database, PassRefPtr<IDBObjectStoreBackendImpl> objectStore, PassRefPtr<IDBTransactionBackendInterface> transaction) 128 if (!database->m_backingStore->createObjectStore(database->id(), objectStore->name(), objectStore->keyPath(), objectStore->autoIncrement(), objectStoreId)) { 149 RefPtr<IDBDatabaseBackendImpl> database = this; local 151 if (!transaction->scheduleTask(createCallbackTask(&IDBDatabaseBackendImpl::deleteObjectStoreInternal, database, objectStore, transaction), 152 createCallbackTask(&IDBDatabaseBackendImpl::addObjectStoreToMap, database, objectStore))) { 159 void IDBDatabaseBackendImpl::deleteObjectStoreInternal(ScriptExecutionContext*, PassRefPtr<IDBDatabaseBackendImpl> database, PassRefPtr<IDBObjectStoreBackendImpl> objectStore, PassRefPtr<IDBTransactionBackendInterface> tra (…) 185 RefPtr<IDBDatabaseBackendImpl> database = this; local [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...] |
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...] |
/external/webkit/Source/WebKit/qt/tests/qwebplugindatabase/ |
tst_qwebplugindatabase.cpp | 98 QWebPluginDatabase* database = QWebSettings::pluginDatabase(); local 99 QList<QWebPluginInfo> plugins = database->plugins(); 100 QStringList directories = database->searchPaths(); 103 database->setSearchPaths(directories); 105 QCOMPARE(database->searchPaths(), directories); 106 QCOMPARE(database->plugins(), plugins); 107 database->refresh(); 108 QCOMPARE(database->plugins(), plugins); 110 database->setSearchPaths(QStringList()); 112 QCOMPARE(database->searchPaths(), QStringList()) 175 QWebPluginDatabase* database = QWebSettings::pluginDatabase(); local 216 QWebPluginDatabase* database = QWebSettings::pluginDatabase(); local 277 QWebPluginDatabase* database = QWebSettings::pluginDatabase(); local 306 QWebPluginDatabase* database = QWebSettings::pluginDatabase(); local 406 QWebPluginDatabase* database = QWebSettings::pluginDatabase(); local [all...] |
/external/webkit/Source/WebCore/inspector/ |
InspectorDatabaseResource.cpp | 34 #if ENABLE(DATABASE) && ENABLE(INSPECTOR) 35 #include "Database.h" 43 PassRefPtr<InspectorDatabaseResource> InspectorDatabaseResource::create(PassRefPtr<Database> database, const String& domain, const String& name, const String& version) 45 return adoptRef(new InspectorDatabaseResource(database, domain, name, version)); 48 InspectorDatabaseResource::InspectorDatabaseResource(PassRefPtr<Database> database, const String& domain, const String& name, const String& version) 49 : m_database(database) 57 void InspectorDatabaseResource::bind(InspectorFrontend::Database* frontend) 69 #endif // ENABLE(DATABASE) && ENABLE(INSPECTOR [all...] |
InspectorDatabaseResource.h | 34 #if ENABLE(DATABASE) 42 class Database; 47 static PassRefPtr<InspectorDatabaseResource> create(PassRefPtr<Database> database, const String& domain, const String& name, const String& version); 49 void bind(InspectorFrontend::Database*); 50 Database* database() { return m_database.get(); } function in class:WebCore::InspectorDatabaseResource 51 void setDatabase(PassRefPtr<Database> database) { m_database = database; } [all...] |
InspectorDatabaseInstrumentation.h | 34 #include "Database.h" 40 #if ENABLE(DATABASE) 41 inline void InspectorInstrumentation::didOpenDatabase(ScriptExecutionContext* context, PassRefPtr<Database> database, const String& domain, const String& name, const String& version) 45 didOpenDatabaseImpl(inspectorAgent, database, domain, name, version);
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
TextWithHighlighting.java | 18 import android.database.CharArrayBuffer;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
CloseUtils.java | 18 import android.database.Cursor; 21 * Utility methods for closing database cursors.
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
OpenWnnSQLiteOpenHelper.java | 20 import android.database.sqlite.SQLiteDatabase; 21 import android.database.sqlite.SQLiteOpenHelper;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DatabaseModifier.java | 21 import android.database.DatabaseUtils; 22 import android.database.sqlite.SQLiteDatabase; 25 * An interface which wraps key database modify operations (insert, update, delete) to perform 26 * additional tasks before or after the database modification operation. A typical use case is to 27 * generate notification when a database is modified.
|
/external/webkit/Source/WebCore/storage/wince/ |
DatabaseThreadWinCE.cpp | 27 #include "Database.h" 74 void DatabaseThread::unscheduleDatabaseTasks(Database* database) 78 if ((*i)->database() != database) 85 void DatabaseThread::recordDatabaseOpen(Database* database) 90 void DatabaseThread::recordDatabaseClosed(Database* database)
|
/external/webkit/Source/WebKit/gtk/tests/ |
testwebplugindatabase.c | 34 WebKitWebPluginDatabase* database; local 42 database = webkit_get_web_plugin_database(); 43 pluginList = webkit_web_plugin_database_get_plugins(database); 57 webkit_web_plugin_database_refresh(database); 58 pluginList = webkit_web_plugin_database_get_plugins(database);
|
/external/webkit/Source/WebKit/gtk/webkit/ |
webkiticondatabase.h | 59 webkit_icon_database_get_path (WebKitIconDatabase* database); 62 webkit_icon_database_set_path (WebKitIconDatabase* database, 66 webkit_icon_database_get_icon_uri (WebKitIconDatabase* database, 70 webkit_icon_database_get_icon_pixbuf (WebKitIconDatabase* database, 74 webkit_icon_database_clear (WebKitIconDatabase* database);
|
/external/webkit/Source/WebCore/platform/sql/chromium/ |
SQLiteFileSystemChromium.cpp | 47 int SQLiteFileSystem::openDatabase(const String& fileName, sqlite3** database, bool forWebSQLDatabase) 51 return sqlite3_open16(path.charactersWithNullTermination(), database); 54 return sqlite3_open_v2(fileName.utf8().data(), database, SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE, "chromium_vfs");
|