Lines Matching refs:mStateFlags
368 mStateFlags |= kFlagPrepared; in onPrepare()
371 SL_LOGD("AudioSfDecoder::onPrepare() done, mStateFlags=0x%x", mStateFlags); in onPrepare()
395 mStateFlags |= kFlagSeeking; in onSeek()
412 mStateFlags |= kFlagLooping; in onLoop()
415 mStateFlags &= ~kFlagLooping; in onLoop()
429 || ((mStateFlags & kFlagPreparing) && (status >= kStatusEnough))) { in onCheckCache()
430 if (mStateFlags & kFlagPlaying) { in onCheckCache()
433 mStateFlags &= ~kFlagBuffering; in onCheckCache()
437 if (mStateFlags & kFlagPreparing) { in onCheckCache()
439 mStateFlags &= ~kFlagPreparing; in onCheckCache()
442 if (mStateFlags & kFlagPlaying) { in onCheckCache()
467 if (mStateFlags & kFlagPlaying) { in onDecode()
470 mStateFlags |= kFlagBuffering; in onDecode()
475 if (!(mStateFlags & (kFlagPlaying | kFlagBuffering | kFlagPreparing))) { in onDecode()
484 if (mStateFlags & kFlagSeeking) { in onDecode()
516 if (mStateFlags & kFlagSeeking) { in onDecode()
517 mStateFlags &= ~kFlagSeeking; in onDecode()
539 if (mStateFlags & kFlagPlaying) { in onDecode()
542 if (mStateFlags & kFlagLooping) { in onDecode()
605 assert(!(mStateFlags & (kFlagPrepared | kFlagPreparedUnsuccessfully))); in notifyPrepared()
609 mStateFlags |= kFlagPrepared; in notifyPrepared()
611 mStateFlags |= kFlagPreparedUnsuccessfully; in notifyPrepared()
617 SL_LOGD("AudioSfDecoder::onPrepare() done, mStateFlags=0x%x", mStateFlags); in notifyPrepared()
671 if (mStateFlags & kFlagSeeking) { in getPositionUsec()