Home
last modified time | relevance | path

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

/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DVirtualizerTest.java57 private static HashMap<Integer, Virtualizer> sInstances = new HashMap<Integer, Virtualizer>(10); field in VirtualizerTest
221 synchronized (sInstances) { in getEffect()
222 if (sInstances.containsKey(session)) { in getEffect()
223 mVirtualizer = sInstances.get(session); in getEffect()
236 sInstances.put(session, mVirtualizer); in getEffect()
261 synchronized (sInstances) { in putEffect()
267 sInstances.remove(session); in putEffect()
DBassBoostTest.java57 private static HashMap<Integer, BassBoost> sInstances = new HashMap<Integer, BassBoost>(10); field in BassBoostTest
225 synchronized (sInstances) { in getEffect()
226 if (sInstances.containsKey(session)) { in getEffect()
227 mBassBoost = sInstances.get(session); in getEffect()
240 sInstances.put(session, mBassBoost); in getEffect()
265 synchronized (sInstances) { in putEffect()
271 sInstances.remove(session); in putEffect()
DVisualizerTest.java60 private static HashMap<Integer, Visualizer> sInstances = new HashMap<Integer, Visualizer>(10); field in VisualizerTest
252 synchronized (sInstances) { in getEffect()
253 if (sInstances.containsKey(session)) { in getEffect()
254 mVisualizer = sInstances.get(session); in getEffect()
264 sInstances.put(session, mVisualizer); in getEffect()
286 synchronized (sInstances) { in putEffect()
291 sInstances.remove(session); in putEffect()
DPresetReverbTest.java57 … private static HashMap<Integer, PresetReverb> sInstances = new HashMap<Integer, PresetReverb>(10); field in PresetReverbTest
250 synchronized (sInstances) { in getEffect()
251 if (sInstances.containsKey(session)) { in getEffect()
252 mPresetReverb = sInstances.get(session); in getEffect()
263 sInstances.put(session, mPresetReverb); in getEffect()
288 synchronized (sInstances) { in putEffect()
294 sInstances.remove(session); in putEffect()
DEqualizerTest.java59 private static HashMap<Integer, Equalizer> sInstances = new HashMap<Integer, Equalizer>(10); field in EqualizerTest
356 synchronized (sInstances) { in getEffect()
357 if (sInstances.containsKey(session)) { in getEffect()
358 mEqualizer = sInstances.get(session); in getEffect()
371 sInstances.put(session, mEqualizer); in getEffect()
397 synchronized (sInstances) { in putEffect()
403 sInstances.remove(session); in putEffect()
DEnvReverbTest.java55 …private static HashMap<Integer, EnvironmentalReverb> sInstances = new HashMap<Integer, Environment… field in EnvReverbTest
516 synchronized (sInstances) { in getEffect()
517 if (sInstances.containsKey(session)) { in getEffect()
518 mReverb = sInstances.get(session); in getEffect()
530 sInstances.put(session, mReverb); in getEffect()
558 synchronized (sInstances) { in putEffect()
564 sInstances.remove(session); in putEffect()