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

1 2

  /cts/tests/tests/database/src/android/database/sqlite/cts/
SQLiteStatementTest.java 92 SQLiteStatement statement1 = mDatabase.compileStatement(
97 mDatabase.compileStatement("UPDATE test set data = 'a' WHERE _id > 0");
108 statement2 = mDatabase.compileStatement("DELETE from test WHERE _id < 4");
116 statement2 = mDatabase.compileStatement("SELECT count(*) FROM test");
134 SQLiteStatement statement = mDatabase.compileStatement(
140 statement = mDatabase.compileStatement("insert or ignore into test values(1, 1);");
153 statement = mDatabase.compileStatement(
170 mDatabase.compileStatement("SELECT num FROM test WHERE str = ?");
194 mDatabase.compileStatement("SELECT str FROM test WHERE num = ?");
226 SQLiteStatement stm = mDatabase.compileStatement(sql)
    [all...]
SQLiteProgramTest.java 61 statement = mDatabase.compileStatement("SELECT num1 FROM test WHERE num2 = ?;");
70 statement = mDatabase.compileStatement("SELECT text1 FROM test WHERE text2 = ?;");
114 statement = mDatabase.compileStatement(
126 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test " +
156 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test " +
DatabaseStatementTest.java 83 SQLiteStatement statement = mDatabase.compileStatement("DELETE FROM test");
97 mDatabase.compileStatement("SELECT num FROM test WHERE str = ?");
99 mDatabase.compileStatement("SELECT str FROM test WHERE num = ?");
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 (?)");
223 mDatabase.compileStatement("INSERT INTO test (num, str) VALUES (?, ?)");
286 mDatabase.compileStatement("INSERT INTO test (num, str) VALUES (?, ?)");
300 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)");
SQLiteDatabaseTest.java 339 SQLiteStatement insertStatement = mDatabase.compileStatement(sql);
356 SQLiteStatement deleteStatement = mDatabase.compileStatement("DELETE FROM test");
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
SQLiteStatementTest.java 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'");
  /frameworks/base/core/tests/coretests/src/android/database/
DatabaseStatementTest.java 82 SQLiteStatement statement = mDatabase.compileStatement("DELETE FROM test");
96 mDatabase.compileStatement("SELECT num FROM test WHERE str = ?");
98 mDatabase.compileStatement("SELECT str FROM test WHERE num = ?");
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 (?)");
222 mDatabase.compileStatement("INSERT INTO test (num, str) VALUES (?, ?)");
285 mDatabase.compileStatement("INSERT INTO test (num, str) VALUES (?, ?)");
299 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)");
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DatabaseHelper.java 419 stmt = db.compileStatement("INSERT INTO system(name,value)"
464 stmt = db.compileStatement("INSERT OR IGNORE INTO secure(name,value)"
507 stmt = db.compileStatement("INSERT OR IGNORE INTO system(name,value)"
550 stmt = db.compileStatement("INSERT INTO system(name,value)"
570 stmt = db.compileStatement("INSERT INTO system(name,value)"
588 stmt = db.compileStatement("INSERT INTO system(name,value)"
607 stmt = db.compileStatement("INSERT OR IGNORE INTO system(name,value)"
695 stmt = db.compileStatement("INSERT INTO system(name,value)"
736 stmt = db.compileStatement("INSERT INTO system(name,value)"
781 stmt = db.compileStatement("INSERT INTO system(name,value)
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
SynchronousContactsProvider2.java 191 db.compileStatement("SELECT _id FROM raw_contacts LIMIT 1 OFFSET " + maxContact)
198 return db.compileStatement("SELECT COUNT(*) FROM raw_contacts").simpleQueryForLong();
203 return db.compileStatement("SELECT COUNT(*) FROM contacts").simpleQueryForLong();
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
ProfileAggregator.java 79 SQLiteStatement profileContactIdLookup = db.compileStatement(
AbstractContactAggregator.java 306 mAggregatedPresenceReplace = db.compileStatement(replaceAggregatePresenceSql);
308 mRawContactCountQuery = db.compileStatement(
314 mAggregatedPresenceDelete = db.compileStatement(
318 mMarkForAggregation = db.compileStatement(
324 mPhotoIdUpdate = db.compileStatement(
329 mDisplayNameUpdate = db.compileStatement(
334 mLookupKeyUpdate = db.compileStatement(
339 mStarredUpdate = db.compileStatement("UPDATE " + Tables.CONTACTS + " SET "
345 mPinnedUpdate = db.compileStatement("UPDATE " + Tables.CONTACTS + " SET "
352 mContactIdAndMarkAggregatedUpdate = db.compileStatement(
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowSQLiteDatabase.java 208 statement =compileStatement(scrubbedSql);
247 SQLiteStatement stmt = compileStatement(sql);
346 public SQLiteStatement compileStatement(String sql) throws SQLException {
  /cts/tests/tests/database/src/android/database/cts/
DatabaseUtilsTest.java 122 SQLiteStatement statement = mDatabase.compileStatement(sql);
444 SQLiteStatement statement = mDatabase.compileStatement(query);
448 statement = mDatabase.compileStatement(query);
556 SQLiteStatement statement = mDatabase.compileStatement(query);
594 SQLiteStatement statement = mDatabase.compileStatement(query);
  /frameworks/base/core/java/android/database/
DatabaseUtils.java 831 SQLiteStatement prog = db.compileStatement(query);
853 SQLiteStatement prog = db.compileStatement(query);
878 SQLiteStatement prog = db.compileStatement(query);
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactsDatabaseHelper.java     [all...]
LegacyApiSupport.java 531 mDataMimetypeQuery = db.compileStatement(
536 mDataRawContactIdQuery = db.compileStatement(
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/datamodel/
DatabaseWrapper.java 96 compiled = mDatabase.compileStatement(statement);
465 final SQLiteStatement statement = mDatabase.compileStatement(sql);
  /packages/apps/Dialer/src/com/android/dialer/database/
DialerDatabaseHelper.java 643 final SQLiteStatement insert = db.compileStatement(sqlInsert);
649 final SQLiteStatement numberInsert = db.compileStatement(numberSqlInsert);
729 final SQLiteStatement insert = db.compileStatement(sqlInsert);
    [all...]
  /frameworks/base/core/java/android/database/sqlite/
SQLiteDatabase.java     [all...]
  /packages/apps/Email/provider_src/com/android/email/provider/
DBHelper.java     [all...]
EmailProvider.java     [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
LauncherProvider.java 718 update = db.compileStatement("UPDATE favorites "
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
LauncherProvider.java 753 updateStmt = db.compileStatement("UPDATE favorites SET itemType="
    [all...]
  /frameworks/base/services/core/java/com/android/server/accounts/
AccountManagerService.java     [all...]
  /external/robolectric/lib/main/
android.jar 
  /prebuilts/sdk/11/
android.jar 

Completed in 2410 milliseconds

1 2