HomeSort by relevance Sort by last modified time
    Searched refs:SQLiteStatement (Results 1 - 25 of 46) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/core/platform/sql/
SQLiteStatement.cpp 27 #include "core/platform/sql/SQLiteStatement.h"
43 SQLiteStatement::SQLiteStatement(SQLiteDatabase& db, const String& sql)
53 SQLiteStatement::~SQLiteStatement()
58 int SQLiteStatement::prepare()
89 int SQLiteStatement::step()
113 int SQLiteStatement::finalize()
126 int SQLiteStatement::reset()
135 bool SQLiteStatement::executeCommand(
    [all...]
SQLiteStatement.h 37 class SQLiteStatement {
38 WTF_MAKE_NONCOPYABLE(SQLiteStatement); WTF_MAKE_FAST_ALLOCATED;
40 SQLiteStatement(SQLiteDatabase&, const String&);
41 ~SQLiteStatement();
SQLiteDatabase.cpp 33 #include "core/platform/sql/SQLiteStatement.h"
98 if (!SQLiteStatement(*this, "PRAGMA temp_store = MEMORY;").executeCommand())
157 SQLiteStatement statement(*this, "PRAGMA max_page_count");
178 SQLiteStatement statement(*this, "PRAGMA max_page_count = " + String::number(newMaxPageCount));
199 SQLiteStatement statement(*this, "PRAGMA page_size");
216 SQLiteStatement statement(*this, "PRAGMA freelist_count");
231 SQLiteStatement statement(*this, "PRAGMA page_count");
262 return SQLiteStatement(*this, sql).executeCommand();
267 return SQLiteStatement(*this, sql).returnsAtLeastOneResult();
277 SQLiteStatement sql(*this, statement)
    [all...]
SQLiteDatabase.h 43 class SQLiteStatement;
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
SQLiteStatementTest.java 5 import android.database.sqlite.SQLiteStatement;
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`)) ;");
40 SQLiteStatement insertStatement = database.compileStatement("INSERT INTO `routine` (`name` ,`lastUsed` ) VALUES (?,?)");
72 SQLiteStatement stmt = database.compileStatement("SELECT count(*) FROM `countme`");
76 SQLiteStatement insertStatement = database.compileStatement("INSERT INTO `countme` (`name` ,`lastUsed` ) VALUES (?,?)");
92 SQLiteStatement stmt = database.compileStatement("SELECT * FROM `countme` where `name`= 'cessationoftime'");
100 SQLiteStatement stmt = database.compileStatement("SELECT * FROM `countme` where `name`= 'cessationoftime'");
  /cts/tests/tests/database/src/android/database/sqlite/cts/
SQLiteStatementTest.java 27 import android.database.sqlite.SQLiteStatement;
92 SQLiteStatement statement1 = mDatabase.compileStatement(
96 SQLiteStatement statement2 =
134 SQLiteStatement statement = mDatabase.compileStatement(
169 SQLiteStatement statement =
193 SQLiteStatement statement =
226 SQLiteStatement stm = mDatabase.compileStatement(sql);
246 SQLiteStatement stm = mDatabase.compileStatement(sql);
255 SQLiteStatement stm = mDatabase.compileStatement(sql);
265 SQLiteStatement stm = mDatabase.compileStatement(sql)
    [all...]
DatabaseStatementTest.java 24 import android.database.sqlite.SQLiteStatement;
83 SQLiteStatement statement = mDatabase.compileStatement("DELETE FROM test");
96 SQLiteStatement statement1 =
98 SQLiteStatement statement2 =
132 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)");
154 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)");
176 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)");
222 SQLiteStatement statement =
248 private SQLiteStatement mStatement;
250 public StatementTestThread(SQLiteDatabase db, SQLiteStatement statement)
    [all...]
SQLiteProgramTest.java 26 import android.database.sqlite.SQLiteStatement;
59 SQLiteStatement statement;
126 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test " +
156 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test " +
SQLiteDatabaseTest.java 36 import android.database.sqlite.SQLiteStatement;
339 SQLiteStatement insertStatement = mDatabase.compileStatement(sql);
356 SQLiteStatement deleteStatement = mDatabase.compileStatement("DELETE FROM test");
    [all...]
  /frameworks/base/core/tests/coretests/src/android/database/
DatabaseStatementTest.java 24 import android.database.sqlite.SQLiteStatement;
82 SQLiteStatement statement = mDatabase.compileStatement("DELETE FROM test");
95 SQLiteStatement statement1 =
97 SQLiteStatement statement2 =
131 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)");
153 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)");
175 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)");
221 SQLiteStatement statement =
247 private SQLiteStatement mStatement;
249 public StatementTestThread(SQLiteDatabase db, SQLiteStatement statement)
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowSQLiteStatement.java 5 import android.database.sqlite.SQLiteStatement;
12 @Implements(SQLiteStatement.class)
ShadowSQLiteDatabase.java 206 SQLiteStatement statement = null;
247 SQLiteStatement stmt = compileStatement(sql);
346 public SQLiteStatement compileStatement(String sql) throws SQLException {
350 SQLiteStatement stmt = Robolectric.newInstanceOf(SQLiteStatement.class);
  /frameworks/base/core/java/android/database/sqlite/
SQLiteStatement.java 29 public final class SQLiteStatement extends SQLiteProgram {
30 SQLiteStatement(SQLiteDatabase db, String sql, Object[] bindArgs) {
SQLiteDatabase.java     [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
ProfileAggregator.java 20 import android.database.sqlite.SQLiteStatement;
79 SQLiteStatement profileContactIdLookup = db.compileStatement(
ContactAggregator.java 23 import android.database.sqlite.SQLiteStatement;
147 private SQLiteStatement mAggregatedPresenceReplace;
148 private SQLiteStatement mPresenceContactIdUpdate;
149 private SQLiteStatement mRawContactCountQuery;
150 private SQLiteStatement mAggregatedPresenceDelete;
151 private SQLiteStatement mMarkForAggregation;
152 private SQLiteStatement mPhotoIdUpdate;
153 private SQLiteStatement mDisplayNameUpdate;
154 private SQLiteStatement mLookupKeyUpdate;
155 private SQLiteStatement mStarredUpdate
    [all...]
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DatabaseHelper.java 30 import android.database.sqlite.SQLiteStatement;
375 SQLiteStatement stmt = null;
424 SQLiteStatement stmt = null;
467 SQLiteStatement stmt = null;
506 SQLiteStatement stmt = null;
528 SQLiteStatement stmt = null;
548 SQLiteStatement stmt = null;
567 SQLiteStatement stmt = null;
655 SQLiteStatement stmt = null;
696 SQLiteStatement stmt = null
    [all...]
  /frameworks/base/core/java/android/database/
DatabaseUtils.java 32 import android.database.sqlite.SQLiteStatement;
811 SQLiteStatement prog = db.compileStatement(query);
823 public static long longForQuery(SQLiteStatement prog, String[] selectionArgs) {
833 SQLiteStatement prog = db.compileStatement(query);
845 public static String stringForQuery(SQLiteStatement prog, String[] selectionArgs) {
858 SQLiteStatement prog = db.compileStatement(query);
872 public static ParcelFileDescriptor blobFileDescriptorForQuery(SQLiteStatement prog,
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
SQLStatementSync.cpp 37 #include "core/platform/sql/SQLiteStatement.h"
60 SQLiteStatement statement(*database, m_statement);
DatabaseBackendBase.cpp 35 #include "core/platform/sql/SQLiteStatement.h"
94 SQLiteStatement statement(db, query);
118 SQLiteStatement statement(db, query);
Database.cpp 39 #include "core/platform/sql/SQLiteStatement.h"
234 SQLiteStatement statement(sqliteDatabase(), "SELECT name FROM sqlite_master WHERE type='table';");
SQLStatementBackend.cpp 34 #include "core/platform/sql/SQLiteStatement.h"
124 SQLiteStatement statement(*database, m_statement);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactsDatabaseHelper.java 37 import android.database.sqlite.SQLiteStatement;
    [all...]
  /cts/tests/tests/database/src/android/database/cts/
DatabaseUtilsTest.java 29 import android.database.sqlite.SQLiteStatement;
122 SQLiteStatement statement = mDatabase.compileStatement(sql);
444 SQLiteStatement statement = mDatabase.compileStatement(query);
556 SQLiteStatement statement = mDatabase.compileStatement(query);
594 SQLiteStatement statement = mDatabase.compileStatement(query);
  /packages/apps/Dialer/src/com/android/dialer/database/
DialerDatabaseHelper.java 27 import android.database.sqlite.SQLiteStatement;
620 final SQLiteStatement insert = db.compileStatement(sqlInsert);
626 final SQLiteStatement numberInsert = db.compileStatement(numberSqlInsert);
684 final SQLiteStatement insert = db.compileStatement(sqlInsert);
    [all...]

Completed in 970 milliseconds

1 2