/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/media/controls/data/repository/ |
D | MediaDataRepositoryKosmos.kt | 22 import com.android.systemui.media.controls.util.mediaFlags 25 MediaDataRepository(mediaFlags = mediaFlags, dumpManager = dumpManager) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaTimeoutListenerKosmos.kt | 23 import com.android.systemui.media.controls.util.mediaFlags 35 mediaFlags = mediaFlags, in <lambda>()
|
D | MediaResumeListenerKosmos.kt | 26 import com.android.systemui.media.controls.util.mediaFlags 44 mediaFlags = mediaFlags, in <lambda>()
|
D | MediaDataFilterKosmos.kt | 24 import com.android.systemui.media.controls.util.mediaFlags 46 mediaFlags = mediaFlags, in <lambda>()
|
D | MediaDataProcessorKosmos.kt | 32 import com.android.systemui.media.controls.util.mediaFlags 58 mediaFlags = mediaFlags, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/media/controls/ui/viewmodel/ |
D | MediaCarouselViewModelKosmos.kt | 26 import com.android.systemui.media.controls.util.mediaFlags 42 mediaFlags = mediaFlags, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/media/controls/domain/pipeline/interactor/ |
D | MediaCarouselInteractorKosmos.kt | 29 import com.android.systemui.media.controls.util.mediaFlags 43 mediaFlags = mediaFlags, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaDataProcessorTest.kt | 160 @Mock private lateinit var mediaFlags: MediaFlags variable in com.android.systemui.media.controls.domain.pipeline.MediaDataProcessorTest 194 whenever(mediaFlags.isSceneContainerEnabled()).thenReturn(true) in setup() 216 mediaDataRepository = MediaDataRepository(mediaFlags, dumpManager) in setup() 235 mediaFlags = mediaFlags, in setup() 253 mediaFlags = mediaFlags in setup() 318 whenever(mediaFlags.areMediaSessionActionsEnabled(any(), any())).thenReturn(false) in setup() 319 whenever(mediaFlags.isRetainingPlayersEnabled()).thenReturn(false) in setup() 320 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(false) in setup() 321 whenever(mediaFlags.isRemoteResumeAllowed()).thenReturn(false) in setup() 859 whenever(mediaFlags.isRemoteResumeAllowed()).thenReturn(true) in testOnNotificationRemoved_withResumption_isRemoteAndRemoteAllowed() [all …]
|
D | MediaTimeoutListenerTest.kt | 91 @Mock private lateinit var mediaFlags: MediaFlags variable in com.android.systemui.media.controls.domain.pipeline.MediaTimeoutListenerTest 97 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(false) in setup() 106 mediaFlags, in setup() 605 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(true) in testSmartspaceDataLoaded_schedulesTimeout() 628 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(true) in testSmartspaceDataLoaded_alreadyExists_updatesTimeout() 629 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(true) in testSmartspaceDataLoaded_alreadyExists_updatesTimeout() 649 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(true) in testSmartspaceDataRemoved_cancelTimeout() 661 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(true) in testSmartspaceData_dozedPastTimeout_invokedOnWakeup()
|
D | LegacyMediaDataFilterImplTest.kt | 80 @Mock private lateinit var mediaFlags: MediaFlags variable in com.android.systemui.media.controls.domain.pipeline.LegacyMediaDataFilterImplTest 93 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(false) in setup() 103 mediaFlags in setup() 557 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(true) in testOnSmartspaceLoaded_persistentEnabled_isInactive_notifiesListeners() 570 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(true) in testOnSmartspaceLoaded_persistentEnabled_inactive_hasRecentMedia_staysInactive() 593 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(true) in testOnSwipeToDismiss_persistentEnabled_recommendationSetInactive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaViewController.kt | 85 private val mediaFlags: MediaFlags, in <lambda>() constant in com.android.systemui.media.controls.ui.controller.MediaViewController 206 if (!mediaFlags.isSceneContainerEnabled()) return in <lambda>() 216 if (!mediaFlags.isSceneContainerEnabled()) return in <lambda>() 232 if (!mediaFlags.isSceneContainerEnabled()) return in <lambda>() 266 if (mediaFlags.isSceneContainerEnabled()) { in <lambda>() 338 if (mediaFlags.isSceneContainerEnabled()) { in <lambda>() 559 if (mediaFlags.isSceneContainerEnabled()) { in <lambda>() 661 if (!mediaFlags.isSceneContainerEnabled()) return in <lambda>() 735 if (!mediaFlags.isSceneContainerEnabled()) return in <lambda>() 791 if (!mediaFlags.isSceneContainerEnabled()) return in <lambda>() [all …]
|
D | MediaCarouselController.kt | 142 private val mediaFlags: MediaFlags, in <lambda>() constant 220 if (!mediaFlags.isSceneContainerEnabled()) { in <lambda>() 350 if (!mediaFlags.isSceneContainerEnabled()) { in <lambda>() 392 if (!mediaFlags.isSceneContainerEnabled()) return@repeatOnLifecycle in <lambda>() 589 if (!mediaFlags.isPersistentSsCardEnabled()) { in <lambda>() 736 if (mediaFlags.isSceneContainerEnabled()) { in <lambda>() 749 mediaFlags in <lambda>() 922 if (mediaFlags.isSceneContainerEnabled()) { in <lambda>() 998 if (mediaFlags.isPersistentSsCardEnabled()) { in <lambda>() 1097 if (mediaFlags.isSceneContainerEnabled()) { in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/ |
D | MediaDomainModule.kt | 54 mediaFlags: MediaFlags, in bindMediaCarouselInteractor() 56 return if (mediaFlags.isSceneContainerEnabled()) { in bindMediaCarouselInteractor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/ |
D | MediaCarouselViewModel.kt | 54 private val mediaFlags: MediaFlags, in <lambda>() constant in com.android.systemui.media.controls.ui.viewmodel.MediaCarouselViewModel 149 interactor.isRecommendationActive() || mediaFlags.isPersistentSsCardEnabled() in <lambda>() 155 mediaFlags.isPersistentSsCardEnabled(), in <lambda>() 196 if (!mediaFlags.isPersistentSsCardEnabled()) { in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaViewControllerTest.kt | 116 @Mock private lateinit var mediaFlags: MediaFlags in <lambda>() variable in com.android.systemui.media.controls.ui.controller.MediaViewControllerTest 143 mediaFlags, in <lambda>() 379 whenever(mediaFlags.isSceneContainerEnabled()).thenReturn(true) in <lambda>() 391 whenever(mediaFlags.isSceneContainerEnabled()).thenReturn(true) in <lambda>() 402 whenever(mediaFlags.isSceneContainerEnabled()).thenReturn(true) in <lambda>() 418 whenever(mediaFlags.isSceneContainerEnabled()).thenReturn(true) in <lambda>() 438 whenever(mediaFlags.isSceneContainerEnabled()).thenReturn(true) in <lambda>() 457 whenever(mediaFlags.isSceneContainerEnabled()).thenReturn(true) in <lambda>() 479 whenever(mediaFlags.isSceneContainerEnabled()).thenReturn(true) in <lambda>() 501 whenever(mediaFlags.isSceneContainerEnabled()).thenReturn(true) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/ |
D | LegacyMediaDataFilterImpl.kt | 74 private val mediaFlags: MediaFlags, in <lambda>() constant in com.android.systemui.media.controls.domain.pipeline.LegacyMediaDataFilterImpl 140 if (!data.isActive && !mediaFlags.isPersistentSsCardEnabled()) { in <lambda>() 300 if (mediaFlags.isPersistentSsCardEnabled()) { in <lambda>() 326 if (mediaFlags.isPersistentSsCardEnabled()) { in <lambda>()
|
D | MediaTimeoutListener.kt | 56 private val mediaFlags: MediaFlags, in <lambda>() constant 181 if (!mediaFlags.isPersistentSsCardEnabled()) return in <lambda>() 196 if (!mediaFlags.isPersistentSsCardEnabled()) return in <lambda>()
|
D | MediaDataProcessor.kt | 147 private val mediaFlags: MediaFlags, in <lambda>() constant in com.android.systemui.media.controls.domain.pipeline.MediaDataProcessor 225 mediaFlags: MediaFlags, in <lambda>() 249 mediaFlags, in <lambda>() 273 if (!mediaFlags.isSceneContainerEnabled()) { in <lambda>() 687 if (mediaFlags.isResumeProgressEnabled()) { in <lambda>() 1035 if (state == null || !mediaFlags.areMediaSessionActionsEnabled(packageName, user)) { in <lambda>() 1338 if (mediaFlags.isPersistentSsCardEnabled()) { in <lambda>() 1385 } else if (mediaFlags.isRetainingPlayersEnabled()) { in <lambda>() 1404 (mediaFlags.isRemoteResumeAllowed() && in <lambda>() 1437 } else if (mediaFlags.isRetainingPlayersEnabled() || isAbleToResume(removed)) { in <lambda>() [all …]
|
D | LegacyMediaDataManagerImpl.kt | 187 private val mediaFlags: MediaFlags, constant 263 mediaFlags: MediaFlags, 289 mediaFlags, 685 if (!mediaFlags.isPersistentSsCardEnabled()) { in setRecommendationInactive() 741 if (mediaFlags.isResumeProgressEnabled()) { in loadMediaDataInBgForResumption() 1089 if (state == null || !mediaFlags.areMediaSessionActionsEnabled(packageName, user)) { in createActionsFromState() 1392 if (mediaFlags.isPersistentSsCardEnabled()) { in onSmartspaceTargetsUpdated() 1442 } else if (mediaFlags.isRetainingPlayersEnabled()) { in onNotificationRemoved() 1461 (mediaFlags.isRemoteResumeAllowed() && in isAbleToResume() 1494 } else if (mediaFlags.isRetainingPlayersEnabled() || isAbleToResume(removed)) { in handlePossibleRemoval() [all …]
|
D | MediaDataFilterImpl.kt | 71 private val mediaFlags: MediaFlags, in <lambda>() constant 137 if (!data.isActive && !mediaFlags.isPersistentSsCardEnabled()) { in <lambda>() 361 if (mediaFlags.isPersistentSsCardEnabled()) { in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/resume/ |
D | MediaResumeListenerTest.kt | 96 @Mock private lateinit var mediaFlags: MediaFlags in capture() variable in com.android.systemui.media.controls.domain.resume.MediaResumeListenerTest 141 whenever(mediaFlags.isRemoteResumeAllowed()).thenReturn(false) in capture() 155 mediaFlags, in capture() 198 mediaFlags, in capture() 256 whenever(mediaFlags.isRemoteResumeAllowed()).thenReturn(true) in capture() 269 whenever(mediaFlags.isRemoteResumeAllowed()).thenReturn(true) in capture() 447 mediaFlags, in capture() 480 mediaFlags, in capture() 523 mediaFlags, in capture()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/data/repository/ |
D | MediaDataRepository.kt | 40 private val mediaFlags: MediaFlags, constant in com.android.systemui.media.controls.data.repository.MediaDataRepository 67 if (!mediaFlags.isPersistentSsCardEnabled()) { in setRecommendationInactive()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/media/controls/util/ |
D | MediaFlagsKosmos.kt | 22 val Kosmos.mediaFlags by Kosmos.Fixture { MediaFlags(featureFlags = featureFlagsClassic) } in <lambda>() constant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/interactor/ |
D | MediaCarouselInteractor.kt | 64 private val mediaFlags: MediaFlags, in <lambda>() constant 91 (if (mediaFlags.isPersistentSsCardEnabled()) { in <lambda>() 107 if (!mediaFlags.isSceneContainerEnabled()) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/binder/ |
D | MediaControlViewBinder.kt | 79 mediaFlags: MediaFlags, in <lambda>() 94 mediaFlags in <lambda>() 110 mediaFlags: MediaFlags, in <lambda>() 170 if (!mediaFlags.isSceneContainerEnabled()) { in <lambda>()
|