HomeSort by relevance Sort by last modified time
    Searched refs:database (Results 51 - 75 of 1618) sorted by null

1 23 4 5 6 7 8 91011>>

  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
MemoryCursor.java 18 import android.database.AbstractWindowedCursor;
19 import android.database.Cursor;
20 import android.database.CursorWindow;
21 import android.database.DatabaseUtils;
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DatabaseTestBase.java 4 import android.database.Cursor;
5 import android.database.sqlite.SQLiteDatabase;
24 protected SQLiteDatabase database; field in class:DatabaseTestBase
29 database = SQLiteDatabase.openDatabase("path", null, 0);
30 shDatabase = Robolectric.shadowOf(database);
31 database.execSQL("CREATE TABLE table_name (\n" +
39 database.execSQL("CREATE TABLE rawtable (\n" +
47 database.execSQL("CREATE TABLE exectable (\n" +
63 database.insert("rawtable", null, values);
72 database.insert("rawtable", null, values2)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
FilterStackSource.java 20 import android.database.Cursor;
21 import android.database.sqlite.SQLiteDatabase;
22 import android.database.sqlite.SQLiteException;
36 private SQLiteDatabase database = null; field in class:FilterStackSource
45 database = dbHelper.getWritableDatabase();
47 Log.w(LOGTAG, "could not open database", e);
52 database = null;
61 database.beginTransaction();
63 ret = (-1 != database.insert(FilterStack.TABLE, null, val));
64 database.setTransactionSuccessful()
    [all...]
  /external/chromium_org/chrome/browser/resources/predictors/
resource_prefetch_predictor.js 6 * Requests the database from the backend.
13 * Callback from backend with the database contents. Sets up some globals and
15 * @param {Dictionary} database Information about ResourcePrefetchPredictor
16 * including the database as a flattened list, a boolean indicating if the
19 function updateResourcePrefetchPredictorDb(database) {
20 updateResourcePrefetchPredictorDbView(database);
24 * Truncates the string to keep the database readable.
33 * Updates the table from the database.
34 * @param {Dictionary} database Information about ResourcePrefetchPredictor
35 * including the database as a flattened list, a boolean indicating if th
    [all...]
autocomplete_action_predictor.js 6 * Requests the database from the backend.
13 * Callback from backend with the database contents. Sets up some globals and
15 * @param {Dictionary} database Information about AutocompleteActionPredictor
16 * including the database as a flattened list, a boolean indicating if the
19 function updateAutocompleteActionPredictorDb(database) {
25 updateAutocompleteActionPredictorDbView(database);
28 updateAutocompleteActionPredictorDbView(database);
32 * Updates the table from the database.
33 * @param {Dictionary} database Information about AutocompleteActionPredictor
34 * including the database as a flattened list, a boolean indicating if th
    [all...]
  /external/chromium_org/webkit/browser/fileapi/
sandbox_origin_database_unittest.cc 38 SandboxOriginDatabase database(kFSDir);
41 EXPECT_FALSE(database.HasOriginPath(origin));
43 EXPECT_FALSE(database.HasOriginPath(origin));
49 EXPECT_FALSE(database.GetPathForOrigin(std::string(), &path0));
51 EXPECT_TRUE(database.GetPathForOrigin(origin, &path0));
52 EXPECT_TRUE(database.HasOriginPath(origin));
53 EXPECT_TRUE(database.GetPathForOrigin(origin, &path1));
68 SandboxOriginDatabase database(kFSDir);
72 EXPECT_FALSE(database.HasOriginPath(origin0));
73 EXPECT_FALSE(database.HasOriginPath(origin1))
    [all...]
  /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;
  /external/chromium_org/content/browser/indexed_db/
indexed_db_connection.cc 10 scoped_refptr<IndexedDBDatabase> database,
12 : database_(database), callbacks_(callbacks) {}
  /external/chromium_org/third_party/WebKit/ManualTests/blackberry/
http-cookie-database-update.php 3 echo 'Test updating of cookies\' database. It is for https://bugs.webkit.org/show_bug.cgi?id=83760.<br>';
4 echo 'To run this test, http-cookie-database-set.php must be served over http and http-cookie-database-update.php must be served over https.<br>';
6 echo '1. Load http-cookie-database-set.php. (If you load http-cookie-database-update.php directly in this step, please clear cookies and load http-cookie-database-set.php to finish this step.<br>';
7 echo '2. Restart the browser and load http-cookie-database-set.php again to see the result.<br>';
  /external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
DatabaseTracker.cpp 74 void DatabaseTracker::addOpenDatabase(DatabaseBackendBase* database)
80 String originIdentifier = createDatabaseIdentifierFromSecurityOrigin(database->securityOrigin());
87 String name(database->stringIdentifier());
94 databaseSet->add(database);
99 static PassOwnPtr<NotifyDatabaseObserverOnCloseTask> create(PassRefPtr<DatabaseBackendBase> database)
101 return adoptPtr(new NotifyDatabaseObserverOnCloseTask(database));
115 NotifyDatabaseObserverOnCloseTask(PassRefPtr<DatabaseBackendBase> database)
116 : m_database(database)
123 void DatabaseTracker::removeOpenDatabase(DatabaseBackendBase* database)
125 String originIdentifier = createDatabaseIdentifierFromSecurityOrigin(database->securityOrigin())
    [all...]
WorkerGlobalScopeWebDatabase.cpp 36 #include "modules/webdatabase/Database.h"
44 PassRefPtr<Database> WorkerGlobalScopeWebDatabase::openDatabase(WorkerGlobalScope* context, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassRefPtr<DatabaseCallback> creationCallback, ExceptionState& es)
47 RefPtr<Database> database; local
50 database = dbManager.openDatabase(context, name, version, displayName, estimatedSize, creationCallback, error);
51 ASSERT(database || error != DatabaseError::None);
58 return database.release();
64 RefPtr<DatabaseSync> database; local
67 database = dbManager.openDatabaseSync(context, name, version, displayName, estimatedSize, creationCallback, error);
68 ASSERT(database || error != DatabaseError::None)
    [all...]
DatabaseThread.cpp 33 #include "modules/webdatabase/Database.h"
70 m_threadID = createThread(DatabaseThread::databaseThreadStart, this, "WebCore: Database");
114 // Clean up the list of all pending transactions on this database thread
119 // 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
142 void DatabaseThread::recordDatabaseOpen(DatabaseBackend* database)
145 ASSERT(database);
146 ASSERT(!m_openDatabaseSet.contains(database));
147 m_openDatabaseSet.add(database);
150 void DatabaseThread::recordDatabaseClosed(DatabaseBackend* database)
153 ASSERT(database);
    [all...]
DatabaseTask.cpp 32 #include "modules/webdatabase/Database.h"
61 DatabaseTask::DatabaseTask(DatabaseBackend* database, DatabaseTaskSynchronizer* synchronizer)
62 : m_database(database)
79 // Database tasks are meant to be used only once, so make sure this one hasn't been performed before.
98 // Opens the database file and verifies the version matches the expected version.
100 DatabaseBackend::DatabaseOpenTask::DatabaseOpenTask(DatabaseBackend* database, bool setVersionInNewDatabase, DatabaseTaskSynchronizer* synchronizer, DatabaseError& error, String& errorMessage, bool& success)
101 : DatabaseTask(database, synchronizer)
113 m_success = database()->performOpenAndVerify(m_setVersionInNewDatabase, m_error, errorMessage);
126 // Closes the database.
128 DatabaseBackend::DatabaseCloseTask::DatabaseCloseTask(DatabaseBackend* database, DatabaseTaskSynchronizer* synchronizer
    [all...]
DOMWindowWebDatabase.cpp 37 #include "modules/webdatabase/Database.h"
44 PassRefPtr<Database> DOMWindowWebDatabase::openDatabase(DOMWindow* window, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassRefPtr<DatabaseCallback> creationCallback, ExceptionState& es)
49 RefPtr<Database> database = 0;
53 database = dbManager.openDatabase(window->document(), name, version, displayName, estimatedSize, creationCallback, error);
54 ASSERT(database || error != DatabaseError::None);
61 return database;
WorkerGlobalScopeWebDatabase.idl 28 [EnabledAtRuntime=database, RaisesException] Database openDatabase(DOMString name, DOMString version, DOMString displayName, unsigned long estimatedSize, optional DatabaseCallback creationCallback);
30 [EnabledAtRuntime=database, RaisesException] DatabaseSync openDatabaseSync(DOMString name, DOMString version, DOMString displayName, unsigned long estimatedSize, optional DatabaseCallback creationCallback);
  /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;
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorDatabaseResource.cpp 36 #include "modules/webdatabase/Database.h"
42 PassRefPtr<InspectorDatabaseResource> InspectorDatabaseResource::create(PassRefPtr<Database> database, const String& domain, const String& name, const String& version)
44 return adoptRef(new InspectorDatabaseResource(database, domain, name, version));
47 InspectorDatabaseResource::InspectorDatabaseResource(PassRefPtr<Database> database, const String& domain, const String& name, const String& version)
48 : m_database(database)
56 void InspectorDatabaseResource::bind(InspectorFrontend::Database* frontend)
58 RefPtr<TypeBuilder::Database::Database> jsonObject = TypeBuilder::Database::Database::create(
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/widget/
TextWithHighlighting.java 18 import android.database.CharArrayBuffer;
  /packages/apps/Dialer/src/com/android/dialerbind/
DatabaseHelperManager.java 21 import com.android.dialer.database.DialerDatabaseHelper;
  /packages/apps/UnifiedEmail/src/com/android/mail/
ContactInfoSource.java 20 import android.database.DataSetObserver;
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
CloseUtils.java 18 import android.database.Cursor;
21 * Utility methods for closing database cursors.

Completed in 1006 milliseconds

1 23 4 5 6 7 8 91011>>