Home
last modified time | relevance | path

Searched refs:mStateFlags (Results 1 – 8 of 8) sorted by relevance

/frameworks/wilhelm/src/android/
Dandroid_AudioSfDecoder.cpp360 mStateFlags |= kFlagPrepared; in onPrepare()
363 SL_LOGD("AudioSfDecoder::onPrepare() done, mStateFlags=0x%x", mStateFlags); in onPrepare()
387 mStateFlags |= kFlagSeeking; in onSeek()
404 mStateFlags |= kFlagLooping; in onLoop()
407 mStateFlags &= ~kFlagLooping; in onLoop()
421 || ((mStateFlags & kFlagPreparing) && (status >= kStatusEnough))) { in onCheckCache()
422 if (mStateFlags & kFlagPlaying) { in onCheckCache()
425 mStateFlags &= ~kFlagBuffering; in onCheckCache()
429 if (mStateFlags & kFlagPreparing) { in onCheckCache()
431 mStateFlags &= ~kFlagPreparing; in onCheckCache()
[all …]
Dandroid_GenericMediaPlayer.cpp308 if ((mStateFlags & kFlagPrepared) && (mPlayer != 0)) { in setVideoSurfaceTexture()
336 if (!(mStateFlags & (kFlagPrepared | kFlagPreparedUnsuccessfully)) && (mPlayer != 0)) { in onPrepare()
346 mStateFlags |= kFlagPrepared; in onPrepare()
349 mStateFlags |= kFlagPreparedUnsuccessfully; in onPrepare()
353 SL_LOGD("GenericMediaPlayer::onPrepare() done, mStateFlags=0x%x", mStateFlags); in onPrepare()
359 if (((mStateFlags & (kFlagPrepared | kFlagPlaying)) == kFlagPrepared) && (mPlayer != 0)) { in onPlay()
368 if (!(~mStateFlags & (kFlagPrepared | kFlagPlaying)) && (mPlayer != 0)) { in onPause()
378 if (!(mStateFlags & kFlagSeeking)) { in onSeekComplete()
380 if (mStateFlags & kFlagLooping) { in onSeekComplete()
402 if ((mStateFlags & kFlagSeeking) && (timeMsec == mSeekTimeMsec) && in onSeek()
[all …]
Dandroid_GenericPlayer.cpp32 mStateFlags(0), in GenericPlayer()
138 if (!(mStateFlags & (kFlagPrepared | kFlagPreparedUnsuccessfully))) { in prepare()
401 assert(!(mStateFlags & kFlagPrepared) != !(mStateFlags & kFlagPreparedUnsuccessfully)); in onPrepare()
402 notify(PLAYEREVENT_PREPARED, mStateFlags & kFlagPrepared ? PLAYER_SUCCESS : PLAYER_FAILURE, in onPrepare()
404 SL_LOGD("GenericPlayer::onPrepare() done, mStateFlags=0x%x", mStateFlags); in onPrepare()
456 if ((mStateFlags & (kFlagPrepared | kFlagPlaying)) == kFlagPrepared) { in onPlay()
458 mStateFlags |= kFlagPlaying; in onPlay()
466 if (!(~mStateFlags & (kFlagPrepared | kFlagPlaying))) { in onPause()
468 mStateFlags &= ~kFlagPlaying; in onPause()
491 mStateFlags &= ~kFlagSeeking; in onSeekComplete()
[all …]
DAacBqToPcmCbRenderer.cpp211 mStateFlags |= kFlagPrepared; in onPrepare()
216 SL_LOGD("AacBqToPcmCbRenderer::onPrepare() done, mStateFlags=0x%x", mStateFlags); in onPrepare()
Dandroid_AudioToCbRenderer.cpp62 if (mStateFlags & kFlagPlaying) { in onRender()
Dandroid_LocAVPlayer.cpp100 mStateFlags |= kFlagPreparedUnsuccessfully; in onPrepare()
Dandroid_GenericPlayer.h176 uint32_t mStateFlags; variable
Dandroid_StreamPlayer.cpp399 mStateFlags |= kFlagPreparedUnsuccessfully; in onPrepare()