Home
last modified time | relevance | path

Searched refs:STATE_IDLE (Results 1 – 25 of 31) sorted by relevance

12

/external/oboe/apps/OboeTester/app/src/main/cpp/analyzer/
DGlitchAnalyzer.h141 case STATE_IDLE: in processInputFrame()
264 bool isOutputEnabled() override { return mState != STATE_IDLE; } in isOutputEnabled()
296 mState = STATE_IDLE; in reset()
317 STATE_IDLE, // beginning enumerator
339 sine_state_t mState = STATE_IDLE;
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ogg/
DDefaultOggSeeker.java41 private static final int STATE_IDLE = 4; field in DefaultOggSeeker
83 state = STATE_IDLE; in DefaultOggSeeker()
93 case STATE_IDLE: in read()
106 state = STATE_IDLE; in read()
117 state = STATE_IDLE; in read()
/external/exoplayer/tree/extensions/leanback/src/main/java/com/google/android/exoplayer2/ext/leanback/
DLeanbackPlayerAdapter.java155 return playbackState != Player.STATE_IDLE && playbackState != Player.STATE_ENDED in isPlaying()
167 return player.getPlaybackState() == Player.STATE_IDLE ? -1 : player.getCurrentPosition(); in getCurrentPosition()
172 if (player.getPlaybackState() == Player.STATE_IDLE) { in play()
203 return player.getPlaybackState() != Player.STATE_IDLE in isPrepared()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/
DAudioFocusManagerTest.java72 assertThat(audioFocusManager.updateAudioFocus(/* playWhenReady= */ false, Player.STATE_IDLE)) in setAudioAttributes_withNullUsage_doesNotManageAudioFocus()
173 assertThat(audioFocusManager.updateAudioFocus(/* playWhenReady= */ true, Player.STATE_IDLE)) in updateAudioFocus_idleToBuffering_setsPlayerCommandPlayWhenReady()
281 assertThat(audioFocusManager.updateAudioFocus(/* playWhenReady= */ true, Player.STATE_IDLE)) in updateAudioFocus_readyToIdle_abandonsAudioFocus()
300 assertThat(audioFocusManager.updateAudioFocus(/* playWhenReady= */ true, Player.STATE_IDLE)) in updateAudioFocus_readyToIdle_abandonsAudioFocus_v26()
320 assertThat(audioFocusManager.updateAudioFocus(/* playWhenReady= */ false, Player.STATE_IDLE)) in updateAudioFocus_readyToIdle_withoutFocus_isNoOp()
339 assertThat(audioFocusManager.updateAudioFocus(/* playWhenReady= */ false, Player.STATE_IDLE)) in updateAudioFocus_readyToIdle_withoutFocus_isNoOp_v26()
DExoPlayerTest.java1157 .waitForPlaybackState(Player.STATE_IDLE) in settingNewStartPositionPossibleAfterStopWithReset()
1182 Player.STATE_IDLE, in settingNewStartPositionPossibleAfterStopWithReset()
1415 .waitForPlaybackState(Player.STATE_IDLE) in reprepareAfterPlaybackError()
1445 .waitForPlaybackState(Player.STATE_IDLE) in seekAndReprepareAfterPlaybackError()
1572 .waitForPlaybackState(Player.STATE_IDLE) in playbackErrorAndReprepareDoesNotResetPosition()
1635 .waitForPlaybackState(Player.STATE_IDLE) in seekAfterPlaybackError()
1698 .waitForPlaybackState(Player.STATE_IDLE) in playbackErrorAndReprepareWithPositionResetKeepsWindowSequenceNumber()
1739 .waitForPlaybackState(Player.STATE_IDLE) in playbackErrorTwiceStillKeepsTimeline()
1745 .waitForPlaybackState(Player.STATE_IDLE) in playbackErrorTwiceStillKeepsTimeline()
2556 .containsExactly(Player.STATE_BUFFERING, Player.STATE_READY, Player.STATE_IDLE) in recursivePlayerChangesReportConsistentValuesForAllListeners()
[all …]
/external/exoplayer/tree/extensions/cast/src/test/java/com/google/android/exoplayer2/ext/cast/
DCastPlayerTest.java111 verify(mockListener).onPlayerStateChanged(true, Player.STATE_IDLE); in setPlayWhenReady_masksRemoteState()
136 verify(mockListener).onPlayerStateChanged(true, Player.STATE_IDLE); in setPlayWhenReadyMasking_updatesUponResultChange()
144 verify(mockListener).onPlayerStateChanged(false, Player.STATE_IDLE); in setPlayWhenReadyMasking_updatesUponResultChange()
156 verify(mockListener).onPlayerStateChanged(true, Player.STATE_IDLE); in setPlayWhenReady_correctChangeReasonOnPause()
162 verify(mockListener).onPlayerStateChanged(false, Player.STATE_IDLE); in setPlayWhenReady_correctChangeReasonOnPause()
173 verify(mockListener).onPlayerStateChanged(true, Player.STATE_IDLE); in playWhenReady_changesOnStatusUpdates()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/
DPlaybackStatsListener.java103 playbackState = Player.STATE_IDLE; in PlaybackStatsListener()
442 boolean isCompletelyIdle = eventTime.timeline.isEmpty() && playbackState == Player.STATE_IDLE; in maybeAddSession()
523 playerPlaybackState = Player.STATE_IDLE; in PlaybackStatsTracker()
544 if (state != Player.STATE_IDLE) { in onPlaybackStateChanged()
550 if (state == Player.STATE_IDLE || state == Player.STATE_ENDED) { in onPlaybackStateChanged()
591 if (isSeek && playerPlaybackState == Player.STATE_IDLE) { in onPositionDiscontinuity()
938 } else if (playerPlaybackState == Player.STATE_IDLE in resolveNewPlaybackState()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttp1xStream.java62 private static final int STATE_IDLE = 0; // Idle connections are ready to write request headers. field in Http1xStream
75 private int state = STATE_IDLE;
166 if (state != STATE_IDLE) throw new IllegalStateException("state: " + state); in writeRequest()
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DGlitchActivity.java37 final static int STATE_IDLE = 0; field in GlitchActivity
65 case STATE_IDLE: in stateToString()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DHttp1xStream.java64 private static final int STATE_IDLE = 0; // Idle connections are ready to write request headers. field in Http1xStream
77 private int state = STATE_IDLE;
168 if (state != STATE_IDLE) throw new IllegalStateException("state: " + state); in writeRequest()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DExoPlayerImpl.java287 if (playbackInfo.playbackState != Player.STATE_IDLE) { in prepare()
583 getPlaybackState() == Player.STATE_IDLE ? Player.STATE_IDLE : Player.STATE_BUFFERING; in seekTo()
665 /* playbackState= */ Player.STATE_IDLE); in stop()
698 /* playbackState= */ Player.STATE_IDLE); in release()
1005 if (startWindowIndex != C.INDEX_UNSET && playbackInfo.playbackState != STATE_IDLE) { in setMediaSourcesInternal()
1054 playbackInfo.playbackState != STATE_IDLE in removeMediaItemsInternal()
DPlayer.java632 @IntDef({STATE_IDLE, STATE_BUFFERING, STATE_READY, STATE_ENDED})
637 int STATE_IDLE = 1; field
DPlaybackInfo.java96 Player.STATE_IDLE, in createDummy()
DAudioFocusManager.java182 return playbackState == Player.STATE_IDLE || focusGain != C.AUDIOFOCUS_GAIN; in shouldAbandonAudioFocus()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DExoHostedTest.java191 playerWasPrepared |= playbackState != Player.STATE_IDLE; in onPlayerStateChanged()
193 || (playbackState == Player.STATE_IDLE && playerWasPrepared)) { in onPlayerStateChanged()
DExoPlayerTestRunner.java628 playerWasPrepared |= playbackState != Player.STATE_IDLE; in onPlaybackStateChanged()
630 || (playbackState == Player.STATE_IDLE && playerWasPrepared)) { in onPlaybackStateChanged()
/external/exoplayer/tree/extensions/opus/src/androidTest/java/com/google/android/exoplayer2/ext/opus/
DOpusPlaybackTest.java110 || (playbackState == Player.STATE_IDLE && playbackException != null)) { in onPlaybackStateChanged()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DDebugTextViewHelper.java128 case Player.STATE_IDLE: in getPlayerStateString()
DPlayerControlView.java1001 int playbackState = player == null ? Player.STATE_IDLE : player.getPlaybackState(); in updateProgress()
1018 } else if (playbackState != Player.STATE_ENDED && playbackState != Player.STATE_IDLE) { in updateProgress()
1160 && player.getPlaybackState() != Player.STATE_IDLE in shouldShowPauseButton()
1278 if (player.getPlaybackState() == Player.STATE_IDLE) { in onClick()
DPlayerNotificationManager.java1027 if (player.getPlaybackState() == Player.STATE_IDLE in createNotification()
1215 && player.getPlaybackState() != Player.STATE_IDLE in shouldShowPauseButton()
1367 if (player.getPlaybackState() == Player.STATE_IDLE) { in onReceive()
/external/exoplayer/tree/extensions/ima/src/test/java/com/google/android/exoplayer2/ext/ima/
DFakePlayer.java44 state = Player.STATE_IDLE; in FakePlayer()
/external/exoplayer/tree/extensions/flac/src/androidTest/java/com/google/android/exoplayer2/ext/flac/
DFlacPlaybackTest.java127 || (playbackState == Player.STATE_IDLE && playbackException != null)) { in onPlaybackStateChanged()
/external/exoplayer/tree/extensions/vp9/src/androidTest/java/com/google/android/exoplayer2/ext/vp9/
DVpxPlaybackTest.java143 || (playbackState == Player.STATE_IDLE && playbackException != null)) { in onPlaybackStateChanged()
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/
DCastPlayer.java144 playbackState = STATE_IDLE; in CastPlayer()
482 playbackState = STATE_IDLE; in stop()
916 return STATE_IDLE; in fetchPlaybackState()
/external/exoplayer/tree/demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/
DPlayerManager.java281 playbackState != Player.STATE_IDLE && playbackState != Player.STATE_ENDED in updateCurrentItemIndex()

12