/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/audio_util/ |
D | ImageTest.java | 208 assertThat(artwork.getSource()).isEqualTo(Image.SOURCE_BITMAP); in testCreateImageFromMediaMetadataWithArt() 222 assertThat(artwork.getSource()).isEqualTo(Image.SOURCE_BITMAP); in testCreateImageFromMediaMetadataWithAlbumArt() 236 assertThat(artwork.getSource()).isEqualTo(Image.SOURCE_BITMAP); in testCreateImageFromMediaMetadataWithDisplayIcon() 250 assertThat(artwork.getSource()).isEqualTo(Image.SOURCE_URI); in testCreateImageFromMediaMetadataWithArtUri() 264 assertThat(artwork.getSource()).isEqualTo(Image.SOURCE_URI); in testCreateImageFromMediaMetadataWithAlbumArtUri() 279 assertThat(artwork.getSource()).isEqualTo(Image.SOURCE_URI); in testCreateImageFromMediaMetadataWithDisplayIconUri() 294 assertThat(artwork.getSource()).isEqualTo(Image.SOURCE_NONE); in testCreateImageFromMediaMetadataWithArtUriDisabled() 309 assertThat(artwork.getSource()).isEqualTo(Image.SOURCE_NONE); in testCreateImageFromMediaMetadataWithAlbumArtUriDisabled() 325 assertThat(artwork.getSource()).isEqualTo(Image.SOURCE_NONE); in testCreateImageFromMediaMetadataWithDisplayIconUriDisabled() 337 assertThat(artwork.getSource()).isEqualTo(Image.SOURCE_NONE); in testCreateImageFromMediaMetadataWithoutArtwork() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/data/measurement/deletion/ |
D | MeasurementDataDeleterTest.java | 205 when(mMeasurementDao.getSource(source1.getId())).thenReturn(source1); in resetAggregateContributions_hasMatchingReports_resetsContributions() 206 when(mMeasurementDao.getSource(source2.getId())).thenReturn(source2); in resetAggregateContributions_hasMatchingReports_resetsContributions() 236 when(mMeasurementDao.getSource(source1.getId())).thenReturn(source1); in resetAggregateContributions_withSourceContributionsGoingBelowZero_resetsToZero() 283 when(mMeasurementDao.getSource(source1.getId())).thenReturn(source1); in resetDedupKeys_matchingReports_removesDedupKeysFromSource() 284 when(mMeasurementDao.getSource(source2.getId())).thenReturn(source2); in resetDedupKeys_matchingReports_removesDedupKeysFromSource() 340 when(mMeasurementDao.getSource(source1.getId())).thenReturn(source1); in resetDedupKeys_matchingReportsDedupAlignFlagOff_removesDedupKeysFromSource() 341 when(mMeasurementDao.getSource(source2.getId())).thenReturn(source2); in resetDedupKeys_matchingReportsDedupAlignFlagOff_removesDedupKeysFromSource() 371 verify(mMeasurementDao, never()).getSource(anyString()); in resetDedupKeys_eventReportHasNullSourceIdDedup_ignoresRemoval() 388 verify(mMeasurementDao, never()).getSource(anyString()); in resetDedupKeys_eventReportHasNullSourceIdDedupFlagOff_ignoresRemoval() 424 when(mMeasurementDao.getSource(source1.getId())).thenReturn(source1); in resetAggregateReportDedupKeys_matchingReports_removesDedupKeysFromSource() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/stats/ |
D | ServerAuctionKeyFetchExecutionLoggerImplTest.java | 80 assertThat(serverAuctionKeyFetchCalledStats.getSource()) in testServerAuctionKeyFetchExecutionLogger_successNetworkKeyFetch() 110 assertThat(serverAuctionKeyFetchCalledStats.getSource()) in testServerAuctionKeyFetchExecutionLogger_successDatabaseKeyFetch() 145 assertThat(serverAuctionKeyFetchCalledStats.getSource()) in testServerAuctionKeyFetchExecutionLogger_NetworkKeyFetch_WrongEncryptionKeySource() 176 assertThat(serverAuctionKeyFetchCalledStats.getSource()) in testServerAuctionKeyFetchExecutionLogger_DatabaseKeyFetch_WrongEncryptionKeySource() 209 assertThat(serverAuctionKeyFetchCalledStats.getSource()) in testServerAuctionKeyFetchExecutionLogger_missingStartOfGetAdSelectionData() 245 assertThat(serverAuctionKeyFetchCalledStats.getSource()) in testServerAuctionKeyFetchExecutionLogger_redundantEndOfGetAdSelectionData()
|
D | ServerAuctionKeyFetchCalledStatsTest.java | 52 expect.that(stats.getSource()).isEqualTo(SOURCE); in testBuildServerAuctionKeyFetchCalledStats()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/deletion/ |
D | MeasurementDataDeleter.java | 220 Source source = dao.getSource(sourceId); in deleteInternal() 281 Source source = dao.getSource(report.getSourceId()); in resetAggregateContributions() 310 Source source = dao.getSource(report.getSourceId()); in resetDedupKeys() 349 Source source = dao.getSource(report.getSourceId()); in resetAggregateReportDedupKeys()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/devapi/ |
D | MeasurementDevSessionTest.java | 153 Source s = dao.getSource(validSource.getId()); in testStartDevSession_thenInsertSource_concurrentThreads() 163 dao.getSource("1"); in testStartDevSession_thenInsertSource_concurrentThreads() 215 DatastoreException.class, () -> dao.getSource(insertedSourceId.get())); in testStartDevSession_duringMeasurementTransaction_concurrentThreads()
|
/packages/apps/ThemePicker/src/com/android/customization/model/color/ |
D | ColorOptionImpl.kt | 67 override fun getSource(): String? { in getSource() method 72 return when (getSource()) { in getSourceForLogging()
|
D | ColorOption.java | 103 boolean isCurrentSource = TextUtils.isEmpty(currentSource) || getSource().equals( in isActive() 219 public abstract String getSource(); in getSource() method in ColorOption
|
D | ColorCustomizationManager.java | 170 overlaysJson.put(OVERLAY_COLOR_SOURCE, colorOption.getSource()); in applyOverlays() 176 if (!COLOR_SOURCE_PRESET.equals(colorOption.getSource())) { in applyOverlays()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | PendingSplitSelectInfo.java | 49 public StatsLogManager.EventEnum getSource() { in getSource() method in PendingSplitSelectInfo
|
/packages/services/Iwlan/src/com/google/android/iwlan/ |
D | IwlanHelper.java | 290 if (country.getSource() == Country.COUNTRY_SOURCE_NETWORK in updateCountryCodeFromCountryDetector() 291 || country.getSource() == Country.COUNTRY_SOURCE_LOCATION) { in updateCountryCodeFromCountryDetector()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/ |
D | ServerAuctionKeyFetchCalledStats.java | 31 public abstract int getSource(); in getSource() method in ServerAuctionKeyFetchCalledStats
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/ |
D | EventReportingJobHandler.java | 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()
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
D | AccountDisplayInfo.java | 47 public AccountWithDataSet getSource() { in getSource() method in AccountDisplayInfo
|
D | AccountInfo.java | 47 return mDisplayInfo.getSource(); in getAccount()
|
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/ |
D | RotaryServiceTest.java | 1869 when(event.getSource()).thenReturn(AccessibilityNodeInfo.obtain(appDefaultFocusNode)); in testOnAccessibilityEvent_typeViewFocused() 1935 when(event.getSource()).thenReturn(AccessibilityNodeInfo.obtain(fpvNode)); in testOnAccessibilityEvent_typeViewFocused2() 1999 when(event.getSource()).thenReturn(AccessibilityNodeInfo.obtain(appDefaultFocusNode)); in testOnAccessibilityEvent_typeViewClicked() 2066 when(event.getSource()).thenReturn(AccessibilityNodeInfo.obtain(appButton3Node)); in testOnAccessibilityEvent_typeViewClicked2() 2087 when(event.getSource()).thenReturn(node); in testOnAccessibilityEvent_typeWindowStateChanged() 2265 when(event.getSource()).thenReturn(AccessibilityNodeInfo.obtain(appButton3Node)); in testDirectManipulationMode2() 2291 when(event.getSource()).thenReturn(AccessibilityNodeInfo.obtain(appButton3Node)); in testDirectManipulationMode2()
|
/packages/services/Telecomm/src/com/android/server/telecom/metrics/ |
D | AudioRouteStats.java | 164 if (destType == mCur.first.getSource() && curTime - mCur.second[0] in onRouteEnter() 307 int getSource() { in getSource() method in AudioRouteStats.AudioRouteStatsKey
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | MockSource.java | 163 public Source getSource() { in getSource() method in MockSource.Result
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | MotionEventHelper.java | 58 int source = e.getSource(); in transformEventOld()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | FilmstripGestureRecognizer.java | 71 if ((event.getSource() & InputDevice.SOURCE_CLASS_POINTER) != 0) { in onGenericMotionEvent()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/reporting/ |
D | EventReportingJobHandlerTest.java | 312 when(mMeasurementDao.getSource(eventReport.getSourceId())).thenReturn(source); in testSendReportSuccess_reinstallAttributionEnabled_persistsAppReportHistory() 377 when(mMeasurementDao.getSource(eventReport.getSourceId())).thenReturn(source); in testSendReportSuccess_reinstallAttributionDisabled_doesNotPersistsAppReportHistory() 441 when(mMeasurementDao.getSource(eventReport.getSourceId())).thenReturn(source); in testSendReportForPendingReportSuccess_coarseSource_doesNotPersistAppReportHistory() 605 when(mMeasurementDao.getSource(SOURCE_ID)).thenReturn(source); in testSendReportSuccess_uninstallEnabled_hasApps_sendReport() 1403 when(mMeasurementDao.getSource(eventReport.getSourceId())).thenReturn(source); in testSendReportSuccess_fakeReport_hasTriggerDebugHeaderTrue() 1465 when(mMeasurementDao.getSource(eventReport.getSourceId())).thenReturn(source); in testSendReportSuccess_fakeReport_hasTriggerDebugHeaderFalse() 1540 when(mMeasurementDao.getSource(eventReport.getSourceId())).thenReturn(source); in setUpTestForTriggerDebugAvailableHeader()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/helpers/ |
D | Image.java | 204 public int getSource() { in getSource() method in Image
|
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/ |
D | IwlanNetworkStatusTracker.java | 634 if (country.getSource() == Country.COUNTRY_SOURCE_NETWORK in updateCountryCode() 635 || country.getSource() == Country.COUNTRY_SOURCE_LOCATION) { in updateCountryCode()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/data/measurement/ |
D | MeasurementDaoTest.java | 241 measurementDao -> measurementDao.getSource(sourceId)) in testInsertSource() 310 measurementDao -> measurementDao.getSource(sourceId)) in testInsertSource_flexibleEventReport_equal() 396 measurementDao -> measurementDao.getSource(validSource.getId())) in testInsertSource_attributionScopeEnabled_success() 428 measurementDao -> measurementDao.getSource(validSource.getId())) in testInsertSource_attributionScopeDisabled_doesNotInsertAttributionScopeRelatedData() 461 measurementDao -> measurementDao.getSource(sourceId)) in testInsertSource_aggregateDebugReportingEnabled_success() 549 measurementDao -> measurementDao.getSource(sourceId)) in testInsertSource_aggregateDebugReportingDisabled_relatedDataNotInserted() 3761 assertNotNull(measurementDao.getSource("S1")); in deleteFlexEventReportsAndAttributions_success() 3762 assertNotNull(measurementDao.getSource("S2")); in deleteFlexEventReportsAndAttributions_success() 3825 assertNotNull(measurementDao.getSource("S1")); in deleteFlexEventReportsAndAttributions_success() 3826 assertNotNull(measurementDao.getSource("S2")); in deleteFlexEventReportsAndAttributions_success() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | WorkspaceTouchListener.java | 197 if (event.getSource() == InputDevice.SOURCE_MOUSE && enableMouseInteractionChanges()) { in onLongPress()
|