HomeSort by relevance Sort by last modified time
    Searched refs:execSQL (Results 26 - 50 of 119) sorted by null

12 3 4 5

  /packages/apps/Browser/src/com/android/browser/
AutoFillProfileDatabase.java 58 db.execSQL("CREATE TABLE " + PROFILES_TABLE_NAME + " ("
77 db.execSQL("DROP TABLE IF EXISTS " + PROFILES_TABLE_NAME);
119 getDatabase(true).execSQL(sql, params);
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DatabaseHelper.java 123 db.execSQL("CREATE TABLE secure (" +
128 db.execSQL("CREATE INDEX secureIndex1 ON secure (name);");
132 db.execSQL("CREATE TABLE global (" +
137 db.execSQL("CREATE INDEX globalIndex1 ON global (name);");
142 db.execSQL("CREATE TABLE system (" +
147 db.execSQL("CREATE INDEX systemIndex1 ON system (name);");
156 db.execSQL("CREATE TABLE bluetooth_devices (" +
164 db.execSQL("CREATE TABLE bookmarks (" +
173 db.execSQL("CREATE INDEX bookmarksIndex1 ON bookmarks (folder);");
174 db.execSQL("CREATE INDEX bookmarksIndex2 ON bookmarks (shortcut);")
    [all...]
  /frameworks/base/core/tests/coretests/src/android/database/
DatabaseErrorHandlerTest.java 66 mDatabase.execSQL("create table t (i int);");
75 mDatabase.execSQL("select * from t;");
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
FilterStackDBHelper.java 85 db.execSQL(create.toString());
95 db.execSQL("drop table if exists " + table);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
PrivateLog.java 74 db.execSQL(LOG_TABLE_CREATE);
82 db.execSQL("DROP TABLE IF EXISTS " + LOG_TABLE_NAME);
  /cts/tests/tests/database/src/android/database/sqlite/cts/
SQLiteStatementTest.java 71 mDatabase.execSQL("CREATE TABLE test (_id INTEGER PRIMARY KEY, data TEXT);");
75 mDatabase.execSQL("CREATE TABLE blob_test (_id INTEGER PRIMARY KEY, data BLOB)");
167 mDatabase.execSQL("CREATE TABLE test (num INTEGER NOT NULL, str TEXT NOT NULL);");
168 mDatabase.execSQL("INSERT INTO test VALUES (1234, 'hello');");
191 mDatabase.execSQL("CREATE TABLE test (num INTEGER NOT NULL, str TEXT NOT NULL);");
192 mDatabase.execSQL("INSERT INTO test VALUES (1234, 'hello');");
  /cts/tests/tests/database/src/android/database/cts/
DatabaseCursorTest.java 98 mDatabase.execSQL("CREATE TABLE test (_id INTEGER PRIMARY KEY, data TEXT);");
100 mDatabase.execSQL("INSERT INTO test (data) VALUES ('" + sString1 + "');");
101 mDatabase.execSQL("INSERT INTO test (data) VALUES ('" + sString2 + "');");
102 mDatabase.execSQL("INSERT INTO test (data) VALUES ('" + sString3 + "');");
108 mDatabase.execSQL(
126 mDatabase.execSQL(sql, args);
148 mDatabase.execSQL("CREATE TABLE test (_id INTEGER PRIMARY KEY, data REAL);");
259 mDatabase.execSQL("CREATE TABLE test (_id INTEGER PRIMARY KEY, data TEXT);");
270 mDatabase.execSQL(sql.toString());
320 mDatabase.execSQL("CREATE TABLE test (_id INTEGER PRIMARY KEY, data INT);")
    [all...]
DatabaseUtilsTest.java 63 mDatabase.execSQL("CREATE TABLE " + TABLE_NAME + " (_id INTEGER PRIMARY KEY, " +
65 mDatabase.execSQL(
158 mDatabase.execSQL("INSERT INTO " + TABLE_NAME + " (name, age, address)" +
178 mDatabase.execSQL("INSERT INTO " + TABLE_NAME + " (name, age, address)" +
197 mDatabase.execSQL("INSERT INTO " + TABLE_NAME + " (name, age, address)" +
226 mDatabase.execSQL("INSERT INTO " + TABLE_NAME + " (name, age, address)" +
255 mDatabase.execSQL("INSERT INTO " + TABLE_NAME + " (name, age, address)" +
270 mDatabase.execSQL("INSERT INTO " + TABLE_NAME + " (name, age, address)" +
310 mDatabase.execSQL("CREATE TABLE test_copy (_id INTEGER PRIMARY KEY, " +
313 mDatabase.execSQL("INSERT INTO " + TABLE_NAME + " (name, age, address)"
    [all...]
CursorWrapperTest.java 299 mDatabase.execSQL("CREATE TABLE test2 (_id INTEGER PRIMARY KEY, string_text TEXT,"
313 mDatabase.execSQL(sql, args);
349 mDatabase.execSQL(sql);
356 mDatabase.execSQL("DROP TABLE test2");
448 database.execSQL("DELETE FROM test1 WHERE number = " + value + ";");
452 database.execSQL("INSERT INTO test1 (number) VALUES ('" + value + "');");
478 mDatabase.execSQL("CREATE TABLE test1 (_id INTEGER PRIMARY KEY, number TEXT);");
479 mDatabase.execSQL("INSERT INTO test1 (number) VALUES ('" + FIRST_NUMBER + "');");
480 mDatabase.execSQL("INSERT INTO test1 (number) VALUES ('" + SECOND_NUMBER + "');");
MergeCursorTest.java 100 mDatabase.execSQL("CREATE TABLE " + TABLE5_NAME + " (_id INTEGER PRIMARY KEY,"
103 mDatabase.execSQL(sql);
291 mDatabase.execSQL("INSERT INTO " + TABLE1_NAME + " (number_1) VALUES ('" + TEST_VALUE1
297 mDatabase.execSQL("INSERT INTO " + TABLE2_NAME + " (number_1) VALUES ('" + TEST_VALUE2
314 mDatabase.execSQL("CREATE TABLE " + tablename + " (_id INTEGER PRIMARY KEY,"
320 mDatabase.execSQL(sql, args);
323 mDatabase.execSQL(sql);
343 mDatabase.execSQL(sql);
348 mDatabase.execSQL("INSERT INTO " + tableName + "(number_1) VALUES ('"
CursorJoinerTest.java 229 mDatabase.execSQL(sql);
234 mDatabase.execSQL("INSERT INTO " + tableName + "(number) VALUES ('"
240 mDatabase.execSQL("INSERT INTO " + tableName + "(number) VALUES ('" + value + "');");
244 mDatabase.execSQL("DELETE FROM " + tableName + " WHERE number = '" + value + "';");
  /packages/apps/Browser/src/com/android/browser/provider/
SnapshotProvider.java 82 db.execSQL("CREATE TABLE " + TABLE_SNAPSHOTS + "(" +
99 db.execSQL("DROP TABLE " + TABLE_SNAPSHOTS);
103 db.execSQL("ALTER TABLE " + TABLE_SNAPSHOTS + " ADD COLUMN "
105 db.execSQL("ALTER TABLE " + TABLE_SNAPSHOTS + " ADD COLUMN "
107 db.execSQL("UPDATE " + TABLE_SNAPSHOTS + " SET "
BrowserProvider.java 257 db.execSQL("CREATE TABLE bookmarks (" +
278 db.execSQL("INSERT INTO bookmarks (title, url, visits, " +
286 db.execSQL("CREATE TABLE searches (" +
298 db.execSQL("DROP TABLE IF EXISTS labels");
301 db.execSQL("ALTER TABLE bookmarks ADD COLUMN thumbnail BLOB DEFAULT NULL;");
304 db.execSQL("ALTER TABLE bookmarks ADD COLUMN touch_icon BLOB DEFAULT NULL;");
307 db.execSQL("DELETE FROM bookmarks WHERE (bookmark = 0 AND url LIKE \"%.google.%client=ms-%\")");
311 db.execSQL("ALTER TABLE bookmarks ADD COLUMN user_entered INTEGER;");
315 db.execSQL("DELETE FROM bookmarks WHERE url IS NULL;");
316 db.execSQL("ALTER TABLE bookmarks RENAME TO bookmarks_temp;")
    [all...]
  /frameworks/base/core/tests/coretests/src/android/app/activity/
LocalProvider.java 54 db.execSQL("CREATE TABLE data (" +
60 db.execSQL("INSERT INTO data (text, integer) VALUES ('first data', 100);");
68 db.execSQL("DROP TABLE IF EXISTS data");
  /development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/
NotesDbAdapter.java 69 db.execSQL(DATABASE_CREATE);
76 db.execSQL("DROP TABLE IF EXISTS notes");
  /development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/
NotesDbAdapter.java 69 db.execSQL(DATABASE_CREATE);
76 db.execSQL("DROP TABLE IF EXISTS notes");
  /development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/
NotesDbAdapter.java 69 db.execSQL(DATABASE_CREATE);
76 db.execSQL("DROP TABLE IF EXISTS notes");
  /development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
NotesDbAdapter.java 69 db.execSQL(DATABASE_CREATE);
76 db.execSQL("DROP TABLE IF EXISTS notes");
  /development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
NotesDbAdapter.java 69 db.execSQL(DATABASE_CREATE);
76 db.execSQL("DROP TABLE IF EXISTS notes");
  /development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
NotesDbAdapter.java 69 db.execSQL(DATABASE_CREATE);
76 db.execSQL("DROP TABLE IF EXISTS notes");
  /frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
TrackerProvider.java 62 db.execSQL(queryBuilder.toString());
72 db.execSQL("DROP TABLE IF EXISTS " + TABLE_NAME);
  /packages/apps/Dialer/src/com/android/dialer/database/
DialerDatabaseHelper.java 357 db.execSQL("CREATE TABLE " + Tables.SMARTDIAL_TABLE + " (" +
374 db.execSQL("CREATE TABLE " + Tables.PREFIX_TABLE + " (" +
380 db.execSQL("CREATE TABLE " + Tables.PROPERTIES + " (" +
390 db.execSQL("DROP TABLE IF EXISTS " + Tables.PREFIX_TABLE);
391 db.execSQL("DROP TABLE IF EXISTS " + Tables.SMARTDIAL_TABLE);
392 db.execSQL("DROP TABLE IF EXISTS " + Tables.PROPERTIES);
    [all...]
  /development/samples/training/threadsample/src/com/example/android/threadsample/
DataProvider.java 157 db.execSQL("DROP TABLE IF EXISTS " + DataProviderContract.PICTUREURL_TABLE_NAME);
158 db.execSQL("DROP TABLE IF EXISTS " + DataProviderContract.DATE_TABLE_NAME);
171 db.execSQL(CREATE_PICTUREURL_TABLE_SQL);
172 db.execSQL(CREATE_DATE_TABLE_SQL);
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastDatabaseHelper.java 63 db.execSQL("CREATE TABLE " + TABLE_NAME + " ("
89 db.execSQL("CREATE INDEX IF NOT EXISTS deliveryTimeIndex ON " + TABLE_NAME
127 db.execSQL("DROP TABLE IF EXISTS " + TEMP_TABLE_NAME);
128 db.execSQL("ALTER TABLE " + TABLE_NAME + " RENAME TO " + TEMP_TABLE_NAME);
145 db.execSQL("DROP TABLE " + TEMP_TABLE_NAME);
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
RecentsProvider.java 131 db.execSQL("CREATE TABLE " + TABLE_RECENT + " (" +
137 db.execSQL("CREATE TABLE " + TABLE_STATE + " (" +
147 db.execSQL("CREATE TABLE " + TABLE_RESUME + " (" +
158 db.execSQL("DROP TABLE IF EXISTS " + TABLE_RECENT);
159 db.execSQL("DROP TABLE IF EXISTS " + TABLE_STATE);
160 db.execSQL("DROP TABLE IF EXISTS " + TABLE_RESUME);

Completed in 796 milliseconds

12 3 4 5