/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/ |
D | MeasurementDao.java | 139 .getDatabase() in insertTrigger() 154 .getDatabase() in getPendingTriggerIds() 176 .getDatabase() in getSource() 200 .getDatabase() in getSourceDestinations() 244 .getDatabase() in getTrigger() 288 .getDatabase() in getEventReport() 311 .getDatabase() in getAggregateReport() 335 .getDatabase() in getDebugReport() 414 .getDatabase() in insertSource() 436 .getDatabase() in insertSource() [all …]
|
D | SQLTransaction.java | 61 public SQLiteDatabase getDatabase() throws DatastoreException { in getDatabase() method in SQLTransaction
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | PhonePolicy.java | 273 mDatabaseManager = Objects.requireNonNull(mAdapterService.getDatabase(), in PhonePolicy() 315 mAdapterService.getDatabase().setProfileConnectionPolicy(device, in processInitProfilePriorities() 328 mAdapterService.getDatabase().setProfileConnectionPolicy(device, in processInitProfilePriorities() 335 mAdapterService.getDatabase().setProfileConnectionPolicy(device, in processInitProfilePriorities() 349 mAdapterService.getDatabase().setProfileConnectionPolicy(device, in processInitProfilePriorities() 356 mAdapterService.getDatabase().setProfileConnectionPolicy(device, in processInitProfilePriorities() 372 mAdapterService.getDatabase().setProfileConnectionPolicy(device, in processInitProfilePriorities() 388 mAdapterService.getDatabase().setProfileConnectionPolicy(device, in processInitProfilePriorities() 403 mAdapterService.getDatabase().setProfileConnectionPolicy(device, in processInitProfilePriorities() 408 mAdapterService.getDatabase().setProfileConnectionPolicy(device, in processInitProfilePriorities() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/ |
D | VolumeControlServiceTest.java | 109 doReturn(mDatabaseManager).when(mAdapterService).getDatabase(); in setUp() 250 when(mAdapterService.getDatabase()).thenReturn(mDatabaseManager); in testGetSetPolicy() 258 when(mAdapterService.getDatabase()).thenReturn(mDatabaseManager); in testGetSetPolicy() 266 when(mAdapterService.getDatabase()).thenReturn(mDatabaseManager); in testGetSetPolicy() 340 when(mAdapterService.getDatabase()).thenReturn(mDatabaseManager); in testOutgoingConnectMissingVolumeControlUuid() 361 when(mAdapterService.getDatabase()).thenReturn(mDatabaseManager); in testOutgoingConnectDisconnectExistingVolumeControlUuid() 402 when(mAdapterService.getDatabase()).thenReturn(mDatabaseManager); in testOutgoingConnectPolicyForbidden() 417 when(mAdapterService.getDatabase()).thenReturn(mDatabaseManager); in testOutgoingConnectTimeout() 453 when(mAdapterService.getDatabase()).thenReturn(mDatabaseManager); in testCreateStateMachineStackEvents() 516 when(mAdapterService.getDatabase()).thenReturn(mDatabaseManager); in testDeleteStateMachineDisconnectEvents() [all …]
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/stats/ |
D | AppSearchStatsTest.java | 52 assertThat(cStats.getDatabase()).isEqualTo(TEST_DATA_BASE); in testAppSearchStats_CallStats() 71 assertThat(cStats.getDatabase()).isNull(); in testAppSearchCallStats_nullValues() 102 assertThat(pStats.getDatabase()).isEqualTo(TEST_DATA_BASE); in testAppSearchStats_PutDocumentStats() 237 assertThat(sStats.getDatabase()).isEqualTo(TEST_DATA_BASE); in testAppSearchStats_SearchStats() 324 assertThat(sStats.getDatabase()).isEqualTo(TEST_DATA_BASE); in testAppSearchStats_SetSchemaStats() 389 assertThat(sStats.getDatabase()).isEqualTo(TEST_DATA_BASE); in testAppSearchStats_SchemaMigrationStats() 421 assertThat(rStats.getDatabase()).isEqualTo(TEST_DATA_BASE); in testAppSearchStats_RemoveStats()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | ParticipantRefresh.java | 259 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()
|
D | BugleDatabaseOperations.java | 370 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 …]
|
D | MessagingContentProvider.java | 255 mDatabaseWrapper = mDatabaseHelper.getDatabase(); in getDatabaseWrapper() 403 protected DatabaseHelper getDatabase() { in getDatabase() method in MessagingContentProvider 472 mDatabaseHelper = (DatabaseHelper) getDatabase(); in onCreate()
|
D | DataModelImpl.java | 186 public DatabaseWrapper getDatabase() { in getDatabase() method in DataModelImpl 190 return mDatabaseHelper.getDatabase(); in getDatabase()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bas/ |
D | BatteryServiceTest.java | 80 doReturn(mDatabaseManager).when(mAdapterService).getDatabase(); in setUp() 210 when(mAdapterService.getDatabase()).thenReturn(mDatabaseManager); in testConnectAndDump() 230 when(mAdapterService.getDatabase()).thenReturn(mDatabaseManager); in testForbiddenPolicy_FailsToConnect() 275 when(mAdapterService.getDatabase()).thenReturn(mDatabaseManager); in testCanConnectCase()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
D | ReadWriteDraftMessageActionTest.java | 68 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()
|
D | GetOrCreateConversationActionTest.java | 51 final DatabaseWrapper db = DataModel.get().getDatabase(); in testGetOrCreateConversation() 169 provider.setDatabaseForTest(fakeDataModel.getDatabase()); in setUp()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | InsertNewMessageAction.java | 130 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()
|
D | UpdateConversationOptionsAction.java | 98 Assert.isTrue(dbWrapper.getDatabase().inTransaction()); in putOptionValuesInTransaction() 119 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
|
D | DeleteConversationAction.java | 71 final DatabaseWrapper db = DataModel.get().getDatabase(); in doBackgroundWork() 138 final DatabaseWrapper db = DataModel.get().getDatabase(); in deleteConversationMessagesFromTelephony()
|
D | SendMessageAction.java | 98 final DatabaseWrapper db = DataModel.get().getDatabase(); in queueAction() 270 final DatabaseWrapper db = DataModel.get().getDatabase(); in updateMessageUri() 318 final DatabaseWrapper db = DataModel.get().getDatabase(); in updateMessageAndStatus()
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | WatchdogStorage.java | 148 mDbHelper.onShrink(getDatabase(/* isWritable= */ true)); in shrinkDatabase() 205 SQLiteDatabase db = getDatabase(/* isWritable= */ true); in saveUserPackageSettings() 235 UserPackageSettingsTable.querySettings(getDatabase(/* isWritable= */ false)); in getUserPackageSettings() 268 ioUsagesById = IoUsageStatsTable.queryStats(getDatabase(/* isWritable= */ false), in getTodayIoUsageStats() 297 UserPackageSettingsTable.deleteUserPackage(getDatabase(/* isWritable= */ true), userId, in deleteUserPackage() 317 getDatabase(/* isWritable= */ false), userPackage.userPackageId, in getHistoricalIoOveruseStats() 330 getDatabase(/* isWritable= */ false), in getDailySystemIoUsageSummaries() 356 SQLiteDatabase db = getDatabase(/* isWritable= */ false); in getTopUsersDailyIoUsageSummaries() 399 getDatabase(/* isWritable= */ false), includingStartEpochSeconds, in getNotForgivenHistoricalIoOveruses() 445 IoUsageStatsTable.forgiveHistoricalOverusesForPackage(getDatabase(/* isWritable= */ true), in forgiveHistoricalOveruses() [all …]
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/ |
D | AppSearchLoggerTest.java | 560 assertThat(pStats.getDatabase()).isEqualTo(testDatabase); in testLoggingStats_putDocument_success() 618 assertThat(pStats.getDatabase()).isEqualTo(testDatabase); in testLoggingStats_putDocument_failure() 705 assertThat(sStats.getDatabase()).isEqualTo(testDatabase); in testLoggingStats_search_success() 756 assertThat(sStats.getDatabase()).isEqualTo(testPackageName); in testLoggingStats_search_failure() 906 assertThat(sStats.getDatabase()).isEqualTo(testDatabase); in testLoggingStats_search_join() 960 assertThat(rStats.getDatabase()).isEqualTo(testDatabase); in testLoggingStats_remove_success() 1012 assertThat(rStats.getDatabase()).isEqualTo(testDatabase); in testLoggingStats_remove_failure() 1064 assertThat(rStats.getDatabase()).isEqualTo(testDatabase); in testLoggingStats_removeByQuery_success() 1115 assertThat(sStats.getDatabase()).isEqualTo(DATABASE); in testLoggingStats_setSchema()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/stats/ |
D | PlatformLogger.java | 259 String database = stats.getDatabase(); in logStatsImplLocked() 303 String database = stats.getDatabase(); in logStatsImplLocked() 351 String database = stats.getDatabase(); in logStatsImplLocked() 387 String database = stats.getDatabase(); in logStatsImplLocked() 424 String database = stats.getDatabase(); in logStatsImplLocked()
|
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/ |
D | PeriodicProvisionerTests.java | 82 RkpdDatabase.getDatabase(mContext).provisionedKeyDao().deleteAllKeys(); in setUp() 97 RkpdDatabase.getDatabase(mContext).provisionedKeyDao().deleteAllKeys(); in tearDown() 186 ProvisionedKeyDao dao = RkpdDatabase.getDatabase(mContext).provisionedKeyDao(); in fetchEekDisablesRkp() 210 ProvisionedKeyDao dao = RkpdDatabase.getDatabase(mContext).provisionedKeyDao(); in provisioningExpiresOldKeys()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/ |
D | PickerDbFacade.java | 361 SQLiteDatabase getDatabase() { in getDatabase() method in PickerDbFacade.DbWriteOperation 418 final SQLiteDatabase database = getDatabase(); in execute() 476 if (QB_MATCH_ALL.insert(getDatabase(), values) > 0) { in insertMedia() 542 if (qb.delete(getDatabase(), /* selection */ null, deleteArgs) > 0) { in executeInternal() 607 SQLiteDatabase database = getDatabase(); in executeInternal() 1324 return qb.delete(getDatabase(), /* selection */ null, /* selectionArgs */ in executeInternal() 1383 if (qb.insert(getDatabase(), values) > 0) { in executeInternal() 1424 return qb.query(getDatabase(), sLocalMediaProjection, /* selection */ null, in getLocalMediaMetadata()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/ |
D | RoomSchemaMigrationGuardrailTest.java | 118 oldSchemaBundle.getDatabase().getEntitiesByTableName(); in validateNewFieldOnly() 120 newSchemaBundle.getDatabase().getEntitiesByTableName(); in validateNewFieldOnly()
|
/packages/apps/Nfc/nci/jni/ |
D | RouteDataSet.cpp | 472 RouteDataSet::Database* RouteDataSet::getDatabase(DatabaseSelection selection) { in getDatabase() function in RouteDataSet 493 Database* db = getDatabase(DefaultRouteDatabase); in printDiagnostic() 517 db = getDatabase(SecElemRouteDatabase); in printDiagnostic()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
D | FakeDataModel.java | 221 public DatabaseWrapper getDatabase() { in getDatabase() method in FakeDataModel 224 return mDatabaseHelper.getDatabase(); in getDatabase()
|
D | ParticipantRefreshTest.java | 83 final DatabaseWrapper db = DataModel.get().getDatabase(); in addParticipant() 105 final DatabaseWrapper db = DataModel.get().getDatabase(); in verifyParticipant()
|