Home
last modified time | relevance | path

Searched refs:mDbHelper (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/eab/
DEabProviderTestable.java36 private InMemoryEabProviderDbHelper mDbHelper; field in EabProviderTestable
41 mDbHelper = new InMemoryEabProviderDbHelper(); in onCreate()
47 mDbHelper.close(); in closeDatabase()
67 Log.d(TAG, "getReadableDatabase called" + mDbHelper.getReadableDatabase()); in getReadableDatabase()
68 return mDbHelper.getReadableDatabase(); in getReadableDatabase()
73 Log.d(TAG, "getWritableDatabase called" + mDbHelper.getWritableDatabase()); in getWritableDatabase()
74 return mDbHelper.getWritableDatabase(); in getWritableDatabase()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/satellite/
DFakeSatelliteProvider.java35 private InMemorySatelliteProviderDbHelper mDbHelper = new InMemorySatelliteProviderDbHelper(); field in FakeSatelliteProvider
70 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in insert()
77 return mDbHelper.getWritableDatabase() in delete()
84 return mDbHelper.getReadableDatabase().query(Telephony.SatelliteDatagrams.TABLE_NAME, in query()
101 mDbHelper.close(); in shutdown()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DFakeSmsContentProvider.java32 public SQLiteOpenHelper mDbHelper = new InMemorySmsDbHelper(); field in FakeSmsContentProvider
78 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in query()
85 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in insert()
93 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in delete()
112 mDbHelper.close(); in shutdown()
DFakeTelephonyProvider.java39 private InMemoryTelephonyProviderDbHelper mDbHelper = field in FakeTelephonyProvider
160 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in insert()
167 return mDbHelper.getWritableDatabase().delete("siminfo", where, whereArgs); in delete()
173 return mDbHelper.getReadableDatabase().query("siminfo", projection, selection, in query()
192 int count = mDbHelper.getWritableDatabase().update("siminfo", values, where, in update()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DWatchlistLoggingHandler.java76 private final WatchlistReportDbHelper mDbHelper; field in WatchlistLoggingHandler
100 mDbHelper = WatchlistReportDbHelper.getInstance(context); in WatchlistLoggingHandler()
248 if (mDbHelper.insertNewRecord(digest, cncHost, timestamp)) { in insertRecord()
258 mDbHelper.cleanup(lastReportTime); in shouldReportNetworkWatchlist()
278 mDbHelper.getAggregatedRecords(lastRecordTime); in tryAggregateRecords()
295 mDbHelper.cleanup(lastRecordTime); in tryAggregateRecords()
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/
DWapPushManager.java382 private WapPushManDBHelper mDbHelper = null; field in WapPushManager
384 if (mDbHelper == null) { in getDatabase()
386 mDbHelper = new WapPushManDBHelper(context.createDeviceProtectedStorageContext()); in getDatabase()
390 return mDbHelper; in getDatabase()
453 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in migrateWapPushManDBIfNeeded()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java156 private IEnrolledModelDb mDbHelper; field in VoiceInteractionManagerService
178 mDbHelper = mRealDbHelper = new DatabaseHelper(context); in VoiceInteractionManagerService()
1664 return mDbHelper.getKeyphraseSoundModel(keyphraseId, callingUserId, bcp47Locale); in getKeyphraseSoundModel()
1679 if (mDbHelper.updateKeyphraseSoundModel(model)) { in updateKeyphraseSoundModel()
1715 deleted = mDbHelper.deleteKeyphraseSoundModel(keyphraseId, callingUserId, in deleteKeyphraseSoundModel()
1746 if (mDbHelper == db) { in setModelDatabaseForTestEnabled()
1747 mDbHelper = mRealDbHelper; in setModelDatabaseForTestEnabled()
1756 mDbHelper = db; in setModelDatabaseForTestEnabled()
1760 if (mDbHelper != mRealDbHelper) { in setModelDatabaseForTestEnabled()
1761 mDbHelper = mRealDbHelper; in setModelDatabaseForTestEnabled()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerService.java149 private SoundTriggerDbHelper mDbHelper; field in SoundTriggerService
267 mDbHelper = new SoundTriggerDbHelper(mContext); in onBootPhase()
501 mDbHelper.dump(pw); in dump()
592 SoundTrigger.GenericSoundModel model = mDbHelper.getGenericSoundModel( in getSoundModel()
603 mDbHelper.updateGenericSoundModel(soundModel); in updateSoundModel()
618 mDbHelper.deleteGenericSoundModel(soundModelId.getUuid()); in deleteSoundModel()