/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | MmsSmsDatabaseHelper.java | 350 private static void removeUnferencedCanonicalAddresses(SQLiteDatabase db) { in removeUnferencedCanonicalAddresses() 391 public static void updateThread(SQLiteDatabase db, long thread_id) { in updateThread() 403 public static void updateThreads(SQLiteDatabase db, String where, String[] whereArgs) { in updateThreads() 506 public static int deleteOneSms(SQLiteDatabase db, int message_id) { in deleteOneSms() 528 public void onCreate(SQLiteDatabase db) { in onCreate() 585 private void populateWordsTable(SQLiteDatabase db) { in populateWordsTable() 654 private void createWordsTables(SQLiteDatabase db) { in createWordsTables() 675 private void createIndices(SQLiteDatabase db) { in createIndices() 682 private void createThreadIdIndex(SQLiteDatabase db) { in createThreadIdIndex() 691 private void createThreadIdDateIndex(SQLiteDatabase db) { in createThreadIdDateIndex() [all …]
|
D | CarrierDatabaseHelper.java | 82 public void onCreate(SQLiteDatabase db) { in onCreate() 86 public void createCarrierTable(SQLiteDatabase db) { in createCarrierTable() 90 public void dropCarrierTable(SQLiteDatabase db) { in dropCarrierTable() 95 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarDatabaseHelper.java | 326 public void onOpen(SQLiteDatabase db) { in onOpen() 354 private void upgradeSyncState(SQLiteDatabase db) { in upgradeSyncState() 384 public void onCreate(SQLiteDatabase db) { in onCreate() 388 private void bootstrapDB(SQLiteDatabase db) { in bootstrapDB() 516 private void createEventsTable(SQLiteDatabase db) { in createEventsTable() 590 private void createEventsTable307(SQLiteDatabase db) { in createEventsTable307() 653 private void createEventsTable300(SQLiteDatabase db) { in createEventsTable300() 709 private void createCalendarsTable303(SQLiteDatabase db) { in createCalendarsTable303() 747 private void createColorsTable(SQLiteDatabase db) { in createColorsTable() 760 public void createColorsTriggers(SQLiteDatabase db) { in createColorsTriggers() [all …]
|
D | MetaData.java | 81 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getFields() local 115 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getFieldsLocked() local 130 private void readLocked(SQLiteDatabase db) { in readLocked() 171 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in write() local 203 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in writeLocked() local 227 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in clearInstanceRange() local
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyDatabaseHelperTest.java | 72 SQLiteDatabase db = mInMemoryDbHelper.getWritableDatabase(); in databaseHelperOnUpgrade_hasApnSetIdField() local 87 SQLiteDatabase db = mInMemoryDbHelper.getWritableDatabase(); in databaseHelperOnUpgrade_hasCarrierIdField() local 100 SQLiteDatabase db = mInMemoryDbHelper.getWritableDatabase(); in databaseHelperOnUpgrade_hasCountryIsoField() local 113 SQLiteDatabase db = mInMemoryDbHelper.getWritableDatabase(); in databaseHelperOnUpgrade_hasProfileClassField() local 127 SQLiteDatabase db = mInMemoryDbHelper.getWritableDatabase(); in databaseHelperOnUpgrade_hasSkip464XlatField() local 141 SQLiteDatabase db = mInMemoryDbHelper.getWritableDatabase(); in databaseHelperOnUpgrade_columnsMatchNewlyCreatedDb() local 177 SQLiteDatabase db = mInMemoryDbHelper.getWritableDatabase(); in databaseHelperOnUpgrade_hasSubscriptionTypeField() local 192 SQLiteDatabase db = mInMemoryDbHelper.getWritableDatabase(); in databaseHelperOnUpgrade_hasImsRcsUceEnabledField() local 221 public void onCreate(SQLiteDatabase db) { in onCreate() 282 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
|
/packages/apps/KeyChain/src/com/android/keychain/internal/ |
D | GrantsDatabase.java | 68 void createSelectableTable(final SQLiteDatabase db) { in createSelectableTable() 85 public void onCreate(final SQLiteDatabase db) { in onCreate() 105 private void markExistingKeysAsSelectable(final SQLiteDatabase db) { in markExistingKeysAsSelectable() 116 private void markKeyAsSelectable(final SQLiteDatabase db, final String alias) { in markKeyAsSelectable() 123 private boolean hasEntryInUserSelectableTable(final SQLiteDatabase db, final String alias) { in hasEntryInUserSelectableTable() 133 public void onUpgrade(final SQLiteDatabase db, int oldVersion, final int newVersion) { in onUpgrade() 157 boolean hasGrantInternal(final SQLiteDatabase db, final int uid, final String alias) { in hasGrantInternal() 167 final SQLiteDatabase db = mDatabaseHelper.getWritableDatabase(); in hasGrant() local 172 final SQLiteDatabase db = mDatabaseHelper.getWritableDatabase(); in setGrant() local 189 final SQLiteDatabase db = mDatabaseHelper.getWritableDatabase(); in removeAliasInformation() local [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/ |
D | ContactsTableUtil.java | 43 public static void createIndexes(SQLiteDatabase db) { in createIndexes() 58 public static void updateContactLastUpdateByContactId(SQLiteDatabase db, long contactId) { in updateContactLastUpdateByContactId() 72 public static void updateContactLastUpdateByRawContactId(SQLiteDatabase db, in updateContactLastUpdateByRawContactId() 112 public static int deleteContact(SQLiteDatabase db, long contactId) { in deleteContact() 121 public static int deleteContactIfSingleton(SQLiteDatabase db, long rawContactId) { in deleteContactIfSingleton()
|
D | DeletedContactsTableUtil.java | 36 public static void create(SQLiteDatabase db) { in create() 56 public static long insertDeletedContact(SQLiteDatabase db, long contactId) { in insertDeletedContact() 71 public static int deleteOldLogs(SQLiteDatabase db) { in deleteOldLogs()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/provider/ |
D | RestoreDbTaskTest.java | 27 SQLiteDatabase db = new MyDatabaseHelper(23).getWritableDatabase(); in testGetProfileId() local 33 SQLiteDatabase db = new MyDatabaseHelper(42).getWritableDatabase(); in testMigrateProfileId() local 53 SQLiteDatabase db = new MyDatabaseHelper(42).getWritableDatabase(); in testChangeDefaultColumn() local 74 private int getCount(SQLiteDatabase db, String sql) { in getCount() 95 protected void handleOneTimeDataUpgrade(SQLiteDatabase db) { } in handleOneTimeDataUpgrade()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | ApnDatabase.java | 172 public void onCreate(final SQLiteDatabase db) { in onCreate() 185 public static List<ContentValues> loadUserDataFromOldTable(final SQLiteDatabase db) { in loadUserDataFromOldTable() 222 final SQLiteDatabase db, final List<ContentValues> data) { in saveUserDataFromOldTable() 289 public void onOpen(final SQLiteDatabase db) { in onOpen() 304 private void rebuildTables(final SQLiteDatabase db) { in rebuildTables() 314 public void onUpgrade(final SQLiteDatabase db, final int oldVersion, final int newVersion) { in onUpgrade() 322 public void onDowngrade(final SQLiteDatabase db, final int oldVersion, final int newVersion) { in onDowngrade() 332 private static void loadApnTable(final SQLiteDatabase db) { in loadApnTable() 355 final SQLiteDatabase db = getApnDatabase().getWritableDatabase(); in forceBuildAndLoadApnTables() local 370 final SQLiteDatabase db = getApnDatabase().getWritableDatabase(); in clearTables() local
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | DatabaseUpgradeHelper.java | 28 public void doOnUpgrade(final SQLiteDatabase db, final int oldVersion, final int newVersion) { in doOnUpgrade() 45 public void doUpgradeWithExceptions(final SQLiteDatabase db, final int oldVersion, in doUpgradeWithExceptions() 59 private int upgradeToVersion2(final SQLiteDatabase db) { in upgradeToVersion2() 92 public void onDowngrade(final SQLiteDatabase db, final int oldVersion, final int newVersion) { in onDowngrade()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | CallLogDatabaseHelper.java | 97 public void onCreate(SQLiteDatabase db) { in onCreate() 191 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() 267 private void upgradeToVersion2(SQLiteDatabase db) { in upgradeToVersion2() 275 private void upgradeToVersion3(SQLiteDatabase db) { in upgradeToVersion3() 284 private void upgradeToVersion4(SQLiteDatabase db) { in upgradeToVersion4() 294 private void upgradeToVersion5(SQLiteDatabase db) { in upgradeToVersion5() 303 private void upgradeToVersion6(SQLiteDatabase db) { in upgradeToVersion6() 314 private void upgradeToVersion7(SQLiteDatabase db) { in upgradeToVersion7() 327 private void upgradetoVersion8(SQLiteDatabase db) { in upgradetoVersion8() 535 static boolean tableExists(SQLiteDatabase db, String table) { in tableExists() [all …]
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | SQLiteTransaction.java | 32 protected abstract boolean performTransaction(SQLiteDatabase db); in performTransaction() 38 public void run(SQLiteDatabase db) { in run()
|
D | SQLiteAsyncQuery.java | 34 protected abstract A performQuery(SQLiteDatabase db); in performQuery() 39 public void run(SQLiteDatabase db, Consumer<A> consumer) { in run()
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
D | UsbSettingsStorage.java | 52 private Cursor queryFor(SQLiteDatabase db, UsbDevice device) { in queryFor() 79 try (SQLiteDatabase db = mDbHelper.getReadableDatabase(); in getSettings() 98 try (SQLiteDatabase db = mDbHelper.getWritableDatabase()) { in saveSettings() 113 try (SQLiteDatabase db = mDbHelper.getWritableDatabase()) { in deleteSettings() 134 try (SQLiteDatabase db = mDbHelper.getReadableDatabase(); in getAllSettings() 201 public void onCreate(SQLiteDatabase db) { in onCreate() 206 private void createTable(SQLiteDatabase db, String tableName) { in createTable() 219 private void createSerialIndex(SQLiteDatabase db) { in createSerialIndex() 225 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/database/ |
D | AnnotatedCallLogDatabaseHelper.java | 147 public void onCreate(SQLiteDatabase db) { in onCreate() 162 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() 174 private static void upgradeToV2(SQLiteDatabase db) { in upgradeToV2() 190 private static void upgradeToV4(SQLiteDatabase db) { in upgradeToV4()
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/database/ |
D | SpeedDialEntryDatabaseHelper.java | 95 public void onCreate(SQLiteDatabase db) { in onCreate() 100 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() 107 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() 117 try (SQLiteDatabase db = getReadableDatabase(); in getAllEntries() 158 SQLiteDatabase db = getWritableDatabase(); in insert() local 191 try (SQLiteDatabase db = getWritableDatabase()) { in insert() 207 SQLiteDatabase db = getWritableDatabase(); in update() local 264 try (SQLiteDatabase db = getWritableDatabase()) { in delete() 293 SQLiteDatabase db = getWritableDatabase(); in insertUpdateAndDelete() local 309 SQLiteDatabase db = getWritableDatabase(); in deleteAll() local
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/ |
D | AnomalyDatabaseHelper.java | 151 public void onCreate(SQLiteDatabase db) { in onCreate() 156 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() 166 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() 173 public void reconstruct(SQLiteDatabase db) { in reconstruct() 178 private void bootstrapDB(SQLiteDatabase db) { in bootstrapDB() 184 private void dropTables(SQLiteDatabase db) { in dropTables()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/ |
D | AnomalyDatabaseHelper.java | 151 public void onCreate(SQLiteDatabase db) { in onCreate() 156 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() 166 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() 173 public void reconstruct(SQLiteDatabase db) { in reconstruct() 178 private void bootstrapDB(SQLiteDatabase db) { in bootstrapDB() 184 private void dropTables(SQLiteDatabase db) { in dropTables()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregator.java | 79 synchronized void aggregateContact(TransactionContext txContext, SQLiteDatabase db, in aggregateContact() 248 private void clearSuperPrimarySetting(SQLiteDatabase db, long contactId, long rawContactId) { in clearSuperPrimarySetting() 315 private int canJoinIntoContact(SQLiteDatabase db, long rawContactId, in canJoinIntoContact() 370 private boolean isDataMaching(SQLiteDatabase db, Set<Long> rawContactIdSet1, in isDataMaching() 416 private void reAggregateRawContacts(TransactionContext txContext, SQLiteDatabase db, in reAggregateRawContacts() 475 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in updateAggregationAfterVisibilityChange() local 550 private long pickBestMatchBasedOnExceptions(SQLiteDatabase db, long rawContactId, in pickBestMatchBasedOnExceptions() 613 private long pickBestMatchBasedOnData(SQLiteDatabase db, long rawContactId, in pickBestMatchBasedOnData() 638 private long pickBestMatchBasedOnSecondaryData(SQLiteDatabase db, in pickBestMatchBasedOnSecondaryData() 670 private long updateMatchScoresBasedOnDataMatches(SQLiteDatabase db, long rawContactId, in updateMatchScoresBasedOnDataMatches() [all …]
|
D | ProfileAggregator.java | 48 protected String computeLookupKeyForContact(SQLiteDatabase db, long contactId) { in computeLookupKeyForContact() 62 public long onRawContactInsert(TransactionContext txContext, SQLiteDatabase db, in onRawContactInsert() 69 public void aggregateInTransaction(TransactionContext txContext, SQLiteDatabase db) { in aggregateInTransaction() 74 public void aggregateContact(TransactionContext txContext, SQLiteDatabase db, in aggregateContact()
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | PhotoDatabase.java | 87 public void onCreate(SQLiteDatabase db) { in onCreate() 103 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() 108 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() 112 private void recreate(SQLiteDatabase db) { in recreate() 136 protected static void createTable(SQLiteDatabase db, String table, List<String[]> columns) { in createTable() 186 protected static void dropTable(SQLiteDatabase db, String table) { in dropTable()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherProvider.java | 179 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in query() local 187 SQLiteDatabase db, String table, String nullColumnHack, ContentValues values) { in dbInsertAndCheck() 219 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert() local 273 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in bulkInsert() local 323 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete() local 344 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update() local 418 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in deleteEmptyFolders() local 612 public void onCreate(SQLiteDatabase db) { in onCreate() 625 protected void onAddOrDeleteOp(SQLiteDatabase db) { in onAddOrDeleteOp() 655 private void addFavoritesTable(SQLiteDatabase db, boolean optional) { in addFavoritesTable() [all …]
|
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/util/ |
D | SQLiteCacheHelper.java | 90 protected abstract void onCreateTable(SQLiteDatabase db); in onCreateTable() 102 public void onCreate(SQLiteDatabase db) { in onCreate() 107 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() 114 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() 120 private void clearDB(SQLiteDatabase db) { in clearDB()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | PropertyUtils.java | 42 public static void createPropertiesTable(SQLiteDatabase db) { in createPropertiesTable() 53 public static String getProperty(SQLiteDatabase db, String key, String defaultValue) { in getProperty() 73 public static void setProperty(SQLiteDatabase db, String key, String value) { in setProperty()
|