HomeSort by relevance Sort by last modified time
    Searched refs:database (Results 76 - 100 of 1800) sorted by null

1 2 34 5 6 7 8 91011>>

  /packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
CloseUtils.java 18 import android.database.Cursor;
21 * Utility methods for closing database cursors.
  /external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
DatabaseThread.cpp 32 #include "modules/webdatabase/Database.h"
69 m_thread = WebThreadSupportingGC::create("WebCore: Database");
90 // The WebThread destructor blocks until all the tasks of the database
92 // the database thread has already finished processing the cleanup task.
106 // Clean up the list of all pending transactions on this database thread
109 // 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
113 WillBeHeapHashSet<RefPtrWillBeMember<Database> > openSetCopy;
115 WillBeHeapHashSet<RefPtrWillBeMember<Database> >::iterator end = openSetCopy.end();
116 for (WillBeHeapHashSet<RefPtrWillBeMember<Database> >::iterator it = openSetCopy.begin(); it != end; ++it)
130 void DatabaseThread::recordDatabaseOpen(Database* database
    [all...]
SQLStatementBackend.cpp 31 #include "modules/webdatabase/Database.h"
114 bool SQLStatementBackend::execute(Database* db)
128 SQLiteDatabase* database = &db->sqliteDatabase(); local
130 SQLiteStatement statement(*database, m_statement);
134 WTF_LOG(StorageAPI, "Unable to verify correctness of statement %s - error %i (%s)", m_statement.ascii().data(), result, database->lastErrorMsg());
138 m_error = SQLErrorData::create(SQLError::SYNTAX_ERR, "could not prepare statement", result, database->lastErrorMsg());
162 m_error = SQLErrorData::create(SQLError::DATABASE_ERR, "could not bind value", result, database->lastErrorMsg());
185 m_error = SQLErrorData::create(SQLError::DATABASE_ERR, "could not iterate results", result, database->lastErrorMsg());
191 m_resultSet->setInsertId(database->lastInsertRowID());
198 m_error = SQLErrorData::create(SQLError::CONSTRAINT_ERR, "could not execute statement due to a constaint failure", result, database->lastErrorMsg())
    [all...]
InspectorDatabaseResource.h 41 class Database;
46 static PassRefPtrWillBeRawPtr<InspectorDatabaseResource> create(PassRefPtrWillBeRawPtr<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:blink::InspectorDatabaseResource
51 void setDatabase(PassRefPtrWillBeRawPtr<Database> database) { m_database = database; }
55 InspectorDatabaseResource(PassRefPtrWillBeRawPtr<Database>, const String& domain, const String& name, const String& version);
57 RefPtrWillBeMember<Database> m_database
    [all...]
  /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...]
  /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/chromium_org/content/browser/service_worker/
service_worker_database_unittest.cc 81 scoped_ptr<ServiceWorkerDatabase> database(
84 // Should be false because the database does not exist at the path.
86 database->LazyOpen(false));
88 EXPECT_EQ(ServiceWorkerDatabase::STATUS_OK, database->LazyOpen(true));
90 database.reset(CreateDatabase(database_dir.path()));
91 EXPECT_EQ(ServiceWorkerDatabase::STATUS_OK, database->LazyOpen(false));
95 scoped_ptr<ServiceWorkerDatabase> database(CreateDatabaseInMemory());
97 // Should be false because the database does not exist in memory.
99 database->LazyOpen(false));
101 EXPECT_EQ(ServiceWorkerDatabase::STATUS_OK, database->LazyOpen(true))
    [all...]
  /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...]
  /bionic/libc/dns/net/
nsdispatch.c 79 _nsmethod(const char *source, const char *database __unused, const char *method __unused,
99 nsdispatch(void *retval, const ns_dtab disp_tab[], const char *database,
111 assert(database != NULL);
114 if (database == NULL || method == NULL || defaults == NULL)
125 cb = _nsmethod(srclist[i].name, database, method,
  /external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
IDBDatabaseCallbacks.cpp 64 void IDBDatabaseCallbacks::connect(IDBDatabase* database)
67 ASSERT(database);
68 m_database = database;
  /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;
  /external/chromium_org/content/browser/indexed_db/
indexed_db_connection.cc 10 scoped_refptr<IndexedDBDatabase> database,
12 : database_(database), callbacks_(callbacks) {}
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
ConversationCursorOperationListener.java 19 import android.database.Cursor;
20 import android.database.CursorWrapper;
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/resources/
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/cmockery/cmockery_0_1_2/src/example/
customer_database.c 18 #include <database.h>
23 // Connect to the database containing customer information.
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowSQLiteCloseable.java 3 import android.database.sqlite.SQLiteClosable;
  /frameworks/base/core/java/android/database/
DataSetObservable.java 17 package android.database;
  /frameworks/base/core/java/android/database/sqlite/
SQLiteClosable.java 17 package android.database.sqlite;
24 * This class implements a primitive reference counting scheme for database objects.
  /frameworks/ex/common/java/com/android/common/io/
MoreCloseables.java 20 import android.database.Cursor;
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
SQLiteAsyncQuery.java 19 import android.database.sqlite.SQLiteDatabase;
31 * @param db A readable database.
37 * Runs the query against the database and passes the result to the consumer.

Completed in 1362 milliseconds

1 2 34 5 6 7 8 91011>>