Home
last modified time | relevance | path

Searched refs:getDatabase (Results 1 – 25 of 78) sorted by relevance

1234

/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleDatabaseOperations.java370 Assert.isTrue(dbWrapper.getDatabase().inTransaction()); in createConversationInTransaction()
563 Assert.isTrue(dbWrapper.getDatabase().inTransaction()); in updateConversationMetadataInTransaction()
612 Assert.isTrue(dbWrapper.getDatabase().inTransaction()); in updateConversationArchiveStatusInTransaction()
719 Assert.isTrue(dbWrapper.getDatabase().inTransaction()); in updateConversationDraftSnippetAndPreviewInTransaction()
825 Assert.isTrue(dbWrapper.getDatabase().inTransaction()); in updateConversationNameAndAvatarInTransaction()
838 Assert.isTrue(dbWrapper.getDatabase().inTransaction()); in updateConversationNameAndAvatarInTransaction()
865 Assert.isTrue(dbWrapper.getDatabase().inTransaction()); in updateConversationSelfIdInTransaction()
1142 Assert.isTrue(dbWrapper.getDatabase().inTransaction()); in insertNewMessagePartInTransaction()
1165 Assert.isTrue(dbWrapper.getDatabase().inTransaction()); in insertNewMessageInTransaction()
1188 Assert.isTrue(dbWrapper.getDatabase().inTransaction()); in updateMessageInTransaction()
[all …]
DParticipantRefresh.java259 final DatabaseWrapper db = DataModel.get().getDatabase(); in refreshParticipants()
314 final DatabaseWrapper db = DataModel.get().getDatabase(); in getExistingSubIds()
360 final DatabaseWrapper db = DataModel.get().getDatabase(); in refreshSelfParticipantList()
629 final DatabaseWrapper db = DataModel.get().getDatabase(); in getInactiveSelfParticipantIds()
660 final DatabaseWrapper db = DataModel.get().getDatabase(); in getConversationsWithSelfParticipantIds()
698 final DatabaseWrapper db = DataModel.get().getDatabase(); in updateConversationSelfId()
728 final DatabaseWrapper db = DataModel.get().getDatabase(); in refreshConversationSelfIds()
DMessagingContentProvider.java255 mDatabaseWrapper = mDatabaseHelper.getDatabase(); in getDatabaseWrapper()
403 protected DatabaseHelper getDatabase() { in getDatabase() method in MessagingContentProvider
472 mDatabaseHelper = (DatabaseHelper) getDatabase(); in onCreate()
DDataModelImpl.java186 public DatabaseWrapper getDatabase() { in getDatabase() method in DataModelImpl
190 return mDatabaseHelper.getDatabase(); in getDatabase()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DPhonePolicy.java248 mDatabaseManager = Objects.requireNonNull(mAdapterService.getDatabase(), in PhonePolicy()
269 mAdapterService.getDatabase().setProfileConnectionPolicy(device, in processInitProfilePriorities()
278 mAdapterService.getDatabase().setProfileConnectionPolicy(device, in processInitProfilePriorities()
286 mAdapterService.getDatabase().setProfileConnectionPolicy(device, in processInitProfilePriorities()
295 mAdapterService.getDatabase().setProfileConnectionPolicy(device, in processInitProfilePriorities()
303 mAdapterService.getDatabase().setProfileConnectionPolicy(device, in processInitProfilePriorities()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DReadWriteDraftMessageActionTest.java68 final DatabaseWrapper db = DataModel.get().getDatabase(); in testWriteDraft()
127 final DatabaseWrapper db = DataModel.get().getDatabase(); in testReadDraft()
169 final DatabaseWrapper db = DataModel.get().getDatabase(); in testReadDraftForNewConversation()
225 final DatabaseWrapper db = DataModel.get().getDatabase(); in testWriteAndReadDraft()
286 final DatabaseWrapper db = DataModel.get().getDatabase(); in testUpdateDraft()
336 final DatabaseWrapper db = DataModel.get().getDatabase(); in testBugleDatabaseDraftOperations()
DGetOrCreateConversationActionTest.java51 final DatabaseWrapper db = DataModel.get().getDatabase(); in testGetOrCreateConversation()
169 provider.setDatabaseForTest(fakeDataModel.getDatabase()); in setUp()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DInsertNewMessageAction.java130 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
257 final DatabaseWrapper db = DataModel.get().getDatabase(); in createMessage()
297 final DatabaseWrapper db = DataModel.get().getDatabase(); in insertBroadcastSmsMessage()
359 final DatabaseWrapper db = DataModel.get().getDatabase(); in insertSendingSmsMessage()
428 final DatabaseWrapper db = DataModel.get().getDatabase(); in insertSendingMmsMessage()
DUpdateConversationOptionsAction.java98 Assert.isTrue(dbWrapper.getDatabase().inTransaction()); in putOptionValuesInTransaction()
119 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
DSendMessageAction.java99 final DatabaseWrapper db = DataModel.get().getDatabase(); in queueAction()
261 final DatabaseWrapper db = DataModel.get().getDatabase(); in updateMessageUri()
309 final DatabaseWrapper db = DataModel.get().getDatabase(); in updateMessageAndStatus()
DDeleteConversationAction.java71 final DatabaseWrapper db = DataModel.get().getDatabase(); in doBackgroundWork()
138 final DatabaseWrapper db = DataModel.get().getDatabase(); in deleteConversationMessagesFromTelephony()
DSyncMessagesAction.java144 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
196 final DatabaseWrapper db = DataModel.get().getDatabase(); in doBackgroundWork()
469 final DatabaseWrapper db = DataModel.get().getDatabase(); in processBackgroundResponse()
DDownloadMmsAction.java116 final DatabaseWrapper db = DataModel.get().getDatabase(); in queueAction()
317 final DatabaseWrapper db = DataModel.get().getDatabase(); in updateMessageStatus()
DProcessPendingMessagesAction.java220 final DatabaseWrapper db = DataModel.get().getDatabase(); in getHavePendingMessages()
250 final DatabaseWrapper db = DataModel.get().getDatabase(); in queueActions()
DUpdateConversationArchiveStatusAction.java57 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
DFixupMessageStatusOnStartupAction.java47 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
/packages/apps/Nfc/nci/jni/
DRouteDataSet.cpp472 RouteDataSet::Database* RouteDataSet::getDatabase(DatabaseSelection selection) { in getDatabase() function in RouteDataSet
493 Database* db = getDatabase(DefaultRouteDatabase); in printDiagnostic()
517 db = getDatabase(SecElemRouteDatabase); in printDiagnostic()
DRouteDataSet.h197 Database* getDatabase(DatabaseSelection selection);
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DFakeDataModel.java221 public DatabaseWrapper getDatabase() { in getDatabase() method in FakeDataModel
224 return mDatabaseHelper.getDatabase(); in getDatabase()
DParticipantRefreshTest.java83 final DatabaseWrapper db = DataModel.get().getDatabase(); in addParticipant()
105 final DatabaseWrapper db = DataModel.get().getDatabase(); in verifyParticipant()
/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/
DFavoriteNumberDatabase.java36 static FavoriteNumberDatabase getDatabase(final Context context) { in getDatabase() method in FavoriteNumberDatabase
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapServiceTest.java62 doReturn(mDatabaseManager).when(mAdapterService).getDatabase(); in setUp()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/pbapclient/
DPbapClientServiceTest.java63 doReturn(mDatabaseManager).when(mAdapterService).getDatabase(); in setUp()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/
DHeadsetClientServiceTest.java64 doReturn(mDatabaseManager).when(mAdapterService).getDatabase(); in setUp()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/pbap/
DBluetoothPbapServiceTest.java62 doReturn(mDatabaseManager).when(mAdapterService).getDatabase(); in setUp()

1234