Home
last modified time | relevance | path

Searched refs:mediaFlags (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/media/controls/data/repository/
DMediaDataRepositoryKosmos.kt22 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/
DMediaTimeoutListenerKosmos.kt23 import com.android.systemui.media.controls.util.mediaFlags
35 mediaFlags = mediaFlags, in <lambda>()
DMediaResumeListenerKosmos.kt26 import com.android.systemui.media.controls.util.mediaFlags
44 mediaFlags = mediaFlags, in <lambda>()
DMediaDataFilterKosmos.kt24 import com.android.systemui.media.controls.util.mediaFlags
46 mediaFlags = mediaFlags, in <lambda>()
DMediaDataProcessorKosmos.kt32 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/
DMediaCarouselViewModelKosmos.kt26 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/
DMediaCarouselInteractorKosmos.kt29 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/
DMediaDataProcessorTest.kt160 @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 …]
DMediaTimeoutListenerTest.kt91 @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()
DLegacyMediaDataFilterImplTest.kt80 @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/
DMediaViewController.kt85 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 …]
DMediaCarouselController.kt142 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/
DMediaDomainModule.kt54 mediaFlags: MediaFlags, in bindMediaCarouselInteractor()
56 return if (mediaFlags.isSceneContainerEnabled()) { in bindMediaCarouselInteractor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/
DMediaCarouselViewModel.kt54 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/
DMediaViewControllerTest.kt116 @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/
DLegacyMediaDataFilterImpl.kt74 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>()
DMediaTimeoutListener.kt56 private val mediaFlags: MediaFlags, in <lambda>() constant
181 if (!mediaFlags.isPersistentSsCardEnabled()) return in <lambda>()
196 if (!mediaFlags.isPersistentSsCardEnabled()) return in <lambda>()
DMediaDataProcessor.kt147 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 …]
DLegacyMediaDataManagerImpl.kt187 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 …]
DMediaDataFilterImpl.kt71 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/
DMediaResumeListenerTest.kt96 @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/
DMediaDataRepository.kt40 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/
DMediaFlagsKosmos.kt22 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/
DMediaCarouselInteractor.kt64 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/
DMediaControlViewBinder.kt79 mediaFlags: MediaFlags, in <lambda>()
94 mediaFlags in <lambda>()
110 mediaFlags: MediaFlags, in <lambda>()
170 if (!mediaFlags.isSceneContainerEnabled()) { in <lambda>()

12