Home
last modified time | relevance | path

Searched refs:kFlagPrepared (Results 1 – 5 of 5) sorted by relevance

/frameworks/wilhelm/src/android/
Dandroid_GenericMediaPlayer.cpp305 if ((mStateFlags & kFlagPrepared) && (mPlayer != 0)) { in setVideoSurfaceTexture()
333 if (!(mStateFlags & (kFlagPrepared | kFlagPreparedUnsuccessfully)) && (mPlayer != 0)) { in onPrepare()
343 mStateFlags |= kFlagPrepared; in onPrepare()
356 if (((mStateFlags & (kFlagPrepared | kFlagPlaying)) == kFlagPrepared) && (mPlayer != 0)) { in onPlay()
365 if (!(~mStateFlags & (kFlagPrepared | kFlagPlaying)) && (mPlayer != 0)) { in onPause()
405 } else if (!(mStateFlags & kFlagPrepared)) { in onSeek()
497 if ((mStateFlags & kFlagPrepared) && (mPlayer != 0) in onBufferingUpdate()
538 assert(mStateFlags & kFlagPrepared); in afterMediaPlayerPreparedSuccessfully()
Dandroid_GenericPlayer.cpp138 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()
456 if ((mStateFlags & (kFlagPrepared | kFlagPlaying)) == kFlagPrepared) { in onPlay()
466 if (!(~mStateFlags & (kFlagPrepared | kFlagPlaying))) { in onPause()
587 if (!(mStateFlags & kFlagPrepared)) { in updateOneShot()
Dandroid_AudioSfDecoder.cpp364 mStateFlags |= kFlagPrepared; in onPrepare()
601 assert(!(mStateFlags & (kFlagPrepared | kFlagPreparedUnsuccessfully))); in notifyPrepared()
605 mStateFlags |= kFlagPrepared; in notifyPrepared()
Dandroid_GenericPlayer.h166 kFlagPrepared = 1 << 0, // use only for successful preparation enumerator
DAacBqToPcmCbRenderer.cpp217 mStateFlags |= kFlagPrepared; in onPrepare()