Home
last modified time | relevance | path

Searched refs:isPersistentSsCardEnabled (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/
DMediaCarouselViewModel.kt149 interactor.isRecommendationActive() || mediaFlags.isPersistentSsCardEnabled() in <lambda>()
155 mediaFlags.isPersistentSsCardEnabled(), in <lambda>()
196 if (!mediaFlags.isPersistentSsCardEnabled()) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DLegacyMediaDataFilterImpl.kt140 if (!data.isActive && !mediaFlags.isPersistentSsCardEnabled()) { in <lambda>()
300 if (mediaFlags.isPersistentSsCardEnabled()) { in <lambda>()
326 if (mediaFlags.isPersistentSsCardEnabled()) { in <lambda>()
DMediaTimeoutListener.kt181 if (!mediaFlags.isPersistentSsCardEnabled()) return in <lambda>()
196 if (!mediaFlags.isPersistentSsCardEnabled()) return in <lambda>()
DMediaDataFilterImpl.kt137 if (!data.isActive && !mediaFlags.isPersistentSsCardEnabled()) { in <lambda>()
361 if (mediaFlags.isPersistentSsCardEnabled()) { in <lambda>()
DLegacyMediaDataManagerImpl.kt685 if (!mediaFlags.isPersistentSsCardEnabled()) { in setRecommendationInactive()
1392 if (mediaFlags.isPersistentSsCardEnabled()) { in onSmartspaceTargetsUpdated()
1637 !mediaFlags.isPersistentSsCardEnabled() -> true in onSwipeToDismiss()
DMediaDataProcessor.kt1338 if (mediaFlags.isPersistentSsCardEnabled()) { in <lambda>()
1613 !mediaFlags.isPersistentSsCardEnabled() -> true in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/util/
DMediaFlags.kt48 fun isPersistentSsCardEnabled() = featureFlags.isEnabled(Flags.MEDIA_RETAIN_RECOMMENDATIONS) method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaTimeoutListenerTest.kt97 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(false) 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.kt93 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(false) 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()
DMediaDataFilterImplTest.kt111 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(false) in setup()
957 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(true) in onSmartspaceLoaded_persistentEnabled_isInactive()
996 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(true) in onSmartspaceLoaded_persistentEnabled_inactive_hasRecentMedia_staysInactive()
1038 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(true) in onSwipeToDismiss_persistentEnabled_recommendationSetInactive()
1191 (if (mediaFlags.isPersistentSsCardEnabled()) { in hasAnyMediaOrRecommendation()
DMediaDataProcessorTest.kt320 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(false) in setup()
1344 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(true) in testOnSmartspaceMediaDataLoaded_persistentEnabled_headphoneTrigger_isActive()
1370 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(true) in testOnSmartspaceMediaDataLoaded_persistentEnabled_periodicTrigger_notActive()
1404 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(true) in testOnSmartspaceMediaDataLoaded_persistentEnabled_noTargets_inactive()
1436 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(true) in testSetRecommendationInactive_notifiesListeners()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/data/repository/
DMediaDataRepository.kt67 if (!mediaFlags.isPersistentSsCardEnabled()) { in setRecommendationInactive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/interactor/
DMediaCarouselInteractor.kt91 (if (mediaFlags.isPersistentSsCardEnabled()) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/
DMediaCarouselControllerTest.kt194 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(false) in setup()
807 whenever(mediaFlags.isPersistentSsCardEnabled()).thenReturn(true) in testRecommendation_persistentEnabled_inactiveSmartspaceDataLoaded_isAdded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaCarouselController.kt589 if (!mediaFlags.isPersistentSsCardEnabled()) { in <lambda>()
998 if (mediaFlags.isPersistentSsCardEnabled()) { in <lambda>()