Home
last modified time | relevance | path

Searched refs:cblk (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/libmedia/
DAudioRecord.cpp303 audio_track_cblk_t* cblk = mCblk; in start() local
321 cblk->lock.lock(); in start()
322 if (!(cblk->flags & CBLK_INVALID_MSK)) { in start()
323 cblk->lock.unlock(); in start()
326 cblk->lock.lock(); in start()
328 android_atomic_or(CBLK_INVALID_ON, &cblk->flags); in start()
331 if (cblk->flags & CBLK_INVALID_MSK) { in start()
332 ret = restoreRecord_l(cblk); in start()
334 cblk->lock.unlock(); in start()
336 mNewPosition = cblk->user + mUpdatePeriod; in start()
[all …]
DAudioTrack.cpp379 audio_track_cblk_t* cblk = mCblk; in start() local
384 mNewPosition = cblk->server + mUpdatePeriod; in start()
385 cblk->lock.lock(); in start()
386 cblk->bufferTimeoutMs = MAX_STARTUP_TIMEOUT_MS; in start()
387 cblk->waitTimeMs = 0; in start()
388 android_atomic_and(~CBLK_DISABLED_ON, &cblk->flags); in start()
398 if (!(cblk->flags & CBLK_INVALID_MSK)) { in start()
399 cblk->lock.unlock(); in start()
402 cblk->lock.lock(); in start()
404 android_atomic_or(CBLK_INVALID_ON, &cblk->flags); in start()
[all …]
DIAudioRecord.cpp70 sp<IMemory> cblk; in getCblk() local
74 cblk = interface_cast<IMemory>(reply.readStrongBinder()); in getCblk()
76 return cblk; in getCblk()
DIEffect.cpp115 sp<IMemory> cblk; in getCblk() local
119 cblk = interface_cast<IMemory>(reply.readStrongBinder()); in getCblk()
121 return cblk; in getCblk()
DAudioEffect.cpp98 sp<IMemory> cblk; in set() local
148 cblk = iEffect->getCblk(); in set()
149 if (cblk == 0) { in set()
156 mCblkMemory = cblk; in set()
157 mCblk = static_cast<effect_param_cblk_t*>(cblk->pointer()); in set()
DIAudioTrack.cpp55 sp<IMemory> cblk; in getCblk() local
59 cblk = interface_cast<IMemory>(reply.readStrongBinder()); in getCblk()
61 return cblk; in getCblk()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp491 volatile surface_flinger_cblk_t const * cblk = get_cblk(); in getDisplayInfo() local
492 volatile display_cblk_t const * dcblk = cblk->displays + dpy; in getDisplayInfo()
508 volatile surface_flinger_cblk_t const * cblk = get_cblk(); in getDisplayWidth() local
509 volatile display_cblk_t const * dcblk = cblk->displays + dpy; in getDisplayWidth()
517 volatile surface_flinger_cblk_t const * cblk = get_cblk(); in getDisplayHeight() local
518 volatile display_cblk_t const * dcblk = cblk->displays + dpy; in getDisplayHeight()
526 volatile surface_flinger_cblk_t const * cblk = get_cblk(); in getDisplayOrientation() local
527 volatile display_cblk_t const * dcblk = cblk->displays + dpy; in getDisplayOrientation()
533 volatile surface_flinger_cblk_t const * cblk = get_cblk(); in getNumberOfDisplays() local
534 uint32_t connected = cblk->connected; in getNumberOfDisplays()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp3058 audio_track_cblk_t* cblk = track->cblk(); in prepareTracks_l() local
3082 ALOG_ASSERT(minFrames <= cblk->frameCount); in prepareTracks_l()
3116 } else if (cblk->server != 0) { in prepareTracks_l()
3135 uint32_t vlr = cblk->getVolumeLR(); in prepareTracks_l()
3153 uint16_t sendLevel = cblk->getSendLevel_U4_12(); in prepareTracks_l()
3203 (void *)(cblk->sampleRate)); in prepareTracks_l()
3257 android_atomic_or(CBLK_DISABLED_ON, &cblk->flags); in prepareTracks_l()
3679 audio_track_cblk_t* cblk = track->cblk(); in prepareTracks_l() local
3713 uint32_t vlr = cblk->getVolumeLR(); in prepareTracks_l()
4026 if (outputTrack->cblk() != NULL) { in addOutputTrack()
[all …]
DAudioFlinger.h393 audio_track_cblk_t* cblk() const { return mCblk; } in cblk() function
/frameworks/av/include/media/
DAudioRecord.h364 status_t restoreRecord_l(audio_track_cblk_t*& cblk);
DAudioTrack.h498 status_t restoreTrack_l(audio_track_cblk_t*& cblk, bool fromStart);