HomeSort by relevance Sort by last modified time
    Searched full:database (Results 1 - 25 of 2752) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/webkit/LayoutTests/storage/
multiple-transactions-expected.txt 1 This is a test to see if the database API allows multiple transactions to be queued on the same database at once:
open-database-while-transaction-in-progress-expected.txt 1 This is a test to see if opening a database while a transaction is running on a different handle to the same database results in a deadlock.
open-database-while-transaction-in-progress.html 3 <script src="resources/database-common.js"></script>
4 <script src="open-database-while-transaction-in-progress.js"></script>
7 This is a test to see if opening a database while a transaction is running on a different handle to the same database results in a deadlock.<br>
multiple-databases-garbage-collection-expected.txt 1 This test opens two databases, queues up a series of operations on both, then "forgets" about one of them. After forcing GC, resources associated with that database should be freed gracefully.
2 Forgotten Database Transaction Complete
3 Persistent Database Transaction Complete
multiple-transactions.html 3 <script src="resources/database-common.js"></script>
7 This is a test to see if the database API allows multiple transactions to be queued on the same database at once:<br>
change-version-expected.txt 1 This test verifies that the JS database.changeVersion() function works as expected.
read-transactions-running-concurrently-expected.txt 1 This test tests that two read-only transactions on different handles to the same database run concurrently.
database-lock-after-reload.html 27 // This should not leave the database locked and on the next page we should be able to insert
30 function(tx, result) { location.href = "./resources/database-lock-after-reload-2.html"; },
44 var database;
46 database = openDatabase("DatabaseLockTest", "1.0", "Test for database locking", 5242880);
48 log("Error - could not open database");
52 database.transaction(function(tx) {
56 }, errorFunction, function() { addData(database); });
hash-change-with-xhr.html 3 <title>Hash Change with an Open XHR should not stop database transactions</title>
4 <script src="resources/database-common.js"></script>
open-database-set-empty-version-expected.txt 1 This tests that calling openDatabase with an empty version string sets the current version of that database to the empty string and subsequent attempts to open the database with a different expected version throw an exception.
test-authorizer.html 3 <script src="resources/database-common.js"></script>
7 This test tests the database authorizer.<br>
  /frameworks/base/core/java/android/database/sqlite/
SQLiteOpenHelper.java 17 package android.database.sqlite;
20 import android.database.DatabaseErrorHandler;
21 import android.database.DefaultDatabaseErrorHandler;
22 import android.database.sqlite.SQLiteDatabase.CursorFactory;
26 * A helper class to manage database creation and version management.
29 * optionally {@link #onOpen}, and this class takes care of opening the database
31 * Transactions are used to make sure the database is always in a sensible state.
34 * implementations to defer opening and upgrading the database until first use,
35 * to avoid blocking application startup with long-running database upgrades.
56 * Create a helper object to create, open, and/or manage a database
    [all...]
  /external/dropbear/_MTN/
options 0 database "/Users/matt/.monotone/dropbear.db"
  /frameworks/support/v4/java/android/support/v4/database/
package.html 3 Support android.database classes to assist with development of applications for
  /frameworks/base/core/java/android/database/
DefaultDatabaseErrorHandler.java 16 package android.database;
21 import android.database.sqlite.SQLiteDatabase;
22 import android.database.sqlite.SQLiteException;
27 * Default class used to define the actions to take when the database corruption is reported
34 * android.database.sqlite.SQLiteDatabase.CursorFactory, DatabaseErrorHandler)}</li>
36 * android.database.sqlite.SQLiteDatabase.CursorFactory, int, DatabaseErrorHandler)}</li>
38 * The specified {@link DatabaseErrorHandler} is used to handle database corruption errors, if they
49 * defines the default method to be invoked when database corruption is detected.
50 * @param dbObj the {@link SQLiteDatabase} object representing the database on which corruption
54 Log.e(TAG, "Corruption reported by sqlite on database: " + dbObj.getPath())
    [all...]
  /external/webkit/Source/WebCore/storage/
