Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java4371 int[] poolId = new int[SOUND_EFFECT_FILES.size()]; in onLoadSoundEffects() local
4373 poolId[fileIdx] = -1; in onLoadSoundEffects()
4387 if (poolId[SOUND_EFFECT_FILES_MAP[effect][0]] == -1) { in onLoadSoundEffects()
4396 poolId[SOUND_EFFECT_FILES_MAP[effect][0]] = sampleId; in onLoadSoundEffects()
4401 poolId[SOUND_EFFECT_FILES_MAP[effect][0]]; in onLoadSoundEffects()
4406 mSoundPoolCallBack.setSamples(poolId); in onLoadSoundEffects()
4454 int[] poolId = new int[SOUND_EFFECT_FILES.size()]; in onUnloadSoundEffects() local
4456 poolId[fileIdx] = 0; in onUnloadSoundEffects()
4463 if (poolId[SOUND_EFFECT_FILES_MAP[effect][0]] == 0) { in onUnloadSoundEffects()
4466 poolId[SOUND_EFFECT_FILES_MAP[effect][0]] = -1; in onUnloadSoundEffects()