Lines Matching refs:mCblk

106         mCblk(NULL),  in TrackBase()
173 … (mCblk = static_cast<audio_track_cblk_t *>(mCblkMemory->unsecurePointer())) == NULL) { in TrackBase()
180 mCblk = (audio_track_cblk_t *) malloc(size); in TrackBase()
181 if (mCblk == NULL) { in TrackBase()
188 if (mCblk != NULL) { in TrackBase()
189 new(mCblk) audio_track_cblk_t(); in TrackBase()
220 mBuffer = (char*)mCblk + sizeof(audio_track_cblk_t); in TrackBase()
225 mCblk->mFlags = CBLK_FORCEREADY; // FIXME hack, need to fix the track ready logic in TrackBase()
244 mState.setMirror(&mCblk->mState); in TrackBase()
797 if (mCblk == NULL) { in Track()
809 mAudioTrackServerProxy = new AudioTrackServerProxy(mCblk, mBuffer, frameCount, in Track()
812 mAudioTrackServerProxy = new StaticAudioTrackServerProxy(mCblk, mBuffer, frameCount, in Track()
873 if (status == NO_ERROR && mCblk == nullptr) { in initCheck()
1008 mCblk->mFlags, in appendDump()
1024 mCblk->mServer, in appendDump()
1044 result.appendFormat("%10s", mCblk->mServer != 0 ? "unavail" : "new"); in appendDump()
1166 if (framesReady() >= framesToBeReady || (mCblk->mFlags & CBLK_FORCEREADY)) { in isReady()
1170 android_atomic_and(~CBLK_FORCEREADY, &mCblk->mFlags); in isReady()
1487 android_atomic_and(~CBLK_FORCEREADY, &mCblk->mFlags); in reset()
1835 ALOG_ASSERT(isFastTrack() && (mCblk != NULL)); in getVolumeLR()
1886 audio_track_cblk_t* cblk = mCblk; in isDisabled()
1894 audio_track_cblk_t* cblk = mCblk; in signalClientFlag()
2191 if (mCblk != NULL) {
2196 __func__, mCblk, mBuffer,
2200 mClientProxy = new AudioTrackClientProxy(mCblk, mBuffer, mFrameCount, mFrameSize,
2430 int32_t flags = android_atomic_and(~CBLK_DISABLED, &mCblk->mFlags); in restartIfDisabled()
2491 PatchTrackBase(mCblk ? new AudioTrackClientProxy(mCblk, mBuffer, frameCount, mFrameSize,
2530 android_atomic_and(~CBLK_DISABLED, &mCblk->mFlags); in start()
2615 if (android_atomic_and(~CBLK_DISABLED, &mCblk->mFlags) & CBLK_DISABLED) { in restartIfDisabled()
2789 if (mCblk == NULL) { in RecordTrack()
2809 mServerProxy = new AudioRecordServerProxy(mCblk, mBuffer, frameCount, in RecordTrack()
2857 (void) android_atomic_or(CBLK_OVERRUN, &mCblk->mFlags); in getNextBuffer()
2930 audio_track_cblk_t* cblk = mCblk; in invalidate()
2958 mCblk->mFlags, in appendDump()
2965 mCblk->mServer, in appendDump()
2978 result.appendFormat("%10s", mCblk->mServer != 0 ? "unavail" : "new"); in appendDump()
3173 PatchTrackBase(mCblk ? new ClientProxy(mCblk, mBuffer, frameCount, mFrameSize, false, true)