Home
last modified time | relevance | path

Searched refs:clientIndex (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/include/private/media/
DAudioEffectShared.h38 volatile uint32_t clientIndex; // Current read/write index for application member
43 : lock(Mutex::SHARED), clientIndex(0), serverIndex(0) {} in effect_param_cblk_t()
/frameworks/av/media/libaudioclient/
DAudioEffect.cpp309 if (mCblk->clientIndex + size > EFFECT_PARAM_BUFFER_SIZE) { in setParameterDeferred()
312 int *p = (int *)(mCblk->buffer + mCblk->clientIndex); in setParameterDeferred()
315 mCblk->clientIndex += size; in setParameterDeferred()
327 if (mCblk->clientIndex == 0) { in setParameterCommit()
/frameworks/av/services/audioflinger/
DEffects.cpp1398 const uint32_t clientIndex = mCblk->clientIndex; in command() local
1400 if (clientIndex > EFFECT_PARAM_BUFFER_SIZE || in command()
1403 mCblk->clientIndex = 0; in command()
1408 for (uint32_t index = serverIndex; index < clientIndex;) { in command()
1413 || ((uint8_t *)p + size) > mBuffer + clientIndex) { in command()
1438 || clientIndex > mCblk->clientIndex) { in command()
1457 mCblk->clientIndex = 0; in command()
1512 mCblk ? mCblk->clientIndex : 0, in dumpToBuffer()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java3527 int clientIndex = mLruProcesses.lastIndexOf(client); in updateLruProcessLocked() local
3528 if (DEBUG_LRU && clientIndex < 0) Slog.d(TAG_LRU, "Unknown client " + client in updateLruProcessLocked()
3530 if (clientIndex <= lrui) { in updateLruProcessLocked()
3533 clientIndex = lrui; in updateLruProcessLocked()
3535 if (clientIndex >= 0 && index > clientIndex) { in updateLruProcessLocked()
3536 index = clientIndex; in updateLruProcessLocked()