Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/android/
Dandroid_GenericMediaPlayer.cpp308 if ((mStateFlags & kFlagPrepared) && (mPlayer != 0)) { in setVideoSurfaceTexture()
336 if (!(mStateFlags & (kFlagPrepared | kFlagPreparedUnsuccessfully)) && (mPlayer != 0)) { in onPrepare()
346 mStateFlags |= kFlagPrepared; in onPrepare()
359 if (((mStateFlags & (kFlagPrepared | kFlagPlaying)) == kFlagPrepared) && (mPlayer != 0)) { in onPlay()
368 if (!(~mStateFlags & (kFlagPrepared | kFlagPlaying)) && (mPlayer != 0)) { in onPause()
408 } else if (!(mStateFlags & kFlagPrepared)) { in onSeek()
500 if ((mStateFlags & kFlagPrepared) && (mPlayer != 0) in onBufferingUpdate()
541 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.cpp360 mStateFlags |= kFlagPrepared; in onPrepare()
597 assert(!(mStateFlags & (kFlagPrepared | kFlagPreparedUnsuccessfully))); in notifyPrepared()
601 mStateFlags |= kFlagPrepared; in notifyPrepared()
DAacBqToPcmCbRenderer.cpp211 mStateFlags |= kFlagPrepared; in onPrepare()
Dandroid_GenericPlayer.h166 kFlagPrepared = 1 << 0, // use only for successful preparation enumerator