Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/android/
Dandroid_AudioSfDecoder.cpp368 mStateFlags |= kFlagPrepared; in onPrepare()
371 SL_LOGD("AudioSfDecoder::onPrepare() done, mStateFlags=0x%x", mStateFlags); in onPrepare()
395 mStateFlags |= kFlagSeeking; in onSeek()
412 mStateFlags |= kFlagLooping; in onLoop()
415 mStateFlags &= ~kFlagLooping; in onLoop()
429 || ((mStateFlags & kFlagPreparing) && (status >= kStatusEnough))) { in onCheckCache()
430 if (mStateFlags & kFlagPlaying) { in onCheckCache()
433 mStateFlags &= ~kFlagBuffering; in onCheckCache()
437 if (mStateFlags & kFlagPreparing) { in onCheckCache()
439 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.cpp400 mStateFlags |= kFlagPreparedUnsuccessfully; in onPrepare()