/cts/tests/tests/database/src/android/database/cts/ |
CharArrayBufferTest.java | 16 package android.database.cts; 19 import android.database.CharArrayBuffer;
|
CursorIndexOutOfBoundsExceptionTest.java | 17 package android.database.cts; 19 import android.database.CursorIndexOutOfBoundsException;
|
/external/chromium_org/components/test/data/autofill/merge/tools/ |
serialize_profiles.py | 14 """Serializes the autofill_profiles table from the specified database.""" 17 print "Usage: python serialize_profiles.py <path/to/database>" 20 database = sys.argv[1] 21 if not os.path.isfile(database): 22 print "Cannot read database at \"%s\"" % database 27 connection = sqlite3.connect(database, 0) 32 database) 49 database) 61 print "Failed to read the autofill_profiles table from \"%s\"" % database [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/ |
DatabaseServer.cpp | 29 #include "modules/webdatabase/Database.h" 58 RefPtr<DatabaseBackendBase> database; local 60 database = createDatabase(backendContext, type, name, expectedVersion, displayName, estimatedSize, setVersionInNewDatabase, error, errorMessage); 61 return database.release(); 68 RefPtr<DatabaseBackendBase> database; local 71 database = adoptRef(new Database(backendContext, name, expectedVersion, displayName, estimatedSize)); 74 database = adoptRef(new DatabaseSync(backendContext, name, expectedVersion, displayName, estimatedSize)); 77 if (!database->openAndVerifyVersion(setVersionInNewDatabase, error, errorMessage)) 79 return database.release() [all...] |
SQLStatement.cpp | 37 #include "modules/webdatabase/Database.h" 46 PassOwnPtr<SQLStatement> SQLStatement::create(Database* database, 49 return adoptPtr(new SQLStatement(database, callback, errorCallback)); 52 SQLStatement::SQLStatement(Database* database, PassRefPtr<SQLStatementCallback> callback, 54 : m_statementCallbackWrapper(callback, database->scriptExecutionContext()) 55 , m_statementErrorCallbackWrapper(errorCallback, database->scriptExecutionContext())
|
SQLStatementSync.cpp | 58 SQLiteDatabase* database = &db->sqliteDatabase(); local 60 SQLiteStatement statement(*database, m_statement); 67 db->setLastErrorMessage("could not prepare statement", result, database->lastErrorMsg()); 90 db->setLastErrorMessage("could not bind value", result, database->lastErrorMsg()); 115 db->setLastErrorMessage("could not iterate results", result, database->lastErrorMsg()); 121 resultSet->setInsertId(database->lastInsertRowID()); 133 db->setLastErrorMessage("could not execute statement", result, database->lastErrorMsg()); 137 resultSet->setRowsAffected(database->lastChanges());
|
WindowWebDatabase.idl | 30 [EnabledAtRuntime=database, MeasureAs=OpenWebDatabase, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, RaisesException] Database openDatabase(DOMString name, DOMString version, DOMString displayName, unsigned long estimatedSize, optional DatabaseCallback creationCallback);
|
DatabaseManager.cpp | 34 #include "modules/webdatabase/Database.h" 71 static PassOwnPtr<DatabaseCreationCallbackTask> create(PassRefPtr<Database> database, PassRefPtr<DatabaseCallback> creationCallback) 73 return adoptPtr(new DatabaseCreationCallbackTask(database, creationCallback)); 82 DatabaseCreationCallbackTask(PassRefPtr<Database> database, PassRefPtr<DatabaseCallback> callback) 83 : m_database(database) 88 RefPtr<Database> m_database; 180 LOG(StorageAPI, "Database %s for origin %s not allowed to be established", name.ascii().data(), 219 PassRefPtr<Database> DatabaseManager::openDatabase(ScriptExecutionContext* context [all...] |
SQLStatementBackend.cpp | 122 SQLiteDatabase* database = &db->sqliteDatabase(); local 124 SQLiteStatement statement(*database, m_statement); 128 LOG(StorageAPI, "Unable to verify correctness of statement %s - error %i (%s)", m_statement.ascii().data(), result, database->lastErrorMsg()); 132 m_error = SQLError::create(SQLError::SYNTAX_ERR, "could not prepare statement", result, database->lastErrorMsg()); 156 m_error = SQLError::create(SQLError::DATABASE_ERR, "could not bind value", result, database->lastErrorMsg()); 181 m_error = SQLError::create(SQLError::DATABASE_ERR, "could not iterate results", result, database->lastErrorMsg()); 187 resultSet->setInsertId(database->lastInsertRowID()); 194 m_error = SQLError::create(SQLError::CONSTRAINT_ERR, "could not execute statement due to a constaint failure", result, database->lastErrorMsg()); 198 m_error = SQLError::create(SQLError::DATABASE_ERR, "could not execute statement", result, database->lastErrorMsg()); 205 resultSet->setRowsAffected(database->lastChanges()) [all...] |
/packages/apps/Email/src/com/android/email/data/ |
ClosingMatrixCursor.java | 19 import android.database.Cursor; 20 import android.database.MatrixCursor;
|
/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/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
SQLiteStatementTest.java | 3 import android.database.sqlite.SQLiteDatabase; 4 import android.database.sqlite.SQLiteDoneException; 5 import android.database.sqlite.SQLiteStatement; 21 private SQLiteDatabase database; field in class:SQLiteStatementTest 25 database = SQLiteDatabase.openDatabase("path", null, 0); 26 SQLiteStatement createStatement = database.compileStatement("CREATE TABLE `routine` (`id` INTEGER PRIMARY KEY AUTOINCREMENT , `name` VARCHAR , `lastUsed` INTEGER DEFAULT 0 , UNIQUE (`name`)) ;"); 29 SQLiteStatement createStatement2 = database.compileStatement("CREATE TABLE `countme` (`id` INTEGER PRIMARY KEY AUTOINCREMENT , `name` VARCHAR , `lastUsed` INTEGER DEFAULT 0 , UNIQUE (`name`)) ;"); 35 database.close(); 40 SQLiteStatement insertStatement = database.compileStatement("INSERT INTO `routine` (`name` ,`lastUsed` ) VALUES (?,?)"); 52 Statement statement = shadowOf(database).getConnection().createStatement() [all...] |
/external/chromium_org/webkit/browser/fileapi/ |
sandbox_isolated_origin_database_unittest.cc | 19 SandboxIsolatedOriginDatabase database(kOrigin, dir.path()); 21 EXPECT_TRUE(database.HasOriginPath(kOrigin)); 25 EXPECT_FALSE(database.GetPathForOrigin(std::string(), &path1)); 26 EXPECT_FALSE(database.GetPathForOrigin("foo", &path1)); 28 EXPECT_TRUE(database.HasOriginPath(kOrigin)); 29 EXPECT_TRUE(database.GetPathForOrigin(kOrigin, &path1)); 30 EXPECT_TRUE(database.GetPathForOrigin(kOrigin, &path2)); 65 SandboxIsolatedOriginDatabase database(kOrigin, dir.path()); 67 // The database is migrated from the old one, so we should still 69 EXPECT_TRUE(database.HasOriginPath(kOrigin)) [all...] |
sandbox_isolated_origin_database.cc | 61 SandboxOriginDatabase* database) { 65 if (database->HasOriginPath(origin)) { 72 if (database->GetPathForOrigin(origin, &directory_name)) { 85 // See if we have non-isolated version of sandbox database. 86 scoped_ptr<SandboxOriginDatabase> database( 88 if (!database->HasOriginPath(origin_)) 92 if (database->GetPathForOrigin(origin_, &directory_name) && 102 database->RemoveDatabase();
|
/external/chromium_org/third_party/WebKit/Source/web/ |
DatabaseObserver.cpp | 157 void DatabaseObserver::databaseOpened(DatabaseBackendBase* database) 159 ASSERT(database->databaseContext()->scriptExecutionContext()->isContextThread()); 160 WebDatabase::observer()->databaseOpened(WebDatabase(database)); 163 void DatabaseObserver::databaseModified(DatabaseBackendBase* database) 165 ASSERT(database->databaseContext()->scriptExecutionContext()->isContextThread()); 166 WebDatabase::observer()->databaseModified(WebDatabase(database)); 169 void DatabaseObserver::databaseClosed(DatabaseBackendBase* database) 171 ASSERT(database->databaseContext()->scriptExecutionContext()->isContextThread()); 172 WebDatabase::observer()->databaseClosed(WebDatabase(database)); 175 void DatabaseObserver::reportOpenDatabaseResult(DatabaseBackendBase* database, int errorSite, int webSqlErrorCode, int sqliteErrorCode [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/sql/chromium/ |
SQLiteFileSystemChromium.cpp | 46 int SQLiteFileSystem::openDatabase(const String& filename, sqlite3** database, bool forWebSQLDatabase) 49 return sqlite3_open(filename.utf8().data(), database); 51 return sqlite3_open_v2(filename.utf8().data(), database, SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE, "chromium_vfs");
|
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/ |
IDBDatabaseCallbacksImpl.cpp | 59 void IDBDatabaseCallbacksImpl::connect(IDBDatabase* database) 62 ASSERT(database); 63 m_database = database;
|
/frameworks/base/media/java/android/mtp/ |
MtpServer.java | 31 public MtpServer(MtpDatabase database, boolean usePtp) { 32 native_setup(database, usePtp); 62 private native final void native_setup(MtpDatabase database, boolean usePtp);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
AggregatorStorage.java | 20 import android.database.SQLException; 21 import android.database.sqlite.SQLiteDatabase; 22 import android.database.sqlite.SQLiteOpenHelper; 25 // Base Helper class for aggregator storage database 50 Log.w(TAG, "Upgrading database from version " + oldVersion + " to "
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/ |
EmptyCursor.java | 17 package com.android.contacts.common.database; 19 import android.database.AbstractCursor; 20 import android.database.CursorIndexOutOfBoundsException;
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationCursorOperationListener.java | 19 import android.database.Cursor; 20 import android.database.CursorWrapper;
|
/external/chromium_org/content/browser/indexed_db/ |
indexed_db_connection.h | 25 IndexedDBDatabase* database() { return database_; } function in class:content::IndexedDBConnection
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
DatabaseTableView.js | 30 WebInspector.DatabaseTableView = function(database, tableName) 34 this.database = database; 66 this.database.executeSql("SELECT * FROM \"" + this._escapeTableName(this.tableName) + "\"", this._queryFinished.bind(this), this._queryError.bind(this));
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSQLiteCloseable.java | 3 import android.database.sqlite.SQLiteClosable;
|