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.java5367 int[] poolId = new int[SOUND_EFFECT_FILES.size()]; in onLoadSoundEffects() local
5369 poolId[fileIdx] = -1; in onLoadSoundEffects()
5383 if (poolId[SOUND_EFFECT_FILES_MAP[effect][0]] == -1) { in onLoadSoundEffects()
5390 poolId[SOUND_EFFECT_FILES_MAP[effect][0]] = sampleId; in onLoadSoundEffects()
5395 poolId[SOUND_EFFECT_FILES_MAP[effect][0]]; in onLoadSoundEffects()
5400 mSoundPoolCallBack.setSamples(poolId); in onLoadSoundEffects()
5448 int[] poolId = new int[SOUND_EFFECT_FILES.size()]; in onUnloadSoundEffects() local
5450 poolId[fileIdx] = 0; in onUnloadSoundEffects()
5457 if (poolId[SOUND_EFFECT_FILES_MAP[effect][0]] == 0) { in onUnloadSoundEffects()
5460 poolId[SOUND_EFFECT_FILES_MAP[effect][0]] = -1; in onUnloadSoundEffects()