/packages/apps/Dialer/java/com/android/dialer/rtt/ |
D | RttTranscriptUtil.java | 45 RttTranscriptDatabaseHelper databaseHelper = new RttTranscriptDatabaseHelper(context); in checkRttTranscriptAvailability() local 53 databaseHelper in checkRttTranscriptAvailability() 69 databaseHelper.close(); in checkRttTranscriptAvailability() 82 RttTranscriptDatabaseHelper databaseHelper = new RttTranscriptDatabaseHelper(context); in getRttTranscript() local 84 databaseHelper in getRttTranscript() 104 databaseHelper.close(); in getRttTranscript() 122 RttTranscriptDatabaseHelper databaseHelper = new RttTranscriptDatabaseHelper(context); in save() local 127 databaseHelper.getWritableDatabase().insert(RttTranscriptDatabaseHelper.TABLE, null, value); in save() 128 databaseHelper.close(); in save()
|
/packages/apps/Dialer/java/com/android/dialer/preferredsim/impl/ |
D | PreferredSimFallbackProvider.java | 53 private PreferredSimDatabaseHelper databaseHelper; field in PreferredSimFallbackProvider 57 databaseHelper = new PreferredSimDatabaseHelper(getContext()); in onCreate() 75 databaseHelper.getReadableDatabase(), in query() 112 return databaseHelper in delete() 121 return databaseHelper in delete() 153 if (databaseHelper.getWritableDatabase().replace(PreferredSimDatabaseHelper.TABLE, null, values) in update()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/ |
D | DatabaseHelper.java | 53 for (DatabaseHelper databaseHelper : getDatabaseHelpers()) { in clearAllData() 54 databaseHelper.clearData(transactionManager); in clearAllData() 60 for (DatabaseHelper databaseHelper : getDatabaseHelpers()) { in clearAllCache() 61 databaseHelper.clearCache(); in clearAllCache()
|
/packages/apps/Dialer/java/com/android/dialer/phonelookup/database/ |
D | PhoneLookupHistoryContentProvider.java | 73 private PhoneLookupHistoryDatabaseHelper databaseHelper; field in PhoneLookupHistoryContentProvider 84 databaseHelper = in onCreate() 97 SQLiteDatabase db = databaseHelper.getReadableDatabase(); in query() 136 SQLiteDatabase database = databaseHelper.getWritableDatabase(); in insert() 183 SQLiteDatabase database = databaseHelper.getWritableDatabase(); in delete() 230 SQLiteDatabase database = databaseHelper.getWritableDatabase(); in update() 280 SQLiteDatabase database = databaseHelper.getWritableDatabase(); in applyBatch()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/database/ |
D | AnnotatedCallLogContentProvider.java | 62 private AnnotatedCallLogDatabaseHelper databaseHelper; field in AnnotatedCallLogContentProvider 73 databaseHelper = CallLogDatabaseComponent.get(getContext()).annotatedCallLogDatabaseHelper(); in onCreate() 91 SQLiteDatabase db = databaseHelper.getReadableDatabase(); in query() 151 SQLiteDatabase database = databaseHelper.getWritableDatabase(); in insert() 193 SQLiteDatabase database = databaseHelper.getWritableDatabase(); in delete() 233 SQLiteDatabase database = databaseHelper.getWritableDatabase(); in update() 284 SQLiteDatabase database = databaseHelper.getWritableDatabase(); in applyBatch()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | ModelDbController.java | 122 DatabaseHelper databaseHelper = new DatabaseHelper(mContext, dbName, in createDatabaseHelper() local 127 if (!tableExists(databaseHelper.getReadableDatabase(), Favorites.TABLE_NAME)) { in createDatabaseHelper() 130 addTableToDb(databaseHelper.getWritableDatabase(), in createDatabaseHelper() 134 databaseHelper.mHotseatRestoreTableExists = tableExists( in createDatabaseHelper() 135 databaseHelper.getReadableDatabase(), Favorites.HYBRID_HOTSEAT_BACKUP_TABLE); in createDatabaseHelper() 137 databaseHelper.initIds(); in createDatabaseHelper() 138 return databaseHelper; in createDatabaseHelper()
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
D | TransientRowHelper.java | 66 TransientRowHelper(Context context, DatabaseHelper databaseHelper) { in TransientRowHelper() argument 68 mDatabaseHelper = databaseHelper; in TransientRowHelper()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | DatabaseBackupAndRecovery.java | 582 protected void backupVolumeDbData(DatabaseHelper databaseHelper, FileRow insertedRow) { in backupVolumeDbData() argument 583 if (!isBackupUpdateAllowed(databaseHelper, insertedRow.getVolumeName())) { in backupVolumeDbData() 723 protected void deleteFromDbBackup(DatabaseHelper databaseHelper, FileRow deletedRow) { in deleteFromDbBackup() argument 724 if (!isBackupUpdateAllowed(databaseHelper, deletedRow.getVolumeName())) { in deleteFromDbBackup() 741 protected boolean isBackupUpdateAllowed(DatabaseHelper databaseHelper, String volumeName) { in isBackupUpdateAllowed() argument 743 return isStableUrisEnabled(volumeName) && !databaseHelper.isDatabaseRecovering() in isBackupUpdateAllowed() 773 private void markBackupAsDirty(DatabaseHelper databaseHelper, FileRow updatedRow) { in markBackupAsDirty() argument 774 if (!isBackupUpdateAllowed(databaseHelper, updatedRow.getVolumeName())) { in markBackupAsDirty()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | PhotoStore.java | 70 public PhotoStore(File rootDirectory, ContactsDatabaseHelper databaseHelper) { in PhotoStore() argument 80 mDatabaseHelper = databaseHelper; in PhotoStore()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/ |
D | ExternalDbFacade.java | 158 public ExternalDbFacade(Context context, DatabaseHelper databaseHelper, in ExternalDbFacade() argument 161 mDatabaseHelper = databaseHelper; in ExternalDbFacade()
|