Home
last modified time | relevance | path

Searched refs:execSQL (Results 1 – 25 of 93) sorted by relevance

1234

/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DDatabaseHelperTest.java481 db.execSQL("CREATE TABLE android_metadata (locale TEXT)"); in createOSchema()
482 db.execSQL("CREATE TABLE thumbnails (_id INTEGER PRIMARY KEY,_data TEXT,image_id INTEGER," in createOSchema()
484 db.execSQL("CREATE TABLE artists (artist_id INTEGER PRIMARY KEY," in createOSchema()
486 db.execSQL("CREATE TABLE albums (album_id INTEGER PRIMARY KEY," in createOSchema()
488 db.execSQL("CREATE TABLE album_art (album_id INTEGER PRIMARY KEY,_data TEXT)"); in createOSchema()
489 db.execSQL("CREATE TABLE videothumbnails (_id INTEGER PRIMARY KEY,_data TEXT," in createOSchema()
491 db.execSQL("CREATE TABLE files (_id INTEGER PRIMARY KEY AUTOINCREMENT," in createOSchema()
504 db.execSQL("CREATE TABLE log (time DATETIME, message TEXT)"); in createOSchema()
506 db.execSQL("CREATE TABLE audio_genres (_id INTEGER PRIMARY KEY,name TEXT NOT NULL)"); in createOSchema()
507 db.execSQL("CREATE TABLE audio_genres_map (_id INTEGER PRIMARY KEY," in createOSchema()
[all …]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDatabaseHelper.java361 db.execSQL("CREATE TEMPORARY TABLE state_backup(_sync_account TEXT, " in upgradeSyncState()
363 db.execSQL("INSERT INTO state_backup SELECT _sync_account, _sync_account_type, data" in upgradeSyncState()
367 db.execSQL("DROP TABLE " + Tables.SYNC_STATE + ";"); in upgradeSyncState()
369 db.execSQL("INSERT INTO " + Tables.SYNC_STATE + "(" in upgradeSyncState()
374 db.execSQL("DROP TABLE state_backup;"); in upgradeSyncState()
399 db.execSQL("CREATE TABLE " + Tables.EVENTS_RAW_TIMES + " (" + in bootstrapDB()
409 db.execSQL("CREATE TABLE " + Tables.INSTANCES + " (" + in bootstrapDB()
424 db.execSQL("CREATE INDEX instancesStartDayIndex ON " + Tables.INSTANCES + " (" + in bootstrapDB()
432 db.execSQL("CREATE TABLE " + Tables.ATTENDEES + " (" + in bootstrapDB()
444 db.execSQL("CREATE INDEX attendeesEventIdIndex ON " + Tables.ATTENDEES + " (" + in bootstrapDB()
[all …]
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsDatabaseHelper.java428 db.execSQL( in updateThreads()
452 db.execSQL( in updateThreads()
480 db.execSQL( in updateThreads()
655 …db.execSQL("CREATE VIRTUAL TABLE words USING FTS3 (_id INTEGER PRIMARY KEY, index_text TEXT, sourc… in createWordsTables()
662 db.execSQL("CREATE TRIGGER sms_words_update AFTER UPDATE ON sms BEGIN UPDATE words " + in createWordsTables()
665 db.execSQL("CREATE TRIGGER sms_words_delete AFTER DELETE ON sms BEGIN DELETE FROM " + in createWordsTables()
683 db.execSQL("CREATE INDEX IF NOT EXISTS typeThreadIdIndex ON sms" + in createThreadIdIndex()
692 db.execSQL("CREATE INDEX IF NOT EXISTS threadIdDateIndex ON sms" + in createThreadIdDateIndex()
701 db.execSQL("CREATE INDEX IF NOT EXISTS partMidIndex ON part (mid)"); in createPartMidIndex()
709 db.execSQL("CREATE INDEX IF NOT EXISTS addrMsgIdIndex ON addr (msg_id)"); in createAddrMsgIdIndex()
[all …]
DTelephonyProvider.java640 db.execSQL(getStringForSimInfoTableCreation(tableName)); in createSimInfoTable()
647 db.execSQL(getStringForCarrierTableCreation(tableName)); in createCarriersTable()
858 db.execSQL("ALTER TABLE " + CARRIERS_TABLE + in onUpgrade()
865 db.execSQL("ALTER TABLE " + CARRIERS_TABLE + in onUpgrade()
867 db.execSQL("ALTER TABLE " + CARRIERS_TABLE + in onUpgrade()
873 db.execSQL("ALTER TABLE " + CARRIERS_TABLE + in onUpgrade()
875 db.execSQL("ALTER TABLE " + CARRIERS_TABLE + in onUpgrade()
882 db.execSQL("ALTER TABLE " + CARRIERS_TABLE + in onUpgrade()
884 db.execSQL("ALTER TABLE " + CARRIERS_TABLE + in onUpgrade()
889 db.execSQL("ALTER TABLE " + CARRIERS_TABLE + in onUpgrade()
[all …]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarDatabaseHelperTest.java65 db.execSQL("CREATE TABLE Calendars (" + in bootstrapDbVersion50()
87 db.execSQL("CREATE TRIGGER calendar_cleanup DELETE ON Calendars " + in bootstrapDbVersion50()
94 db.execSQL("CREATE TABLE Events (" + in bootstrapDbVersion50()
131 db.execSQL("CREATE INDEX eventsCalendarIdIndex ON Events (calendar_id);"); in bootstrapDbVersion50()
133 db.execSQL("CREATE TABLE EventsRawTimes (" + in bootstrapDbVersion50()
146 db.execSQL("CREATE TABLE DeletedEvents (" + in bootstrapDbVersion50()
153 db.execSQL("CREATE TABLE Instances (" + in bootstrapDbVersion50()
165 db.execSQL("CREATE INDEX instancesStartDayIndex ON Instances (startDay);"); in bootstrapDbVersion50()
167 db.execSQL("CREATE TABLE CalendarMetaData (" + in bootstrapDbVersion50()
176 db.execSQL("CREATE TABLE BusyBits(" + in bootstrapDbVersion50()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DDatabaseHelper.java484 db.execSQL("UPDATE local_metadata SET generation=generation+1;"); in beginTransactionInternal()
702 db.execSQL("DROP TRIGGER IF EXISTS " + c.getString(0)); in makePristineSchema()
711 db.execSQL("DROP VIEW IF EXISTS " + c.getString(0)); in makePristineSchema()
720 db.execSQL("DROP INDEX IF EXISTS " + c.getString(0)); in makePristineSchema()
729 db.execSQL("DROP TABLE IF EXISTS " + c.getString(0)); in makePristineSchema()
753 db.execSQL("CREATE TABLE local_metadata (generation INTEGER DEFAULT 0)"); in createLatestSchema()
754 db.execSQL("INSERT INTO local_metadata VALUES (0)"); in createLatestSchema()
756 db.execSQL("CREATE TABLE android_metadata (locale TEXT)"); in createLatestSchema()
757 db.execSQL("CREATE TABLE thumbnails (_id INTEGER PRIMARY KEY,_data TEXT,image_id INTEGER," in createLatestSchema()
759 db.execSQL("CREATE TABLE album_art (album_id INTEGER PRIMARY KEY,_data TEXT)"); in createLatestSchema()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/
DMetadataDatabase.java117 database.execSQL("ALTER TABLE metadata ADD COLUMN `pbap_client_priority` INTEGER");
125 database.execSQL("CREATE TABLE IF NOT EXISTS `metadata_tmp` ("
144 database.execSQL("INSERT INTO metadata_tmp ("
179 database.execSQL("DROP TABLE `metadata`");
180 database.execSQL("ALTER TABLE `metadata_tmp` RENAME TO `metadata`");
189 database.execSQL("CREATE TABLE IF NOT EXISTS `metadata_tmp` ("
211 database.execSQL("INSERT INTO metadata_tmp ("
251 database.execSQL("UPDATE metadata_tmp SET a2dp_connection_policy = 100 "
253 database.execSQL("UPDATE metadata_tmp SET a2dp_sink_connection_policy = 100 "
255 database.execSQL("UPDATE metadata_tmp SET hfp_connection_policy = 100 "
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java1115 db.execSQL("DELETE FROM " + Tables.PRESENCE + ";"); in onOpen()
1116 db.execSQL("DELETE FROM " + Tables.AGGREGATED_PRESENCE + ";"); in onOpen()
1154 db.execSQL("CREATE TABLE IF NOT EXISTS " + Tables.PRESENCE + " ("+ in createPresenceTables()
1168 db.execSQL("CREATE INDEX IF NOT EXISTS presenceIndex" + " ON " in createPresenceTables()
1170 db.execSQL("CREATE INDEX IF NOT EXISTS presenceIndex2" + " ON " in createPresenceTables()
1173 db.execSQL("CREATE TABLE IF NOT EXISTS " in createPresenceTables()
1181 db.execSQL("CREATE TRIGGER IF NOT EXISTS " + Tables.PRESENCE + "_deleted" in createPresenceTables()
1221 db.execSQL("CREATE TRIGGER IF NOT EXISTS " + Tables.PRESENCE + "_inserted" in createPresenceTables()
1227 db.execSQL("CREATE TRIGGER IF NOT EXISTS " + Tables.PRESENCE + "_updated" in createPresenceTables()
1246 db.execSQL("CREATE TABLE " + Tables.ACCOUNTS + " (" + in onCreate()
[all …]
DCallLogDatabaseHelper.java119 db.execSQL("CREATE TABLE " + Tables.CALLS + " (" + in onCreate()
172 db.execSQL("CREATE TABLE " + Tables.VOICEMAIL_STATUS + " (" + in onCreate()
268 db.execSQL("ALTER TABLE " + Tables.CALLS + " ADD " + Calls.VIA_NUMBER + in upgradeToVersion2()
276 db.execSQL("ALTER TABLE " + Tables.VOICEMAIL_STATUS + " ADD " + Status.SOURCE_TYPE + in upgradeToVersion3()
285 db.execSQL("ALTER TABLE calls ADD backed_up INTEGER NOT NULL DEFAULT 0"); in upgradeToVersion4()
286 db.execSQL("ALTER TABLE calls ADD restored INTEGER NOT NULL DEFAULT 0"); in upgradeToVersion4()
287 db.execSQL("ALTER TABLE calls ADD archived INTEGER NOT NULL DEFAULT 0"); in upgradeToVersion4()
288 db.execSQL("ALTER TABLE calls ADD is_omtp_voicemail INTEGER NOT NULL DEFAULT 0"); in upgradeToVersion4()
295 db.execSQL("ALTER TABLE calls ADD transcription_state INTEGER NOT NULL DEFAULT 0"); in upgradeToVersion5()
304 db.execSQL("ALTER TABLE calls ADD call_screening_component_name TEXT"); in upgradeToVersion6()
[all …]
/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DDatabaseHelperTest.java114 db.execSQL("CREATE TABLE " + TvProvider.CHANNELS_TABLE + " (" in onCreate()
142 db.execSQL("CREATE TABLE " + TvProvider.PROGRAMS_TABLE + " (" in onCreate()
171 db.execSQL("CREATE INDEX " + TvProvider.PROGRAMS_TABLE_PACKAGE_NAME_INDEX + " ON " in onCreate()
174 db.execSQL("CREATE INDEX " + TvProvider.PROGRAMS_TABLE_CHANNEL_ID_INDEX + " ON " in onCreate()
177 db.execSQL("CREATE INDEX " + TvProvider.PROGRAMS_TABLE_START_TIME_INDEX + " ON " in onCreate()
180 db.execSQL("CREATE INDEX " + TvProvider.PROGRAMS_TABLE_END_TIME_INDEX + " ON " in onCreate()
183 db.execSQL("CREATE TABLE " + TvProvider.WATCHED_PROGRAMS_TABLE + " (" in onCreate()
206 db.execSQL("CREATE INDEX " + TvProvider.WATCHED_PROGRAMS_TABLE_CHANNEL_ID_INDEX + " ON " in onCreate()
214 db.execSQL("DROP TABLE IF EXISTS " + TvProvider.WATCH_NEXT_PROGRAMS_TABLE); in onDowngrade()
215 db.execSQL("DROP TABLE IF EXISTS " + TvProvider.PREVIEW_PROGRAMS_TABLE); in onDowngrade()
[all …]
/packages/apps/TV/tests/common/src/com/android/tv/testing/fakes/
DFakeTvProvider.java998 db.execSQL( in onCreate()
1073 db.execSQL( in onCreate()
1149 db.execSQL( in onCreate()
1157 db.execSQL( in onCreate()
1165 db.execSQL( in onCreate()
1173 db.execSQL( in onCreate()
1181 db.execSQL( in onCreate()
1221 db.execSQL( in onCreate()
1229 db.execSQL(CREATE_RECORDED_PROGRAMS_TABLE_SQL); in onCreate()
1230 db.execSQL(CREATE_PREVIEW_PROGRAMS_TABLE_SQL); in onCreate()
[all …]
/packages/apps/Dialer/java/com/android/dialer/database/
DDialerDatabaseHelper.java115 db.execSQL( in setupTables()
151 db.execSQL( in setupTables()
163 db.execSQL( in setupTables()
176 db.execSQL( in setupTables()
207 db.execSQL("DROP TABLE IF EXISTS " + Tables.PREFIX_TABLE); in dropTables()
208 db.execSQL("DROP TABLE IF EXISTS " + Tables.SMARTDIAL_TABLE); in dropTables()
209 db.execSQL("DROP TABLE IF EXISTS " + Tables.PROPERTIES); in dropTables()
210 db.execSQL("DROP TABLE IF EXISTS " + Tables.FILTERED_NUMBER_TABLE); in dropTables()
211 db.execSQL("DROP TABLE IF EXISTS " + Tables.VOICEMAIL_ARCHIVE_TABLE); in dropTables()
234 db.execSQL("DROP TABLE IF EXISTS " + Tables.FILTERED_NUMBER_TABLE); in onUpgrade()
[all …]
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java802 db.execSQL("CREATE TABLE " + CHANNELS_TABLE + " (" in onCreate()
838 db.execSQL("CREATE TABLE " + PROGRAMS_TABLE + " (" in onCreate()
879 db.execSQL("CREATE INDEX " + PROGRAMS_TABLE_PACKAGE_NAME_INDEX + " ON " + PROGRAMS_TABLE in onCreate()
881 db.execSQL("CREATE INDEX " + PROGRAMS_TABLE_CHANNEL_ID_INDEX + " ON " + PROGRAMS_TABLE in onCreate()
883 db.execSQL("CREATE INDEX " + PROGRAMS_TABLE_START_TIME_INDEX + " ON " + PROGRAMS_TABLE in onCreate()
885 db.execSQL("CREATE INDEX " + PROGRAMS_TABLE_END_TIME_INDEX + " ON " + PROGRAMS_TABLE in onCreate()
887 db.execSQL("CREATE TABLE " + WATCHED_PROGRAMS_TABLE + " (" in onCreate()
909 db.execSQL("CREATE INDEX " + WATCHED_PROGRAMS_TABLE_CHANNEL_ID_INDEX + " ON " in onCreate()
911 db.execSQL(CREATE_RECORDED_PROGRAMS_TABLE_SQL); in onCreate()
912 db.execSQL(CREATE_PREVIEW_PROGRAMS_TABLE_SQL); in onCreate()
[all …]
/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDatabaseHelper.java310 db.execSQL(SQL_CREATE_SCHEDULES_WITH_TIME_OFFSET); in onCreate()
313 db.execSQL(SQL_CREATE_SCHEDULES); in onCreate()
316 db.execSQL(SQL_CREATE_SERIES_RECORDINGS); in onCreate()
323 db.execSQL(SQL_DROP_SCHEDULES); in onUpgrade()
325 db.execSQL(SQL_DROP_SERIES_RECORDINGS); in onUpgrade()
330 db.execSQL( in onUpgrade()
338 db.execSQL("ALTER TABLE " + Schedules.TABLE_NAME + " ADD COLUMN " in onUpgrade()
340 db.execSQL("ALTER TABLE " + Schedules.TABLE_NAME + " ADD COLUMN " in onUpgrade()
349 db.execSQL(buildCreateSchedulesSql(schedulesBackup, COLUMNS_SCHEDULES)); in onDowngrade()
350 db.execSQL("INSERT INTO " + schedulesBackup + in onDowngrade()
[all …]
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DIndexDatabaseHelper.java192 db.execSQL(CREATE_INDEX_TABLE); in bootstrapDB()
193 db.execSQL(CREATE_META_TABLE); in bootstrapDB()
194 db.execSQL(CREATE_SAVED_QUERIES_TABLE); in bootstrapDB()
195 db.execSQL(CREATE_SITE_MAP_TABLE); in bootstrapDB()
196 db.execSQL(INSERT_BUILD_VERSION); in bootstrapDB()
326 db.execSQL("DROP TABLE IF EXISTS " + Tables.TABLE_META_INDEX); in dropTables()
327 db.execSQL("DROP TABLE IF EXISTS " + Tables.TABLE_PREFS_INDEX); in dropTables()
328 db.execSQL("DROP TABLE IF EXISTS " + Tables.TABLE_SAVED_QUERIES); in dropTables()
329 db.execSQL("DROP TABLE IF EXISTS " + Tables.TABLE_SITE_MAP); in dropTables()
/packages/apps/Dialer/java/com/android/dialer/calllog/database/
DAnnotatedCallLogDatabaseHelper.java150 db.execSQL(CREATE_TABLE_SQL); in onCreate()
151 db.execSQL(String.format(Locale.US, CREATE_TRIGGER_SQL, maxRows, maxRows)); in onCreate()
152 db.execSQL(CREATE_INDEX_ON_CALL_TYPE_SQL); in onCreate()
153 db.execSQL(CREATE_INDEX_ON_NUMBER_SQL); in onCreate()
175 db.execSQL( in upgradeToV2()
181 db.execSQL( in upgradeToV2()
205 db.execSQL( in upgradeToV4()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseHelper.java655 db.execSQL(createViewSql); in rebuildView()
662 db.execSQL(dropPrefix + viewName); in dropView()
677 db.execSQL(sql); in rebuildAllViews()
698 db.execSQL(dropPrefix + tableName); in dropAllTables()
729 db.execSQL(dropPrefix + triggerName); in dropAllTriggers()
773 db.execSQL(dropPrefix + indexName); in dropAllIndexes()
789 db.execSQL(sql); in createDatabase()
793 db.execSQL(sql); in createDatabase()
797 db.execSQL(sql); in createDatabase()
801 db.execSQL(sql); in createDatabase()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DClockDatabaseHelper.java74 db.execSQL("CREATE TABLE " + ALARMS_TABLE_NAME + " (" + in createAlarmsTable()
88 db.execSQL("CREATE TABLE " + INSTANCES_TABLE_NAME + " (" + in createInstanceTable()
127 db.execSQL(insertMe + DEFAULT_ALARM_1); in onCreate()
128 db.execSQL(insertMe + DEFAULT_ALARM_2); in onCreate()
137 db.execSQL("DROP TABLE IF EXISTS " + SELECTED_CITIES_TABLE_NAME + ";"); in onUpgrade()
142 db.execSQL("DROP TABLE IF EXISTS " + INSTANCES_TABLE_NAME + ";"); in onUpgrade()
191 db.execSQL("DROP TABLE IF EXISTS " + OLD_ALARMS_TABLE_NAME + ";"); in onUpgrade()
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreDatabase.java162 db.execSQL(NetworkAttributesContract.CREATE_TABLE); in onCreate()
163 db.execSQL(PrivateDataContract.CREATE_TABLE); in onCreate()
183 db.execSQL(sqlUpgradeAddressExpiry); in onUpgrade()
192 db.execSQL(NetworkAttributesContract.DROP_TABLE); in onUpgrade()
193 db.execSQL(PrivateDataContract.DROP_TABLE); in onUpgrade()
203 db.execSQL(NetworkAttributesContract.DROP_TABLE); in onDowngrade()
204 db.execSQL(PrivateDataContract.DROP_TABLE); in onDowngrade()
205 db.execSQL("DROP TRIGGER " + TRIGGER_NAME); in onDowngrade()
217 db.execSQL(createTrigger); in createTrigger()
673 db.execSQL("VACUUM"); in dropAllExpiredRecords()
[all …]
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberDatabaseHelper.java59 db.execSQL("DROP TABLE IF EXISTS blocked"); in onUpgrade()
65 db.execSQL("CREATE TABLE " + Tables.BLOCKED_NUMBERS + " (" + in createTables()
71 db.execSQL("CREATE INDEX blocked_number_idx_original ON " + Tables.BLOCKED_NUMBERS + in createTables()
73 db.execSQL("CREATE INDEX blocked_number_idx_e164 ON " + Tables.BLOCKED_NUMBERS + " (" + in createTables()
109 getWritableDatabase().execSQL("DELETE FROM " + Tables.BLOCKED_NUMBERS); in wipeForTest()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DMetadataDbHelper.java208 db.execSQL(METADATA_CREATE_CLIENT_TABLE); in createClientTable()
228 db.execSQL(METADATA_TABLE_CREATE); in onCreate()
234 db.execSQL("SELECT " + RAW_CHECKSUM_COLUMN + " FROM " in addRawChecksumColumnUnlessPresent()
238 db.execSQL("ALTER TABLE " + METADATA_TABLE_NAME + " ADD COLUMN " in addRawChecksumColumnUnlessPresent()
245 db.execSQL("SELECT " + RETRY_COUNT_COLUMN + " FROM " in addRetryCountColumnUnlessPresent()
249 db.execSQL("ALTER TABLE " + METADATA_TABLE_NAME + " ADD COLUMN " in addRetryCountColumnUnlessPresent()
286 db.execSQL("DROP TABLE IF EXISTS " + CLIENT_TABLE_NAME); in onUpgrade()
295 db.execSQL("DROP TABLE IF EXISTS " + METADATA_TABLE_NAME); in onUpgrade()
296 db.execSQL("DROP TABLE IF EXISTS " + CLIENT_TABLE_NAME); in onUpgrade()
328 db.execSQL("DROP TABLE IF EXISTS " + METADATA_TABLE_NAME); in onDowngrade()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DLauncherDbUtils.java118 db.execSQL("DROP TABLE IF EXISTS " + tableName); in dropTable()
129 toDb.execSQL("ATTACH DATABASE '" + fromDb.getPath() + "' AS from_db"); in copyTable()
130 toDb.execSQL( in copyTable()
132 toDb.execSQL("DETACH DATABASE 'from_db'"); in copyTable()
134 toDb.execSQL("INSERT INTO " + toTable + " SELECT * FROM " + fromTable); in copyTable()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DSynchronousContactsProvider2.java194 db.execSQL("UPDATE raw_contacts SET aggregation_mode=0,aggregation_needed=1;");
198 db.execSQL("DELETE FROM raw_contacts WHERE _id > " + rowId + ";");
216 db.execSQL("replace into SQLITE_SEQUENCE (name,seq) values('raw_contacts', 42)");
217 db.execSQL("replace into SQLITE_SEQUENCE (name,seq) values('contacts', 2009)");
218 db.execSQL("replace into SQLITE_SEQUENCE (name,seq) values('data', 777)");
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastProvider.java381 db.execSQL(getStringForCellBroadcastTableCreation(CELL_BROADCASTS_TABLE_NAME)); in onCreate()
390 db.execSQL("ALTER TABLE " + CELL_BROADCASTS_TABLE_NAME + " ADD COLUMN " in onUpgrade()
396 db.execSQL("ALTER TABLE " + CELL_BROADCASTS_TABLE_NAME + " ADD COLUMN " in onUpgrade()
398 db.execSQL("ALTER TABLE " + CELL_BROADCASTS_TABLE_NAME + " ADD COLUMN " in onUpgrade()
402 db.execSQL("ALTER TABLE " + CELL_BROADCASTS_TABLE_NAME + " ADD COLUMN " in onUpgrade()
408 db.execSQL("ALTER TABLE " + CELL_BROADCASTS_TABLE_NAME + " ADD COLUMN " in onUpgrade()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/
DContactsTableUtil.java46 db.execSQL("CREATE INDEX contacts_has_phone_index ON " + table + " (" + in createIndexes()
50 db.execSQL("CREATE INDEX contacts_name_raw_contact_id_index ON " + table + " (" + in createIndexes()
54 db.execSQL(MoreDatabaseUtils.buildCreateIndexSql(table, in createIndexes()
78 db.execSQL(buildUpdateLastUpdateSql(rawContactIds)); in updateContactLastUpdateByRawContactId()

1234