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.cpp299 if (mCblk->clientIndex + size > EFFECT_PARAM_BUFFER_SIZE) { in setParameterDeferred()
302 int *p = (int *)(mCblk->buffer + mCblk->clientIndex); in setParameterDeferred()
305 mCblk->clientIndex += size; in setParameterDeferred()
317 if (mCblk->clientIndex == 0) { in setParameterCommit()
/frameworks/av/services/audioflinger/
DEffects.cpp1220 if (mCblk->clientIndex > EFFECT_PARAM_BUFFER_SIZE || in command()
1223 mCblk->clientIndex = 0; in command()
1227 while (mCblk->serverIndex < mCblk->clientIndex) { in command()
1232 if (((uint8_t *)p + size) > mBuffer + mCblk->clientIndex) { in command()
1262 mCblk->clientIndex = 0; in command()
1323 mCblk ? mCblk->clientIndex : 0, in dumpToBuffer()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java2647 int clientIndex = mLruProcesses.lastIndexOf(client); in updateLruProcessLocked() local
2648 if (DEBUG_LRU && clientIndex < 0) Slog.d(TAG, "Unknown client " + client in updateLruProcessLocked()
2650 if (clientIndex <= lrui) { in updateLruProcessLocked()
2653 clientIndex = lrui; in updateLruProcessLocked()
2655 if (clientIndex >= 0 && index > clientIndex) { in updateLruProcessLocked()
2656 index = clientIndex; in updateLruProcessLocked()