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.cpp460 if (mCblk->clientIndex + size > EFFECT_PARAM_BUFFER_SIZE) { in setParameterDeferred()
463 int *p = (int *)(mCblk->buffer + mCblk->clientIndex); in setParameterDeferred()
466 mCblk->clientIndex += size; in setParameterDeferred()
481 if (mCblk->clientIndex == 0) { in setParameterCommit()
/frameworks/av/services/audioflinger/
DEffects.cpp2052 const uint32_t clientIndex = mCblk->clientIndex; in command() local
2054 if (clientIndex > EFFECT_PARAM_BUFFER_SIZE || in command()
2057 mCblk->clientIndex = 0; in command()
2062 for (uint32_t index = serverIndex; index < clientIndex;) { in command()
2067 || ((uint8_t *)p + size) > mBuffer + clientIndex) { in command()
2086 || clientIndex > mCblk->clientIndex) { in command()
2104 mCblk->clientIndex = 0; in command()
2162 mCblk ? mCblk->clientIndex : 0, in dumpToBuffer()
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java4019 int clientIndex = mLruProcesses.lastIndexOf(client);
4020 if (DEBUG_LRU && clientIndex < 0) Slog.d(TAG_LRU, "Unknown client " + client
4022 if (clientIndex <= lrui) {
4025 clientIndex = lrui;
4027 if (clientIndex >= 0 && index > clientIndex) {
4028 index = clientIndex;