DatabaseTask.cpp 31 #if ENABLE(DATABASE)
33 #include "Database.h"
62 DatabaseTask::DatabaseTask(Database* database, DatabaseTaskSynchronizer* synchronizer)
63 : m_database(database)
78 // Database tasks are meant to be used only once, so make sure this one hasn't been performed before.
95 // Opens the database file and verifies the version matches the expected version.
97 Database::DatabaseOpenTask::DatabaseOpenTask(Database* database, bool setVersionInNewDatabase, DatabaseTaskSynchronizer* synchronizer, ExceptionCode& code, bool& (…)
    [all...]
Database.cpp 30 #include "Database.h"
32 #if ENABLE(DATABASE)
67 static PassOwnPtr<DatabaseCreationCallbackTask> create(PassRefPtr<Database> database, PassRefPtr<DatabaseCallback> creationCallback)
69 return adoptPtr(new DatabaseCreationCallbackTask(database, creationCallback));
78 DatabaseCreationCallbackTask(PassRefPtr<Database> database, PassRefPtr<DatabaseCallback> callback)
79 : m_database(database)
84 RefPtr<Database> m_database;
88 PassRefPtr<Database> Database::openDatabase(ScriptExecutionContext* context, const String& name
98 RefPtr<Database> database = adoptRef(new Database(context, name, expectedVersion, displayName, estimatedSize)); local
    [all...]
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...]
  /external/webkit/Source/WebKit/gtk/webkit/
webkiticondatabase.cpp 39 * @short_description: A WebKit web application database
43 * the same icon database.
45 * The icon database is enabled by default and stored in
55 * of the database and also to disable it by passing %NULL.
58 * won't be added to the database on disk and no existing icons will
101 WebKitIconDatabase* database = WEBKIT_ICON_DATABASE(object); local
105 webkit_icon_database_set_path(database, g_value_get_string(value));
115 WebKitIconDatabase* database = WEBKIT_ICON_DATABASE(object); local
119 g_value_set_string(value, webkit_icon_database_get_path(database));
140 * The absolute path of the icon database folder
    [all...]
  /libcore/luni/src/main/java/java/sql/
package.html 4 The <code>android.database</code> and <code>android.database.sqlite</code>
  /external/webkit/Source/WebCore/storage/chromium/
SQLTransactionClientChromium.cpp 34 #if ENABLE(DATABASE)
44 static PassOwnPtr<NotifyDatabaseChangedTask> create(AbstractDatabase *database)
46 return new NotifyDatabaseChangedTask(database);
55 NotifyDatabaseChangedTask(PassRefPtr<AbstractDatabase> database)
56 : m_database(database)
63 void SQLTransactionClient::didCommitWriteTransaction(AbstractDatabase* database)
65 if (!database->scriptExecutionContext()->isContextThread()) {
66 database->scriptExecutionContext()->postTask(NotifyDatabaseChangedTask::create(database));
70 WebCore::DatabaseObserver::databaseModified(database);
    [all...]
  /cts/tests/tests/database/src/android/database/sqlite/cts/
SQLiteOpenHelperTest.java 17 package android.database.sqlite.cts;
20 import android.database.Cursor;
21 import android.database.sqlite.SQLiteCursor;
22 import android.database.sqlite.SQLiteCursorDriver;
23 import android.database.sqlite.SQLiteDatabase;
24 import android.database.sqlite.SQLiteOpenHelper;
25 import android.database.sqlite.SQLiteQuery;
26 import android.database.sqlite.SQLiteDatabase.CursorFactory;
59 android.database.sqlite.SQLiteDatabase.CursorFactory.class, int.class}
79 args = {android.database.sqlite.SQLiteDatabase.class
98 SQLiteDatabase database = null; local
    [all...]
  /frameworks/base/core/tests/coretests/src/android/database/
DatabaseErrorHandlerTest.java 17 package android.database;
20 import android.database.sqlite.SQLiteDatabase;
21 import android.database.sqlite.SQLiteDiskIOException;
22 import android.database.sqlite.SQLiteException;
61 // database file should still exist
68 // write junk into the database file
73 // since the database file is now corrupt, doing any sql on this database connection
91 // database file should be gone
93 // after corruption handler is called, the database file should be free o
    [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.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...]

Completed in 5222 milliseconds

1 2 3 4 5 6 7 8 91011>>