Home
last modified time | relevance | path

Searched refs:STATE_READY (Results 1 – 25 of 34) sorted by relevance

12

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/
DAudioFocusManagerTest.java74 assertThat(audioFocusManager.updateAudioFocus(/* playWhenReady= */ true, Player.STATE_READY)) in setAudioAttributes_withNullUsage_doesNotManageAudioFocus()
88 assertThat(audioFocusManager.updateAudioFocus(/* playWhenReady= */ true, Player.STATE_READY)) in setAudioAttributes_withNullUsage_abandonsAudioFocus()
97 assertThat(audioFocusManager.updateAudioFocus(/* playWhenReady= */ true, Player.STATE_READY)) in setAudioAttributes_withNullUsage_abandonsAudioFocus()
111 assertThat(audioFocusManager.updateAudioFocus(/* playWhenReady= */ true, Player.STATE_READY)) in setAudioAttributes_withNullUsage_abandonsAudioFocus_v26()
119 assertThat(audioFocusManager.updateAudioFocus(/* playWhenReady= */ true, Player.STATE_READY)) in setAudioAttributes_withNullUsage_abandonsAudioFocus_v26()
147 assertThat(audioFocusManager.updateAudioFocus(/* playWhenReady= */ true, Player.STATE_READY)) in setAudioAttributes_withUsageMedia_usesAudioFocusGain()
191 assertThat(audioFocusManager.updateAudioFocus(/* playWhenReady= */ false, Player.STATE_READY)) in updateAudioFocus_pausedToPlaying_setsPlayerCommandPlayWhenReady()
196 assertThat(audioFocusManager.updateAudioFocus(/* playWhenReady= */ true, Player.STATE_READY)) in updateAudioFocus_pausedToPlaying_setsPlayerCommandPlayWhenReady()
209 assertThat(audioFocusManager.updateAudioFocus(/* playWhenReady= */ true, Player.STATE_READY)) in updateAudioFocus_pausedToPlaying_withTransientLoss_setsPlayerCommandPlayWhenReady()
217 assertThat(audioFocusManager.updateAudioFocus(/* playWhenReady= */ true, Player.STATE_READY)) in updateAudioFocus_pausedToPlaying_withTransientLoss_setsPlayerCommandPlayWhenReady()
[all …]
DExoPlayerTest.java451 .waitForPlaybackState(Player.STATE_READY) in shuffleModeEnabledChanges()
509 .waitForPlaybackState(Player.STATE_READY) in adGroupWithLoadErrorIsSkipped()
608 .waitForPlaybackState(Player.STATE_READY) in seekDiscontinuityWithAdjustment()
749 .waitForPlaybackState(Player.STATE_READY) in allActivatedTrackSelectionAreReleasedWhenTrackSelectionsAreRemade()
789 .waitForPlaybackState(Player.STATE_READY) in allActivatedTrackSelectionAreReleasedWhenTrackSelectionsAreReused()
869 .waitForPlaybackState(Player.STATE_READY) in resetMediaSourcesWithPositionResetAndShufflingUsesFirstPeriod()
979 .waitForPlaybackState(Player.STATE_READY) in seekBeforePreparationCompletes_seeksToCorrectPosition()
1007 .waitForPlaybackState(Player.STATE_READY) in stopDoesNotResetPosition()
1041 .waitForPlaybackState(Player.STATE_READY) in stopWithoutResetDoesNotResetPosition()
1075 .waitForPlaybackState(Player.STATE_READY) in stopWithResetDoesResetPosition()
[all …]
DMediaPeriodQueueTest.java418 Player.STATE_READY, in setupTimeline()
/external/conscrypt/common/src/main/java/org/conscrypt/
DConscryptFileDescriptorSocket.java23 import static org.conscrypt.SSLUtils.EngineStates.STATE_READY;
284 transitionTo(STATE_READY); in startHandshake()
364 transitionTo(STATE_READY); in onSSLStateChange()
489 if (state == STATE_READY || state == STATE_READY_HANDSHAKE_CUT_THROUGH) { in assertReadableOrWriteableState()
500 while (state != STATE_READY && in waitForHandshake()
689 handshakeCompleted = state >= STATE_READY; in provideSession()
719 return state >= STATE_HANDSHAKE_STARTED && state < STATE_READY ? activeSession in provideHandshakeSession()
732 if (state >= STATE_HANDSHAKE_STARTED && state < STATE_READY) { in getHandshakeSession()
847 if (state != STATE_READY) {
1016 if (oldState != STATE_READY && oldState != STATE_READY_HANDSHAKE_CUT_THROUGH) {
[all …]
DConscryptEngineSocket.java25 import static org.conscrypt.SSLUtils.EngineStates.STATE_READY;
537 state = STATE_READY;
559 while (state != STATE_READY && state != STATE_READY_HANDSHAKE_CUT_THROUGH
DSSLUtils.java137 static final int STATE_READY = 5; field in SSLUtils.EngineStates
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DConscryptFileDescriptorSocket.java24 import static com.android.org.conscrypt.SSLUtils.EngineStates.STATE_READY;
284 transitionTo(STATE_READY); in startHandshake()
364 transitionTo(STATE_READY); in onSSLStateChange()
489 if (state == STATE_READY || state == STATE_READY_HANDSHAKE_CUT_THROUGH) { in assertReadableOrWriteableState()
500 while (state != STATE_READY && in waitForHandshake()
689 handshakeCompleted = state >= STATE_READY; in provideSession()
718 return state >= STATE_HANDSHAKE_STARTED && state < STATE_READY ? activeSession in provideHandshakeSession()
731 if (state >= STATE_HANDSHAKE_STARTED && state < STATE_READY) { in getHandshakeSession()
854 if (state != STATE_READY) {
1023 if (oldState != STATE_READY && oldState != STATE_READY_HANDSHAKE_CUT_THROUGH) {
[all …]
DConscryptEngineSocket.java24 import static com.android.org.conscrypt.SSLUtils.EngineStates.STATE_READY;
553 state = STATE_READY;
575 while (state != STATE_READY && state != STATE_READY_HANDSHAKE_CUT_THROUGH
DSSLUtils.java138 static final int STATE_READY = 5; field in SSLUtils.EngineStates
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/analytics/
DPlaybackStatsListenerTest.java108 playbackStatsListener.onPlaybackStateChanged(TEST_EVENT_TIME, Player.STATE_READY); in playback_withKeepHistory_updatesStats()
122 playbackStatsListener.onPlaybackStateChanged(TEST_EVENT_TIME, Player.STATE_READY); in playback_withoutKeepHistory_updatesStats()
DAnalyticsCollectorTest.java386 .waitForPlaybackState(Player.STATE_READY) in seekBackAfterReadingAhead()
466 .waitForPlaybackState(Player.STATE_READY) in prepareNewSource()
545 .waitForPlaybackState(Player.STATE_READY) in reprepareAfterError()
622 .waitForPlaybackState(Player.STATE_READY) in dynamicTimelineChange()
630 .waitForPlaybackState(Player.STATE_READY) in dynamicTimelineChange()
699 .waitForPlaybackState(Player.STATE_READY) in playlistOperations()
706 .waitForPlaybackState(Player.STATE_READY) in playlistOperations()
839 .waitForPlaybackState(Player.STATE_READY) in adPlayback()
1143 .waitForPlaybackState(Player.STATE_READY) in notifyExternalEvents()
/external/webrtc/p2p/base/
Dturn_port.h46 STATE_READY, // Received allocate success, can send any packets. enumerator
141 bool ready() const { return state_ == STATE_READY; } in ready()
143 return state_ == STATE_READY || state_ == STATE_CONNECTED; in connected()
/external/exoplayer/tree/playbacktests/src/androidTest/java/com/google/android/exoplayer2/playbacktests/gts/
DCommonEncryptionDrmTest.java42 .waitForPlaybackState(Player.STATE_READY).delay(30000).seekAndWait(300000).delay(10000)
DDashStreamingTest.java44 .waitForPlaybackState(Player.STATE_READY)
51 .waitForPlaybackState(Player.STATE_READY)
DDashWidevineOfflineTest.java203 .waitForPlaybackState(Player.STATE_READY) in widevineOfflineLicenseExpiresOnPauseV22()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DPlayer.java632 @IntDef({STATE_IDLE, STATE_BUFFERING, STATE_READY, STATE_ENDED})
647 int STATE_READY = 3; field
DExoPlayerImplInternal.java662 if (playbackInfo.playbackState == Player.STATE_READY) { in setPlayWhenReadyInternal()
854 setState(Player.STATE_READY); in doSomeWork()
858 } else if (playbackInfo.playbackState == Player.STATE_READY in doSomeWork()
883 if ((shouldPlayWhenReady() && playbackInfo.playbackState == Player.STATE_READY) in doSomeWork()
977 || playbackInfo.playbackState == Player.STATE_READY)) { in seekToInternal()
1019 if (forceBufferingState || playbackInfo.playbackState == Player.STATE_READY) { in seekToPeriodPosition()
1291 if (playbackInfo.playbackState == Player.STATE_READY in sendMessageToTarget()
2054 boolean playing = shouldPlayWhenReady() && playbackInfo.playbackState == Player.STATE_READY;
DBasePlayer.java92 return getPlaybackState() == Player.STATE_READY in isPlaying()
/external/exoplayer/tree/extensions/ima/src/test/java/com/google/android/exoplayer2/ext/ima/
DImaAdsLoaderTest.java180 fakeExoPlayer.setState(Player.STATE_READY, true); in startAndCallbacksAfterRelease()
218 fakeExoPlayer.setState(Player.STATE_READY, true); in playback_withPrerollAd_marksAdAsPlayed()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DDebugTextViewHelper.java131 case Player.STATE_READY: in getPlayerStateString()
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DSSLUtilsTest.java201 SSLUtils.EngineStates.STATE_READY, in engineStateValues()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DSSLUtilsTest.java197 SSLUtils.EngineStates.STATE_READY, in engineStateValues()
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/
DCastPlayer.java649 boolean wasPlaying = playbackState == Player.STATE_READY && playWhenReady.value; in updateInternalStateAndNotifyIfChanged()
651 boolean isPlaying = playbackState == Player.STATE_READY && playWhenReady.value; in updateInternalStateAndNotifyIfChanged()
912 return STATE_READY; in fetchPlaybackState()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DExoHostedTest.java196 boolean playing = playWhenReady && playbackState == Player.STATE_READY; in onPlayerStateChanged()
DActionSchedule.java201 .apply(new WaitForPlaybackState(tag, Player.STATE_READY)); in seekAndWait()

12