Home
last modified time | relevance | path

Searched refs:SQLiteDatabase (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/sqlite/
DSQLiteDatabase.cpp49 SQLiteDatabase::SQLiteDatabase() in SQLiteDatabase() function in WebCore::SQLiteDatabase
62 SQLiteDatabase::~SQLiteDatabase() in ~SQLiteDatabase()
67 bool SQLiteDatabase::open(const String& filename, bool forWebSQLDatabase) in open()
101 void SQLiteDatabase::close() in close()
119 void SQLiteDatabase::interrupt() in interrupt()
133 bool SQLiteDatabase::isInterrupted() in isInterrupted()
139 void SQLiteDatabase::setFullsync(bool fsync) in setFullsync()
147 int64_t SQLiteDatabase::maximumSize() in maximumSize()
162 void SQLiteDatabase::setMaximumSize(int64_t size) in setMaximumSize()
188 int SQLiteDatabase::pageSize() in pageSize()
[all …]
DSQLiteTransaction.h34 class SQLiteDatabase; variable
39 SQLiteTransaction(SQLiteDatabase& db, bool readOnly = false);
50 SQLiteDatabase& m_db;
DSQLiteDatabase.h56 class SQLiteDatabase {
57 WTF_MAKE_NONCOPYABLE(SQLiteDatabase);
60 SQLiteDatabase();
61 ~SQLiteDatabase();
DSQLiteStatement.h40 SQLiteStatement(SQLiteDatabase&, const String&);
93 SQLiteDatabase* database() { return &m_database; } in database()
98 SQLiteDatabase& m_database;
DSQLiteFileSystem.h41 class SQLiteDatabase; variable
67 const String& originIdentifier, SQLiteDatabase* db);
DSQLiteTransaction.cpp33 SQLiteTransaction::SQLiteTransaction(SQLiteDatabase& db, bool readOnly) in SQLiteTransaction()
DSQLiteFileSystem.cpp55 const String&, const String& dbName, const String &originIdentifier, SQLiteDatabase*) in getFileNameForNewDatabase() argument
DSQLiteStatement.cpp43 SQLiteStatement::SQLiteStatement(SQLiteDatabase& db, const String& sql) in SQLiteStatement()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DSQLiteOpenHelperTest.java5 import android.database.sqlite.SQLiteDatabase;
6 import android.database.sqlite.SQLiteDatabase.CursorFactory;
30 SQLiteDatabase database = helper.getReadableDatabase(); in testInitialGetReadableDatabase()
36 SQLiteDatabase database = helper.getReadableDatabase(); in testSubsequentGetReadableDatabase()
45 SQLiteDatabase db1 = helper.getReadableDatabase(); in testSameDBInstanceSubsequentGetReadableDatabase()
46 SQLiteDatabase db2 = helper.getReadableDatabase(); in testSameDBInstanceSubsequentGetReadableDatabase()
53 SQLiteDatabase database = helper.getWritableDatabase(); in testInitialGetWritableDatabase()
67 SQLiteDatabase db1 = helper.getWritableDatabase(); in testSameDBInstanceSubsequentGetWritableDatabase()
68 SQLiteDatabase db2 = helper.getWritableDatabase(); in testSameDBInstanceSubsequentGetWritableDatabase()
75 SQLiteDatabase database = helper.getWritableDatabase(); in testClose()
[all …]
DSQLiteStatementTest.java3 import android.database.sqlite.SQLiteDatabase;
21 private SQLiteDatabase database;
25 database = SQLiteDatabase.openDatabase("path", null, 0); in setUp()
DDatabaseTestBase.java5 import android.database.sqlite.SQLiteDatabase;
24 protected SQLiteDatabase database;
29 database = SQLiteDatabase.openDatabase("path", null, 0); in setUp()
262 …long key = database.insertWithOnConflict("table_name", null, values, SQLiteDatabase.CONFLICT_IGNOR… in testInsertKeyGeneration()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSQLiteOpenHelper.java4 import android.database.sqlite.SQLiteDatabase;
5 import android.database.sqlite.SQLiteDatabase.CursorFactory;
20 private static SQLiteDatabase database;
38 public synchronized SQLiteDatabase getReadableDatabase() { in getReadableDatabase()
40 database = SQLiteDatabase.openDatabase("path", null, 0); in getReadableDatabase()
49 public synchronized SQLiteDatabase getWritableDatabase() { in getWritableDatabase()
51 database = SQLiteDatabase.openDatabase("path", null, 0); in getWritableDatabase()
DShadowSQLiteDatabase.java35 @Implements(SQLiteDatabase.class)
37 @RealObject SQLiteDatabase realSQLiteDatabase;
66 …public static SQLiteDatabase openDatabase(String path, SQLiteDatabase.CursorFactory factory, int f… in openDatabase()
68 return newInstanceOf(SQLiteDatabase.class); in openDatabase()
73 return insertWithOnConflict(table, nullColumnHack, values, SQLiteDatabase.CONFLICT_NONE); in insert()
80 return insertWithOnConflict(table, nullColumnHack, values, SQLiteDatabase.CONFLICT_NONE); in insertOrThrow()
85 return insertWithOnConflict(table, nullColumnHack, values, SQLiteDatabase.CONFLICT_REPLACE); in replace()
228 return rawQueryWithFactory( new SQLiteDatabase.CursorFactory() { in rawQuery()
230 public Cursor newCursor(SQLiteDatabase db, in rawQuery()
239 …public Cursor rawQueryWithFactory (SQLiteDatabase.CursorFactory cursorFactory, String sql, String[…
DShadowSQLiteProgram.java3 import android.database.sqlite.SQLiteDatabase;
18 protected SQLiteDatabase mDatabase;
21 public void init(SQLiteDatabase db, String sql) { in init()
DShadowSQLiteStatement.java3 import android.database.sqlite.SQLiteDatabase;
16 public void init(SQLiteDatabase db, String sql) { in init()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
DH2Test.java4 import android.database.sqlite.SQLiteDatabase;
35 …ngAndBindings insertString = buildInsertString("table_name", values, SQLiteDatabase.CONFLICT_REPLA… in testBuildInsertString()
DSQLite_Test.java4 import android.database.sqlite.SQLiteDatabase;
31 …ngAndBindings insertString = buildInsertString("table_name", values, SQLiteDatabase.CONFLICT_NONE); in testBuildInsertString()
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
DDatabaseBackendBase.h69 SQLiteDatabase& sqliteDatabase() { return m_sqliteDatabase; } in sqliteDatabase()
144 SQLiteDatabase m_sqliteDatabase;
DSQLStatementSync.cpp57 SQLiteDatabase* database = &db->sqliteDatabase(); in execute()
DSQLStatementBackend.cpp121 SQLiteDatabase* database = &db->sqliteDatabase(); in execute()
DDatabaseBackendBase.cpp91 static bool retrieveTextResultFromDatabase(SQLiteDatabase& db, const String& query, String& resultS… in retrieveTextResultFromDatabase()
115 static bool setTextValueInDatabase(SQLiteDatabase& db, const String& query, const String& value) in setTextValueInDatabase()
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
DHttpAuthDatabase.java10 import android.database.sqlite.SQLiteDatabase;
35 private SQLiteDatabase mDatabase = null;
/external/chromium_org/third_party/WebKit/Source/modules/
Dmodules.gypi727 'webdatabase/sqlite/SQLiteDatabase.cpp',
728 'webdatabase/sqlite/SQLiteDatabase.h',
Dmodules.target.linux-arm.mk269 third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteDatabase.cpp \
/external/robolectric/src/main/java/com/xtremelabs/robolectric/
DRobolectric.java912 public static ShadowSQLiteDatabase shadowOf(SQLiteDatabase other) { in shadowOf()

12