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/libmedia/
DAudioEffect.cpp304 if (mCblk->clientIndex + size > EFFECT_PARAM_BUFFER_SIZE) { in setParameterDeferred()
307 int *p = (int *)(mCblk->buffer + mCblk->clientIndex); in setParameterDeferred()
310 mCblk->clientIndex += size; in setParameterDeferred()
322 if (mCblk->clientIndex == 0) { in setParameterCommit()
/frameworks/av/services/audioflinger/
DEffects.cpp1228 if (mCblk->clientIndex > EFFECT_PARAM_BUFFER_SIZE || in command()
1231 mCblk->clientIndex = 0; in command()
1235 while (mCblk->serverIndex < mCblk->clientIndex) { in command()
1240 if (((uint8_t *)p + size) > mBuffer + mCblk->clientIndex) { in command()
1270 mCblk->clientIndex = 0; in command()
1331 mCblk ? mCblk->clientIndex : 0, in dumpToBuffer()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java2944 int clientIndex = mLruProcesses.lastIndexOf(client); in updateLruProcessLocked() local
2945 if (DEBUG_LRU && clientIndex < 0) Slog.d(TAG_LRU, "Unknown client " + client in updateLruProcessLocked()
2947 if (clientIndex <= lrui) { in updateLruProcessLocked()
2950 clientIndex = lrui; in updateLruProcessLocked()
2952 if (clientIndex >= 0 && index > clientIndex) { in updateLruProcessLocked()
2953 index = clientIndex; in updateLruProcessLocked()