Home
last modified time | relevance | path

Searched refs:isRetainingPlayersEnabled (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/util/
DMediaFlags.kt42 fun isRetainingPlayersEnabled() = featureFlags.isEnabled(Flags.MEDIA_RETAIN_SESSIONS) method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataProcessorTest.kt319 whenever(mediaFlags.isRetainingPlayersEnabled()).thenReturn(false) in setup()
2063 whenever(mediaFlags.isRetainingPlayersEnabled()).thenReturn(true) in testRetain_notifPlayer_notifRemoved_setToResume()
2093 whenever(mediaFlags.isRetainingPlayersEnabled()).thenReturn(true) in testRetain_notifPlayer_sessionDestroyed_doesNotChange()
2111 whenever(mediaFlags.isRetainingPlayersEnabled()).thenReturn(true) in testRetain_notifPlayer_removeWhileActive_fullyRemoved()
2128 whenever(mediaFlags.isRetainingPlayersEnabled()).thenReturn(true) in testRetain_canResume_removeWhileActive_setToResume()
2160 whenever(mediaFlags.isRetainingPlayersEnabled()).thenReturn(true) in testRetain_sessionPlayer_notifRemoved_doesNotChange()
2180 whenever(mediaFlags.isRetainingPlayersEnabled()).thenReturn(true) in testRetain_sessionPlayer_sessionDestroyed_setToResume()
2214 whenever(mediaFlags.isRetainingPlayersEnabled()).thenReturn(true) in testRetain_sessionPlayer_destroyedWhileActive_noResume_fullyRemoved()
2234 whenever(mediaFlags.isRetainingPlayersEnabled()).thenReturn(true) in testRetain_sessionPlayer_canResume_destroyedWhileActive_setToResume()
2347 whenever(mediaFlags.isRetainingPlayersEnabled()).thenReturn(true) in testSessionDestroyed_noNotificationKey_stillRemoved()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataProcessor.kt1385 } else if (mediaFlags.isRetainingPlayersEnabled()) { in <lambda>()
1437 } else if (mediaFlags.isRetainingPlayersEnabled() || isAbleToResume(removed)) { in <lambda>()
DLegacyMediaDataManagerImpl.kt1442 } else if (mediaFlags.isRetainingPlayersEnabled()) { in onNotificationRemoved()
1494 } else if (mediaFlags.isRetainingPlayersEnabled() || isAbleToResume(removed)) { in handlePossibleRemoval()