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.java4159 int[] poolId = new int[SOUND_EFFECT_FILES.size()]; in onLoadSoundEffects() local
4161 poolId[fileIdx] = -1; in onLoadSoundEffects()
4175 if (poolId[SOUND_EFFECT_FILES_MAP[effect][0]] == -1) { in onLoadSoundEffects()
4184 poolId[SOUND_EFFECT_FILES_MAP[effect][0]] = sampleId; in onLoadSoundEffects()
4189 poolId[SOUND_EFFECT_FILES_MAP[effect][0]]; in onLoadSoundEffects()
4194 mSoundPoolCallBack.setSamples(poolId); in onLoadSoundEffects()
4242 int[] poolId = new int[SOUND_EFFECT_FILES.size()]; in onUnloadSoundEffects() local
4244 poolId[fileIdx] = 0; in onUnloadSoundEffects()
4251 if (poolId[SOUND_EFFECT_FILES_MAP[effect][0]] == 0) { in onUnloadSoundEffects()
4254 poolId[SOUND_EFFECT_FILES_MAP[effect][0]] = -1; in onUnloadSoundEffects()