Home
last modified time | relevance | path

Searched refs:databaseHelper (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/rtt/
DRttTranscriptUtil.java45 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/
DPreferredSimFallbackProvider.java53 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/
DDatabaseHelper.java53 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/
DPhoneLookupHistoryContentProvider.java73 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/
DAnnotatedCallLogContentProvider.java62 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/
DModelDbController.java122 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/
DTransientRowHelper.java66 TransientRowHelper(Context context, DatabaseHelper databaseHelper) { in TransientRowHelper() argument
68 mDatabaseHelper = databaseHelper; in TransientRowHelper()
/packages/providers/MediaProvider/src/com/android/providers/media/
DDatabaseBackupAndRecovery.java582 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/
DPhotoStore.java70 public PhotoStore(File rootDirectory, ContactsDatabaseHelper databaseHelper) { in PhotoStore() argument
80 mDatabaseHelper = databaseHelper; in PhotoStore()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DExternalDbFacade.java158 public ExternalDbFacade(Context context, DatabaseHelper databaseHelper, in ExternalDbFacade() argument
161 mDatabaseHelper = databaseHelper; in ExternalDbFacade()