Searched refs:kFlagPrepared (Results 1 – 5 of 5) sorted by relevance
305 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()
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()456 if ((mStateFlags & (kFlagPrepared | kFlagPlaying)) == kFlagPrepared) { in onPlay()466 if (!(~mStateFlags & (kFlagPrepared | kFlagPlaying))) { in onPause()587 if (!(mStateFlags & kFlagPrepared)) { in updateOneShot()
364 mStateFlags |= kFlagPrepared; in onPrepare()601 assert(!(mStateFlags & (kFlagPrepared | kFlagPreparedUnsuccessfully))); in notifyPrepared()605 mStateFlags |= kFlagPrepared; in notifyPrepared()
166 kFlagPrepared = 1 << 0, // use only for successful preparation enumerator
217 mStateFlags |= kFlagPrepared; in onPrepare()