Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/android/
Dandroid_AudioSfDecoder.cpp363 mStateFlags |= kFlagPrepared; in onPrepare()
366 SL_LOGD("AudioSfDecoder::onPrepare() done, mStateFlags=0x%x", mStateFlags); in onPrepare()
390 mStateFlags |= kFlagSeeking; in onSeek()
407 mStateFlags |= kFlagLooping; in onLoop()
410 mStateFlags &= ~kFlagLooping; in onLoop()
424 || ((mStateFlags & kFlagPreparing) && (status >= kStatusEnough))) { in onCheckCache()
425 if (mStateFlags & kFlagPlaying) { in onCheckCache()
428 mStateFlags &= ~kFlagBuffering; in onCheckCache()
432 if (mStateFlags & kFlagPreparing) { in onCheckCache()
434 mStateFlags &= ~kFlagPreparing; in onCheckCache()
[all …]
Dandroid_GenericMediaPlayer.cpp305 if ((mStateFlags & kFlagPrepared) && (mPlayer != 0)) { in setVideoSurfaceTexture()
333 if (!(mStateFlags & (kFlagPrepared | kFlagPreparedUnsuccessfully)) && (mPlayer != 0)) { in onPrepare()
343 mStateFlags |= kFlagPrepared; in onPrepare()
346 mStateFlags |= kFlagPreparedUnsuccessfully; in onPrepare()
350 SL_LOGD("GenericMediaPlayer::onPrepare() done, mStateFlags=0x%x", mStateFlags); in onPrepare()
356 if (((mStateFlags & (kFlagPrepared | kFlagPlaying)) == kFlagPrepared) && (mPlayer != 0)) { in onPlay()
365 if (!(~mStateFlags & (kFlagPrepared | kFlagPlaying)) && (mPlayer != 0)) { in onPause()
375 if (!(mStateFlags & kFlagSeeking)) { in onSeekComplete()
377 if (mStateFlags & kFlagLooping) { in onSeekComplete()
399 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.cpp214 mStateFlags |= kFlagPrepared; in onPrepare()
219 SL_LOGD("AacBqToPcmCbRenderer::onPrepare() done, mStateFlags=0x%x", mStateFlags); in onPrepare()
Dandroid_AudioToCbRenderer.cpp61 if (mStateFlags & kFlagPlaying) { in onRender()
Dandroid_LocAVPlayer.cpp91 mStateFlags |= kFlagPreparedUnsuccessfully; in onPrepare()
Dandroid_GenericPlayer.h175 uint32_t mStateFlags; variable
Dandroid_StreamPlayer.cpp398 mStateFlags |= kFlagPreparedUnsuccessfully; in onPrepare()