Searched refs:isRetainingPlayersEnabled (Results 1 – 4 of 4) sorted by relevance
42 fun isRetainingPlayersEnabled() = featureFlags.isEnabled(Flags.MEDIA_RETAIN_SESSIONS) method
319 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()
1385 } else if (mediaFlags.isRetainingPlayersEnabled()) { in <lambda>()1437 } else if (mediaFlags.isRetainingPlayersEnabled() || isAbleToResume(removed)) { in <lambda>()
1442 } else if (mediaFlags.isRetainingPlayersEnabled()) { in onNotificationRemoved()1494 } else if (mediaFlags.isRetainingPlayersEnabled() || isAbleToResume(removed)) { in handlePossibleRemoval()