/packages/apps/UnifiedEmail/src/com/android/mail/content/ |
CursorCreator.java | 19 import android.database.Cursor;
|
/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/third_party/WebKit/Source/modules/webdatabase/ |
DatabaseThread.cpp | 32 #include "modules/webdatabase/Database.h" 61 m_thread = adoptPtr(blink::Platform::current()->createThread("WebCore: Database")); 87 // Clean up the list of all pending transactions on this database thread 90 // 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 105 void DatabaseThread::recordDatabaseOpen(DatabaseBackend* database) 108 ASSERT(database); 109 ASSERT(!m_openDatabaseSet.contains(database)); 110 m_openDatabaseSet.add(database); 113 void DatabaseThread::recordDatabaseClosed(DatabaseBackend* database) 116 ASSERT(database); [all...] |
DatabaseTask.cpp | 32 #include "modules/webdatabase/Database.h" 62 DatabaseTask::DatabaseTask(DatabaseBackend* database, DatabaseTaskSynchronizer* synchronizer) 63 : m_database(database) 80 // Database tasks are meant to be used only once, so make sure this one hasn't been performed before. 107 // Opens the database file and verifies the version matches the expected version. 109 DatabaseBackend::DatabaseOpenTask::DatabaseOpenTask(DatabaseBackend* database, bool setVersionInNewDatabase, DatabaseTaskSynchronizer* synchronizer, DatabaseError& error, String& errorMessage, bool& success) 110 : DatabaseTask(database, synchronizer) 122 m_success = database()->performOpenAndVerify(m_setVersionInNewDatabase, m_error, errorMessage); 135 // Closes the database. 137 DatabaseBackend::DatabaseCloseTask::DatabaseCloseTask(DatabaseBackend* database, DatabaseTaskSynchronizer* synchronizer [all...] |
DOMWindowWebDatabase.cpp | 36 #include "modules/webdatabase/Database.h" 43 PassRefPtr<Database> DOMWindowWebDatabase::openDatabase(DOMWindow* window, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassOwnPtr<DatabaseCallback> creationCallback, ExceptionState& exceptionState) 48 RefPtr<Database> database = 0; 53 database = dbManager.openDatabase(window->document(), name, version, displayName, estimatedSize, creationCallback, error, errorMessage); 54 ASSERT(database || error != DatabaseError::None); 61 return database;
|
/external/chromium_org/webkit/browser/fileapi/ |
sandbox_origin_database_unittest.cc | 39 SandboxOriginDatabase database(kFSDir); 42 EXPECT_FALSE(database.HasOriginPath(origin)); 44 EXPECT_FALSE(database.HasOriginPath(origin)); 50 EXPECT_FALSE(database.GetPathForOrigin(std::string(), &path0)); 52 EXPECT_TRUE(database.GetPathForOrigin(origin, &path0)); 53 EXPECT_TRUE(database.HasOriginPath(origin)); 54 EXPECT_TRUE(database.GetPathForOrigin(origin, &path1)); 69 SandboxOriginDatabase database(kFSDir); 73 EXPECT_FALSE(database.HasOriginPath(origin0)); 74 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;
|
CharArrayBufferTest.java | 16 package android.database.cts; 19 import android.database.CharArrayBuffer;
|
/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>';
|
/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 | 35 #include "modules/webdatabase/Database.h" 41 PassRefPtr<InspectorDatabaseResource> InspectorDatabaseResource::create(PassRefPtr<Database> database, const String& domain, const String& name, const String& version) 43 return adoptRef(new InspectorDatabaseResource(database, domain, name, version)); 46 InspectorDatabaseResource::InspectorDatabaseResource(PassRefPtr<Database> database, const String& domain, const String& name, const String& version) 47 : m_database(database) 55 void InspectorDatabaseResource::bind(InspectorFrontend::Database* frontend) 57 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.
|
/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/content/browser/indexed_db/ |
indexed_db_connection.cc | 10 scoped_refptr<IndexedDBDatabase> database, 12 : database_(database), callbacks_(callbacks) {}
|