Home
last modified time | relevance | path

Searched refs:getSourceId (Results 1 – 25 of 46) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/data/measurement/deletion/
DMeasurementDataDeleterTest.java279 when(mEventReport1.getSourceId()).thenReturn(source1.getId()); in resetDedupKeys_matchingReports_removesDedupKeysFromSource()
280 when(mEventReport2.getSourceId()).thenReturn(source2.getId()); in resetDedupKeys_matchingReports_removesDedupKeysFromSource()
281 when(mEventReport3.getSourceId()).thenReturn(source1.getId()); in resetDedupKeys_matchingReports_removesDedupKeysFromSource()
336 when(mEventReport1.getSourceId()).thenReturn(source1.getId()); in resetDedupKeys_matchingReportsDedupAlignFlagOff_removesDedupKeysFromSource()
337 when(mEventReport2.getSourceId()).thenReturn(source2.getId()); in resetDedupKeys_matchingReportsDedupAlignFlagOff_removesDedupKeysFromSource()
338 when(mEventReport3.getSourceId()).thenReturn(source1.getId()); in resetDedupKeys_matchingReportsDedupAlignFlagOff_removesDedupKeysFromSource()
364 when(mEventReport1.getSourceId()).thenReturn(null); in resetDedupKeys_eventReportHasNullSourceIdDedup_ignoresRemoval()
379 when(mEventReport1.getSourceId()).thenReturn(null); in resetDedupKeys_eventReportHasNullSourceIdDedupFlagOff_ignoresRemoval()
420 when(mAggregateReport1.getSourceId()).thenReturn(source1.getId()); in resetAggregateReportDedupKeys_matchingReports_removesDedupKeysFromSource()
421 when(mAggregateReport2.getSourceId()).thenReturn(source2.getId()); in resetAggregateReportDedupKeys_matchingReports_removesDedupKeysFromSource()
[all …]
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterRefreshTracker.java176 safetySourceKey.getSourceId(), in reportSourceRefreshCompleted()
285 sourceKey.getSourceId(), in timeoutRefresh()
298 + sourceKey.getSourceId() in timeoutRefresh()
448 + safetySourceKey.getSourceId() in markSourceRefreshInFlight()
477 + safetySourceKey.getSourceId() in markSourceRefreshComplete()
495 return !mUntrackedSourcesIds.contains(safetySourceKey.getSourceId()); in isTracked()
DSafetySourceKey.java48 public String getSourceId() { in getSourceId() method in SafetySourceKey
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/
DEventReportTest.java153 assertEquals(SOURCE_ID, eventReport.getSourceId()); in creation_success()
177 assertEquals(SOURCE_ID, eventReport.getSourceId()); in creationSuccessSingleSourceDebugKey()
201 assertEquals(SOURCE_ID, eventReport.getSourceId()); in creationSuccessSingleTriggerDebugKey()
226 assertEquals(SOURCE_ID, eventReport.getSourceId()); in creationSuccessMultipleTriggerDebugKeys()
250 assertNull(eventReport.getSourceId()); in defaults_success()
293 assertEquals(SOURCE_ID, report.getSourceId()); in populateFromSourceAndTrigger_eventSourceAppDestWithoutInstallAttribution()
349 assertEquals(SOURCE_ID, report.getSourceId()); in populate_eventSourceAppDestWithoutInstallConfigured()
396 assertEquals(SOURCE_ID, report.getSourceId()); in testpopulate_shouldTruncateTriggerDataWith64thBit()
437 assertEquals(SOURCE_ID, report.getSourceId()); in populate_eventSourceWebDestWithoutInstallAttribution()
478 assertEquals(SOURCE_ID, report.getSourceId()); in populate_eventSourceAppDestWithInstallAttribution()
[all …]
DAttributionTest.java210 assertEquals(SOURCE_ID, createExampleAttributionBuilder().build().getSourceId()); in getters()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/deletion/
DMeasurementDataDeleter.java276 if (report.getSourceId() == null) { in resetAggregateContributions()
281 Source source = dao.getSource(report.getSourceId()); in resetAggregateContributions()
304 if (report.getSourceId() == null) { in resetDedupKeys()
310 Source source = dao.getSource(report.getSourceId()); in resetDedupKeys()
344 if (report.getSourceId() == null) { in resetAggregateReportDedupKeys()
349 Source source = dao.getSource(report.getSourceId()); in resetAggregateReportDedupKeys()
/packages/modules/Permission/service/java/com/android/safetycenter/data/
DSafetySourceStateCollectedLogger.java134 sourceKey.getSourceId(), in logSafetySourceStateCollected()
150 .setSafetySourceId(sourceKey.getSourceId()) in isIssueDismissed()
162 if (duplicates.get(i).getSafetySource().getId().equals(sourceKey.getSourceId())) { in getDuplicateCount()
DSafetySourceDataRepository.java118 issueIds, key.getSourceId(), key.getUserId()); in setSafetySourceDataInternal()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/
DEventReportingJobHandler.java198 if (eventReport.getSourceId() == null) { in getAppPackageName()
204 (dao) -> dao.getSourceRegistrant(eventReport.getSourceId())); in getAppPackageName()
441 dao.getSourceDestinations(eventReport.getSourceId()); in updateAppReportHistory()
449 && dao.getSource(eventReport.getSourceId()).hasCoarseEventReportDestinations()) { in updateAppReportHistory()
497 Source source = dao.getSource(eventReport.getSourceId()); in getTriggerDebugAvailability()
542 (dao) -> dao.getSource(eventReport.getSourceId())); in anyPublisherAppInstalled()
DAggregateReportingJobHandler.java235 if (report.getSourceId() == null) { in getAppPackageName()
241 (dao) -> dao.getSourceRegistrant(report.getSourceId())); in getAppPackageName()
511 dao.getSourceDestinations(aggregateReport.getSourceId()); in updateAppReportHistory()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassClientStateMachine.java405 if (sourceId == currentSources.get(i).getSourceId()) { in getBroadcastReceiveStateForSourceId()
452 int sourceId = recvState.getSourceId(); in processPASyncState()
527 int sourceId = recvState.getSourceId(); in processSyncStateChangeStats()
633 setCurrentBroadcastMetadata(recvState.getSourceId(), mSetBroadcastPINMetadata); in checkAndUpdateBroadcastCode()
794 } else if (recvState.getSourceId() == -1) { in processBroadcastReceiverStateObsolete()
795 log("processBroadcastReceiverState: invalid index: " + recvState.getSourceId()); in processBroadcastReceiverStateObsolete()
798 int sourceId = recvState.getSourceId(); in processBroadcastReceiverStateObsolete()
837 int prevSourceId = oldRecvState.getSourceId(); in processBroadcastReceiverStateObsolete()
1025 prevSourceId = prevRecvState.getSourceId(); in processBroadcastReceiverState()
1037 int sourceId = recvState.getSourceId(); in processBroadcastReceiverState()
[all …]
DBassClientService.java910 setSourceGroupManaged(sink, sourceState.getSourceId(), true);
1213 map.put(device, receiver.get().getSourceId());
1268 sourceId = state.getSourceId();
1328 sourceId = receiver.get().getSourceId();
1331 sourceId = sources.get(0).getSourceId();
3649 removeSource(pair.second, pair.first.getSourceId());
3688 new Pair<BluetoothDevice, Integer>(device, receiveState.getSourceId()));
3703 new Pair<BluetoothDevice, Integer>(device, receiveState.getSourceId()));
4126 int sourceId = receiveState.get().getSourceId();
4667 + recvState.getSourceId()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/aggregation/
DAggregateReportTest.java189 assertEquals(SOURCE_ID, attributionReport.getSourceId()); in testCreation()
222 assertEquals(SOURCE_ID, attributionReport.getSourceId()); in testCreationSingleSourceDebugKey()
249 assertEquals(SOURCE_ID, attributionReport.getSourceId()); in testCreationSingleTriggerDebugKey()
275 assertNull(attributionReport.getSourceId()); in testDefaults()
DAggregateDebugReportRecordTest.java67 assertThat(aggregateDebugReportRecord.getSourceId()).isEqualTo("S1"); in getters()
/packages/apps/TV/tuner/src/com/android/tv/tuner/ts/
DTsParser.java250 if (i.getSourceId() != 0) {
251 mSourceIdToVctItemMap.put(i.getSourceId(), i);
253 mSourceIdToVctItemDescriptionMap.get(i.getSourceId()));
374 int sourceId = channel.getSourceId(); in handleVctItem()
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/reporting/
DEventReportingJobHandlerTest.java310 when(mMeasurementDao.getSourceDestinations(eventReport.getSourceId())) in testSendReportSuccess_reinstallAttributionEnabled_persistsAppReportHistory()
312 when(mMeasurementDao.getSource(eventReport.getSourceId())).thenReturn(source); in testSendReportSuccess_reinstallAttributionEnabled_persistsAppReportHistory()
375 when(mMeasurementDao.getSourceDestinations(eventReport.getSourceId())) in testSendReportSuccess_reinstallAttributionDisabled_doesNotPersistsAppReportHistory()
377 when(mMeasurementDao.getSource(eventReport.getSourceId())).thenReturn(source); in testSendReportSuccess_reinstallAttributionDisabled_doesNotPersistsAppReportHistory()
439 when(mMeasurementDao.getSourceDestinations(eventReport.getSourceId())) in testSendReportForPendingReportSuccess_coarseSource_doesNotPersistAppReportHistory()
441 when(mMeasurementDao.getSource(eventReport.getSourceId())).thenReturn(source); in testSendReportForPendingReportSuccess_coarseSource_doesNotPersistAppReportHistory()
1401 when(mMeasurementDao.getSourceDestinations(eventReport.getSourceId())) in testSendReportSuccess_fakeReport_hasTriggerDebugHeaderTrue()
1403 when(mMeasurementDao.getSource(eventReport.getSourceId())).thenReturn(source); in testSendReportSuccess_fakeReport_hasTriggerDebugHeaderTrue()
1463 when(mMeasurementDao.getSourceDestinations(eventReport.getSourceId())) in testSendReportSuccess_fakeReport_hasTriggerDebugHeaderFalse()
1465 when(mMeasurementDao.getSource(eventReport.getSourceId())).thenReturn(source); in testSendReportSuccess_fakeReport_hasTriggerDebugHeaderFalse()
[all …]
DAggregateReportingJobHandlerTest.java298 when(mMeasurementDao.getSourceDestinations(aggregateReport.getSourceId())) in testSendReportSuccess_reinstallAttributionEnabled_persistsAppReportHistory()
300 when(mMeasurementDao.getSource(aggregateReport.getSourceId())).thenReturn(source); in testSendReportSuccess_reinstallAttributionEnabled_persistsAppReportHistory()
358 when(mMeasurementDao.getSourceDestinations(aggregateReport.getSourceId())) in testSendReportSuccess_reinstallAttributionEnabled_skipNullAggregateReport()
360 when(mMeasurementDao.getSource(aggregateReport.getSourceId())).thenReturn(source); in testSendReportSuccess_reinstallAttributionEnabled_skipNullAggregateReport()
416 when(mMeasurementDao.getSourceDestinations(aggregateReport.getSourceId())) in testSendReportSuccess_reinstallAttributionDisabled_doesNotPersistsAppReportHistory()
418 when(mMeasurementDao.getSource(aggregateReport.getSourceId())).thenReturn(source); in testSendReportSuccess_reinstallAttributionDisabled_doesNotPersistsAppReportHistory()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothFindBroadcastsFragment.java312 mLeBroadcastAssistant.removeSource(mCachedDevice.getDevice(), getSourceId()); in leaveBroadcastSession()
393 setSourceId(receiveState.getSourceId()); in updateListCategoryFromBroadcastReceiveState()
565 public int getSourceId() { in getSourceId() method in BluetoothFindBroadcastsFragment
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/data/measurement/
DSourceDestination.java58 public String getSourceId() { in getSourceId() method in SourceDestination
DAbstractDbIntegrationTest.java447 values.put(MeasurementTables.SourceDestination.SOURCE_ID, sourceDest.getSourceId()); in insertToDb()
526 values.put(MeasurementTables.EventReportContract.SOURCE_ID, report.getSourceId()); in insertToDb()
556 values.put(MeasurementTables.AttributionContract.SOURCE_ID, attribution.getSourceId()); in insertToDb()
593 values.put(MeasurementTables.AggregateReport.SOURCE_ID, aggregateReport.getSourceId()); in insertToDb()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/aggregation/
DAggregateDebugReportRecord.java97 public String getSourceId() { in getSourceId() method in AggregateDebugReportRecord
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DAttribution.java157 public String getSourceId() { in getSourceId() method in Attribution
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothLeBroadcastReceiveState.java324 public @IntRange(from = 0x00, to = 0xFF) int getSourceId() { in getSourceId() method in BluetoothLeBroadcastReceiveState
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DFileSourceEventDetector.java132 int channelSourceId = channel.getSourceId();
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamsProgressCategoryController.java434 device, receiveState.getSourceId(), broadcastIdStreaming); in handleSourceStreaming()
507 device, receiveState.getSourceId(), broadcastIdPaused); in handleSourcePaused()

12