/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | MmsSmsDatabaseHelper.java | 349 private static void removeUnferencedCanonicalAddresses(SQLiteDatabase db) { in removeUnferencedCanonicalAddresses() argument 350 Cursor c = db.query(MmsSmsProvider.TABLE_THREADS, new String[] { "recipient_ids" }, in removeUnferencedCanonicalAddresses() 356 int rows = db.delete("canonical_addresses", null, null); in removeUnferencedCanonicalAddresses() 382 int rows = db.delete("canonical_addresses", sb.toString(), null); in removeUnferencedCanonicalAddresses() 390 public static void updateThread(SQLiteDatabase db, long thread_id) { in updateThread() argument 392 updateThreads(db, null, null); in updateThread() 395 updateThreads(db, "(thread_id = ?)", new String[]{ String.valueOf(thread_id) }); in updateThread() 402 public static void updateThreads(SQLiteDatabase db, String where, String[] whereArgs) { in updateThreads() argument 409 db.beginTransaction(); in updateThreads() 415 int rows = db.delete(MmsSmsProvider.TABLE_THREADS, in updateThreads() [all …]
|
D | TelephonyProvider.java | 599 public void onCreate(SQLiteDatabase db) { in onCreate() argument 600 if (DBG) log("dbh.onCreate:+ db=" + db); in onCreate() 601 createSimInfoTable(db, SIMINFO_TABLE); in onCreate() 602 createCarriersTable(db, CARRIERS_TABLE); in onCreate() 608 initDatabase(db); in onCreate() 610 if (DBG) log("dbh.onCreate:- db=" + db); in onCreate() 614 public void onOpen(SQLiteDatabase db) { in onOpen() argument 615 if (VDBG) log("dbh.onOpen:+ db=" + db); in onOpen() 618 db.query(SIMINFO_TABLE, null, null, null, null, null, null); in onOpen() 623 createSimInfoTable(db, SIMINFO_TABLE); in onOpen() [all …]
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarDatabaseHelper.java | 326 public void onOpen(SQLiteDatabase db) { in onOpen() argument 327 mSyncState.onDatabaseOpened(db); in onOpen() 329 mCalendarsInserter = new DatabaseUtils.InsertHelper(db, Tables.CALENDARS); in onOpen() 330 mColorsInserter = new DatabaseUtils.InsertHelper(db, Tables.COLORS); in onOpen() 331 mEventsInserter = new DatabaseUtils.InsertHelper(db, Tables.EVENTS); in onOpen() 332 mEventsRawTimesInserter = new DatabaseUtils.InsertHelper(db, Tables.EVENTS_RAW_TIMES); in onOpen() 333 mInstancesInserter = new DatabaseUtils.InsertHelper(db, Tables.INSTANCES); in onOpen() 334 mAttendeesInserter = new DatabaseUtils.InsertHelper(db, Tables.ATTENDEES); in onOpen() 335 mRemindersInserter = new DatabaseUtils.InsertHelper(db, Tables.REMINDERS); in onOpen() 336 mCalendarAlertsInserter = new DatabaseUtils.InsertHelper(db, Tables.CALENDAR_ALERTS); in onOpen() [all …]
|
D | MetaData.java | 81 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getFields() local 82 db.beginTransaction(); in getFields() 87 readLocked(db); in getFields() 92 db.setTransactionSuccessful(); in getFields() 94 db.endTransaction(); in getFields() 115 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getFieldsLocked() local 116 readLocked(db); in getFieldsLocked() 130 private void readLocked(SQLiteDatabase db) { in readLocked() argument 136 Cursor cursor = db.query("CalendarMetaData", sCalendarMetaDataProjection, in readLocked() 171 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in write() local [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | DatabaseHelperTest.java | 76 SQLiteDatabase db = helper.getWritableDatabaseForTest(); in testFilterVolumeNames() local 87 db.insert("files", FileColumns.DATA, values); in testFilterVolumeNames() 99 db.insert("files", FileColumns.DATA, values); in testFilterVolumeNames() 111 db.insert("files", FileColumns.DATA, values); in testFilterVolumeNames() 165 helper.runWithTransaction((db) -> { in testTransactions() argument 190 SQLiteDatabase db = helper.getWritableDatabaseForTest(); in assertDowngrade() local 199 assertFalse(db.insert("files", FileColumns.DATA, values) == -1); in assertDowngrade() 201 try (Cursor c = db.query("files", null, null, null, null, null, null, null)) { in assertDowngrade() 209 SQLiteDatabase db = helper.getWritableDatabaseForTest(); in assertDowngrade() local 210 try (Cursor c = db.query("files", null, null, null, null, null, null, null)) { in assertDowngrade() [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | DatabaseHelper.java | 220 final SQLiteDatabase db = super.getWritableDatabase(); in setFilterVolumeNames() local 223 db.beginTransaction(); in setFilterVolumeNames() 224 createLatestViews(db, mInternal); in setFilterVolumeNames() 225 db.setTransactionSuccessful(); in setFilterVolumeNames() 227 db.endTransaction(); in setFilterVolumeNames() 250 public void onConfigure(SQLiteDatabase db) { in onConfigure() argument 252 db.setCustomScalarFunction("_INSERT", (arg) -> { in onConfigure() 271 db.setCustomScalarFunction("_UPDATE", (arg) -> { in onConfigure() 297 db.setCustomScalarFunction("_DELETE", (arg) -> { in onConfigure() 318 db.setCustomScalarFunction("_GET_ID", (arg) -> { in onConfigure() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsDatabaseHelper.java | 1095 private void prepopulateCommonMimeTypes(SQLiteDatabase db) { in prepopulateCommonMimeTypes() argument 1098 mCommonMimeTypeIdsCache.put(commonMimeType, insertMimeType(db, commonMimeType)); in prepopulateCommonMimeTypes() 1103 public void onBeforeDelete(SQLiteDatabase db) { in onBeforeDelete() argument 1104 Log.w(TAG, "Database version " + db.getVersion() + " for " + DATABASE_NAME in onBeforeDelete() 1109 public void onOpen(SQLiteDatabase db) { in onOpen() argument 1110 Log.d(TAG, "WAL enabled for " + getDatabaseName() + ": " + db.isWriteAheadLoggingEnabled()); in onOpen() 1111 prepopulateCommonMimeTypes(db); in onOpen() 1112 mSyncState.onDatabaseOpened(db); in onOpen() 1115 db.execSQL("DELETE FROM " + Tables.PRESENCE + ";"); in onOpen() 1116 db.execSQL("DELETE FROM " + Tables.AGGREGATED_PRESENCE + ";"); in onOpen() [all …]
|
D | CallLogDatabaseHelper.java | 97 public void onCreate(SQLiteDatabase db) { in onCreate() argument 102 PropertyUtils.createPropertiesTable(db); in onCreate() 119 db.execSQL("CREATE TABLE " + Tables.CALLS + " (" + in onCreate() 172 db.execSQL("CREATE TABLE " + Tables.VOICEMAIL_STATUS + " (" + in onCreate() 187 migrateFromLegacyTables(db); in onCreate() 191 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 197 upgradeToVersion2(db); in onUpgrade() 201 upgradeToVersion3(db); in onUpgrade() 205 upgradeToVersion4(db); in onUpgrade() 209 upgradeToVersion5(db); in onUpgrade() [all …]
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/ |
D | IpMemoryStoreDatabase.java | 161 public void onCreate(@NonNull final SQLiteDatabase db) { in onCreate() argument 162 db.execSQL(NetworkAttributesContract.CREATE_TABLE); in onCreate() 163 db.execSQL(PrivateDataContract.CREATE_TABLE); in onCreate() 164 createTrigger(db); in onCreate() 169 public void onUpgrade(@NonNull final SQLiteDatabase db, final int oldVersion, in onUpgrade() argument 183 db.execSQL(sqlUpgradeAddressExpiry); in onUpgrade() 187 createTrigger(db); in onUpgrade() 192 db.execSQL(NetworkAttributesContract.DROP_TABLE); in onUpgrade() 193 db.execSQL(PrivateDataContract.DROP_TABLE); in onUpgrade() 194 onCreate(db); in onUpgrade() [all …]
|
/packages/apps/KeyChain/src/com/android/keychain/internal/ |
D | GrantsDatabase.java | 68 void createSelectableTable(final SQLiteDatabase db) { in createSelectableTable() argument 71 db.execSQL( in createSelectableTable() 85 public void onCreate(final SQLiteDatabase db) { in onCreate() argument 87 db.execSQL( in onCreate() 101 createSelectableTable(db); in onCreate() 102 markExistingKeysAsSelectable(db); in onCreate() 105 private void markExistingKeysAsSelectable(final SQLiteDatabase db) { in markExistingKeysAsSelectable() argument 108 if (!hasEntryInUserSelectableTable(db, alias)) { in markExistingKeysAsSelectable() 110 markKeyAsSelectable(db, alias); in markExistingKeysAsSelectable() 116 private void markKeyAsSelectable(final SQLiteDatabase db, final String alias) { in markKeyAsSelectable() argument [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregator.java | 79 synchronized void aggregateContact(TransactionContext txContext, SQLiteDatabase db, in aggregateContact() argument 104 contactId = pickBestMatchBasedOnExceptions(db, rawContactId, matcher); in aggregateContact() 110 || mDbHelper.isContactInDefaultDirectory(db, currentContactId)) { in aggregateContact() 111 contactId = pickBestMatchBasedOnData(db, rawContactId, candidates, matcher); in aggregateContact() 125 final Cursor rawContactsToAccountsCursor = db.rawQuery( in aggregateContact() 155 actionCode = canJoinIntoContact(db, rawContactId, in aggregateContact() 190 markAggregated(db, String.valueOf(rawContactId)); in aggregateContact() 196 createContactForRawContacts(db, txContext, Sets.newHashSet(rawContactId), null); in aggregateContact() 212 reAggregateRawContacts(txContext, db, contactId, currentContactId, rawContactId, in aggregateContact() 221 ContactsTableUtil.deleteContact(db, currentContactId); in aggregateContact() [all …]
|
D | ContactAggregator2.java | 91 synchronized void aggregateContact(TransactionContext txContext, SQLiteDatabase db, in aggregateContact() argument 95 if (!needAggregate(db, rawContactId)) { in aggregateContact() 119 || mDbHelper.isContactInDefaultDirectory(db, currentContactId)) { in aggregateContact() 121 matchingCandidates = findRawContactMatchingCandidates(db, rawContactId, candidates, in aggregateContact() 169 markAggregated(db, String.valueOf(rawContactId)); in aggregateContact() 175 createContactForRawContacts(db, txContext, Sets.newHashSet(rawContactId), null); in aggregateContact() 179 markAggregated(db, String.valueOf(rawContactId)); in aggregateContact() 186 reAggregateRawContacts(txContext, db, currentContactId, rawContactId, accountId, in aggregateContact() 191 private boolean needAggregate(SQLiteDatabase db, long rawContactId) { in needAggregate() argument 197 final Cursor cursor = db.rawQuery(sql, mSelectionArgs1); in needAggregate() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/database/ |
D | SpeedDialEntryDatabaseHelper.java | 95 public void onCreate(SQLiteDatabase db) { in onCreate() argument 96 db.execSQL(CREATE_TABLE_SQL); in onCreate() 100 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 102 db.execSQL(DELETE_TABLE_SQL); in onUpgrade() 103 this.onCreate(db); in onUpgrade() 107 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument 109 this.onUpgrade(db, oldVersion, newVersion); in onDowngrade() 117 try (SQLiteDatabase db = getReadableDatabase(); in getAllEntries() argument 118 Cursor cursor = db.rawQuery(query, null)) { in getAllEntries() 158 SQLiteDatabase db = getWritableDatabase(); in insert() local [all …]
|
/packages/apps/Dialer/java/com/android/dialer/database/ |
D | DialerDatabaseHelper.java | 109 public void onCreate(SQLiteDatabase db) { in onCreate() argument 110 setupTables(db); in onCreate() 113 private void setupTables(SQLiteDatabase db) { in setupTables() argument 114 dropTables(db); in setupTables() 115 db.execSQL( in setupTables() 151 db.execSQL( in setupTables() 163 db.execSQL( in setupTables() 176 db.execSQL( in setupTables() 200 setProperty(db, DATABASE_VERSION_PROPERTY, String.valueOf(DATABASE_VERSION)); in setupTables() 206 public void dropTables(SQLiteDatabase db) { in dropTables() argument [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherProvider.java | 187 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in query() local 188 Cursor result = qb.query(db, projection, args.where, args.args, null, null, sortOrder); in query() 195 SQLiteDatabase db, String table, String nullColumnHack, ContentValues values) { in dbInsertAndCheck() argument 203 return (int) db.insert(table, nullColumnHack, values); in dbInsertAndCheck() 227 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert() local 229 final int rowId = dbInsertAndCheck(mOpenHelper, db, args.table, null, initialValues); in insert() 231 onAddOrDeleteOp(db); in insert() 280 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in bulkInsert() local 281 try (SQLiteTransaction t = new SQLiteTransaction(db)) { in bulkInsert() 285 if (dbInsertAndCheck(mOpenHelper, db, args.table, null, values[i]) < 0) { in bulkInsert() [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/provider/ |
D | DvrDatabaseHelper.java | 302 public void onConfigure(SQLiteDatabase db) { in onConfigure() argument 303 db.setForeignKeyConstraintsEnabled(true); in onConfigure() 307 public void onCreate(SQLiteDatabase db) { in onCreate() argument 310 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() 320 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 323 db.execSQL(SQL_DROP_SCHEDULES); in onUpgrade() 325 db.execSQL(SQL_DROP_SERIES_RECORDINGS); in onUpgrade() 326 onCreate(db); in onUpgrade() [all …]
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarDatabaseHelperTest.java | 59 protected void bootstrapDbVersion50(SQLiteDatabase db) { in bootstrapDbVersion50() argument 63 syncStateHelper.createDatabase(db); in bootstrapDbVersion50() 65 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() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | MetadataDbHelper.java | 205 private void createClientTable(final SQLiteDatabase db) { in createClientTable() argument 208 db.execSQL(METADATA_CREATE_CLIENT_TABLE); in createClientTable() 215 db.insert(CLIENT_TABLE_NAME, null, defaultMetadataValues); in createClientTable() 227 public void onCreate(final SQLiteDatabase db) { in onCreate() argument 228 db.execSQL(METADATA_TABLE_CREATE); in onCreate() 229 createClientTable(db); in onCreate() 232 private static void addRawChecksumColumnUnlessPresent(final SQLiteDatabase db) { in addRawChecksumColumnUnlessPresent() argument 234 db.execSQL("SELECT " + RAW_CHECKSUM_COLUMN + " FROM " in addRawChecksumColumnUnlessPresent() 238 db.execSQL("ALTER TABLE " + METADATA_TABLE_NAME + " ADD COLUMN " in addRawChecksumColumnUnlessPresent() 243 private static void addRetryCountColumnUnlessPresent(final SQLiteDatabase db) { in addRetryCountColumnUnlessPresent() argument [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | RestoreDbTask.java | 70 SQLiteDatabase db = helper.getWritableDatabase(); in performRestore() local 71 try (SQLiteTransaction t = new SQLiteTransaction(db)) { in performRestore() 73 task.backupWorkspace(context, db); in performRestore() 74 task.sanitizeDB(helper, db, backupManager); in performRestore() 89 final SQLiteDatabase db = helper.getWritableDatabase(); in restoreIfPossible() local 90 try (SQLiteTransaction t = new SQLiteTransaction(db)) { in restoreIfPossible() 92 task.restoreWorkspace(context, db, helper, backupManager); in restoreIfPossible() 104 private void backupWorkspace(Context context, SQLiteDatabase db) throws Exception { in backupWorkspace() argument 106 new GridBackupTable(context, db, idp.numHotseatIcons, idp.numColumns, idp.numRows) in backupWorkspace() 107 .doBackup(getDefaultProfileId(db), GridBackupTable.OPTION_REQUIRES_SANITIZATION); in backupWorkspace() [all …]
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyDatabaseHelperTest.java | 72 SQLiteDatabase db = mInMemoryDbHelper.getWritableDatabase(); in databaseHelperOnUpgrade_hasApnSetIdField() local 73 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.getVersion(mContext)); in databaseHelperOnUpgrade_hasApnSetIdField() 76 Cursor cursor = db.query("carriers", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasApnSetIdField() 87 SQLiteDatabase db = mInMemoryDbHelper.getWritableDatabase(); in databaseHelperOnUpgrade_hasCarrierIdField() local 88 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.getVersion(mContext)); in databaseHelperOnUpgrade_hasCarrierIdField() 91 Cursor cursor = db.query("carriers", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasCarrierIdField() 100 SQLiteDatabase db = mInMemoryDbHelper.getWritableDatabase(); in databaseHelperOnUpgrade_hasCountryIsoField() local 101 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.getVersion(mContext)); in databaseHelperOnUpgrade_hasCountryIsoField() 104 Cursor cursor = db.query("simInfo", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasCountryIsoField() 113 SQLiteDatabase db = mInMemoryDbHelper.getWritableDatabase(); in databaseHelperOnUpgrade_hasProfileClassField() local [all …]
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | PhotoDatabase.java | 87 public void onCreate(SQLiteDatabase db) { in onCreate() argument 88 createTable(db, Accounts.TABLE, getAccountTableDefinition()); in onCreate() 89 createTable(db, Albums.TABLE, getAlbumTableDefinition()); in onCreate() 90 createTable(db, Photos.TABLE, getPhotoTableDefinition()); in onCreate() 91 createTable(db, Metadata.TABLE, getMetadataTableDefinition()); in onCreate() 103 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 104 recreate(db); in onUpgrade() 108 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() argument 109 recreate(db); in onDowngrade() 112 private void recreate(SQLiteDatabase db) { in recreate() argument [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | DatabaseHelper.java | 631 public void onDowngrade(final SQLiteDatabase db, final int oldVersion, final int newVersion) { in onDowngrade() argument 632 mUpgradeHelper.onDowngrade(db, oldVersion, newVersion); in onDowngrade() 638 public static void rebuildTables(final SQLiteDatabase db) { in rebuildTables() argument 640 dropAllTables(db); in rebuildTables() 641 dropAllViews(db); in rebuildTables() 642 dropAllIndexes(db); in rebuildTables() 643 dropAllTriggers(db); in rebuildTables() 646 createDatabase(db); in rebuildTables() 652 static void rebuildView(final SQLiteDatabase db, final String viewName, in rebuildView() argument 654 dropView(db, viewName, true /* throwOnFailure */); in rebuildView() [all …]
|
D | ParticipantRefresh.java | 259 final DatabaseWrapper db = DataModel.get().getDatabase(); in refreshParticipants() local 263 cursor = db.query(DatabaseHelper.PARTICIPANTS_TABLE, in refreshParticipants() 271 if (refreshParticipant(db, participantData)) { in refreshParticipants() 275 updateParticipant(db, participantData); in refreshParticipants() 314 final DatabaseWrapper db = DataModel.get().getDatabase(); in getExistingSubIds() local 319 cursor = db.query(DatabaseHelper.PARTICIPANTS_TABLE, in getExistingSubIds() 360 final DatabaseWrapper db = DataModel.get().getDatabase(); in refreshSelfParticipantList() local 366 db.beginTransaction(); in refreshSelfParticipantList() 375 db.execSQL(DatabaseHelper.getCreateSelfParticipantSql(subId)); in refreshSelfParticipantList() 395 db.execSQL(getUpdateSelfParticipantSubscriptionInfoSql(record.getSimSlotIndex(), in refreshSelfParticipantList() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | ClockDatabaseHelper.java | 73 private static void createAlarmsTable(SQLiteDatabase db) { in createAlarmsTable() argument 74 db.execSQL("CREATE TABLE " + ALARMS_TABLE_NAME + " (" + in createAlarmsTable() 87 private static void createInstanceTable(SQLiteDatabase db) { in createInstanceTable() argument 88 db.execSQL("CREATE TABLE " + INSTANCES_TABLE_NAME + " (" + in createInstanceTable() 111 public void onCreate(SQLiteDatabase db) { in onCreate() argument 112 createAlarmsTable(db); in onCreate() 113 createInstanceTable(db); in onCreate() 127 db.execSQL(insertMe + DEFAULT_ALARM_1); in onCreate() 128 db.execSQL(insertMe + DEFAULT_ALARM_2); in onCreate() 132 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade() argument [all …]
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | IndexDatabaseHelper.java | 187 public void onCreate(SQLiteDatabase db) { in onCreate() argument 188 bootstrapDB(db); in onCreate() 191 private void bootstrapDB(SQLiteDatabase db) { in bootstrapDB() argument 192 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() 201 public void onOpen(SQLiteDatabase db) { in onOpen() argument 202 super.onOpen(db); in onOpen() [all …]
|