Lines Matching refs:mStateFlags
31 mStateFlags(0),
135 if (!(mStateFlags & (kFlagPrepared | kFlagPreparedUnsuccessfully))) {
387 // by updating mStateFlags accordingly. It must set exactly one of these two flags.
388 assert(!(mStateFlags & kFlagPrepared) != !(mStateFlags & kFlagPreparedUnsuccessfully));
389 notify(PLAYEREVENT_PREPARED, mStateFlags & kFlagPrepared ? PLAYER_SUCCESS : PLAYER_FAILURE,
391 SL_LOGD("GenericPlayer::onPrepare() done, mStateFlags=0x%x", mStateFlags);
442 if ((mStateFlags & (kFlagPrepared | kFlagPlaying)) == kFlagPrepared) {
444 mStateFlags |= kFlagPlaying;
452 if (!(~mStateFlags & (kFlagPrepared | kFlagPlaying))) {
454 mStateFlags &= ~kFlagPlaying;
477 mStateFlags &= ~kFlagSeeking;
573 if (!(mStateFlags & kFlagPrepared)) {
581 if (!(mStateFlags & kFlagPlaying)) {