• Home
  • Raw
  • Download

Lines Matching refs:audioSession

158             final int audioSession) {  in initEffectsPreferences()  argument
162 final ControlMode controlMode = getControlMode(audioSession); in initEffectsPreferences()
175 final Virtualizer virt = new Virtualizer(0, audioSession); in initEffectsPreferences()
339 public static ControlMode getControlMode(final int audioSession) { in getControlMode() argument
340 if (audioSession == AudioEffect.ERROR_BAD_VALUE) { in getControlMode()
357 final int audioSession, final Key key, final boolean value) { in setParameterBoolean() argument
361 final ControlMode controlMode = getControlMode(audioSession); in setParameterBoolean()
370 final Virtualizer virtualizerEffect = getVirtualizerEffect(audioSession); in setParameterBoolean()
378 audioSession, Key.virt_strength, vIStrength); in setParameterBoolean()
380 final BassBoost bassBoostEffect = getBassBoostEffect(audioSession); in setParameterBoolean()
387 audioSession, Key.bb_strength, bBStrength); in setParameterBoolean()
389 final Equalizer equalizerEffect = getEqualizerEffect(audioSession); in setParameterBoolean()
394 packageName, audioSession, Key.eq_band_level); in setParameterBoolean()
399 audioSession, Key.eq_band_level, level, band); in setParameterBoolean()
418 … final Virtualizer virtualizerEffect = getVirtualizerEffectNoCreate(audioSession); in setParameterBoolean()
420 mVirtualizerInstances.remove(audioSession, virtualizerEffect); in setParameterBoolean()
424 final BassBoost bassBoostEffect = getBassBoostEffectNoCreate(audioSession); in setParameterBoolean()
426 mBassBoostInstances.remove(audioSession, bassBoostEffect); in setParameterBoolean()
430 final Equalizer equalizerEffect = getEqualizerEffectNoCreate(audioSession); in setParameterBoolean()
432 mEQInstances.remove(audioSession, equalizerEffect); in setParameterBoolean()
462 final Virtualizer virtualizerEffect = getVirtualizerEffect(audioSession); in setParameterBoolean()
471 final BassBoost bassBoostEffect = getBassBoostEffect(audioSession); in setParameterBoolean()
480 final Equalizer equalizerEffect = getEqualizerEffect(audioSession); in setParameterBoolean()
528 final int audioSession, final Key key) { in getParameterBoolean() argument
555 final int audioSession, final Key key, final int arg0, final int arg1) { in setParameterInt() argument
563 final ControlMode controlMode = getControlMode(audioSession); in setParameterInt()
572 final Virtualizer virtualizerEffect = getVirtualizerEffect(audioSession); in setParameterInt()
581 final BassBoost bassBoostEffect = getBassBoostEffect(audioSession); in setParameterInt()
595 final Equalizer equalizerEffect = getEqualizerEffect(audioSession); in setParameterInt()
605 final Equalizer equalizerEffect = getEqualizerEffect(audioSession); in setParameterInt()
776 final int audioSession, final Key key, final int arg) { in setParameterInt() argument
777 setParameterInt(context, packageName, audioSession, key, arg, UNUSED_ARGUMENT); in setParameterInt()
791 final int audioSession, final String key) { in getParameterInt() argument
816 final int audioSession, final Key key) { in getParameterInt() argument
817 return getParameterInt(context, packageName, audioSession, key.toString()); in getParameterInt()
833 final int audioSession, final Key key, final int arg) { in getParameterInt() argument
834 return getParameterInt(context, packageName, audioSession, key.toString() + arg); in getParameterInt()
851 final int audioSession, final Key key, final int arg0, final int arg1) { in getParameterInt() argument
852 return getParameterInt(context, packageName, audioSession, key.toString() + arg0 + "_" in getParameterInt()
867 final int audioSession, final Key key) { in getParameterIntArray() argument
919 final int audioSession, final String key) { in getParameterString() argument
946 final int audioSession, final Key key) { in getParameterString() argument
947 return getParameterString(context, packageName, audioSession, key.toString()); in getParameterString()
961 final int audioSession, final Key key, final int arg) { in getParameterString() argument
962 return getParameterString(context, packageName, audioSession, key.toString() + arg); in getParameterString()
975 final int audioSession) { in openSession() argument
976 Log.v(TAG, "openSession(" + context + ", " + packageName + ", " + audioSession + ")"); in openSession()
999 audioSession); in openSession()
1002 if (currentAudioSession == audioSession) { in openSession()
1023 final Virtualizer virtualizerEffect = getVirtualizerEffect(audioSession); in openSession()
1069 final BassBoost bassBoostEffect = getBassBoostEffect(audioSession); in openSession()
1107 final Equalizer equalizerEffect = getEqualizerEffect(audioSession); in openSession()
1270 final int audioSession) { in closeSession() argument
1271 Log.v(TAG, "closeSession(" + context + ", " + packageName + ", " + audioSession + ")"); in closeSession()
1274 final PresetReverb presetReverb = mPresetReverbInstances.remove(audioSession); in closeSession()
1279 final Equalizer equalizer = mEQInstances.remove(audioSession); in closeSession()
1284 final BassBoost bassBoost = mBassBoostInstances.remove(audioSession); in closeSession()
1289 final Virtualizer virtualizer = mVirtualizerInstances.remove(audioSession); in closeSession()
1309 final int audioSession, final boolean enabled) { in setEnabledAll() argument
1310 initEffectsPreferences(context, packageName, audioSession); in setEnabledAll()
1311 setParameterBoolean(context, packageName, audioSession, Key.global_enabled, enabled); in setEnabledAll()
1322 private static Virtualizer getVirtualizerEffectNoCreate(final int audioSession) { in getVirtualizerEffectNoCreate() argument
1323 return mVirtualizerInstances.get(audioSession); in getVirtualizerEffectNoCreate()
1325 private static Virtualizer getVirtualizerEffect(final int audioSession) { in getVirtualizerEffect() argument
1326 Virtualizer virtualizerEffect = getVirtualizerEffectNoCreate(audioSession); in getVirtualizerEffect()
1329 final Virtualizer newVirtualizerEffect = new Virtualizer(PRIORITY, audioSession); in getVirtualizerEffect()
1330 virtualizerEffect = mVirtualizerInstances.putIfAbsent(audioSession, in getVirtualizerEffect()
1355 private static BassBoost getBassBoostEffectNoCreate(final int audioSession) { in getBassBoostEffectNoCreate() argument
1356 return mBassBoostInstances.get(audioSession); in getBassBoostEffectNoCreate()
1358 private static BassBoost getBassBoostEffect(final int audioSession) { in getBassBoostEffect() argument
1360 BassBoost bassBoostEffect = getBassBoostEffectNoCreate(audioSession); in getBassBoostEffect()
1363 final BassBoost newBassBoostEffect = new BassBoost(PRIORITY, audioSession); in getBassBoostEffect()
1364 bassBoostEffect = mBassBoostInstances.putIfAbsent(audioSession, newBassBoostEffect); in getBassBoostEffect()
1388 private static Equalizer getEqualizerEffectNoCreate(final int audioSession) { in getEqualizerEffectNoCreate() argument
1389 return mEQInstances.get(audioSession); in getEqualizerEffectNoCreate()
1391 private static Equalizer getEqualizerEffect(final int audioSession) { in getEqualizerEffect() argument
1392 Equalizer equalizerEffect = getEqualizerEffectNoCreate(audioSession); in getEqualizerEffect()
1395 final Equalizer newEqualizerEffect = new Equalizer(PRIORITY, audioSession); in getEqualizerEffect()
1396 equalizerEffect = mEQInstances.putIfAbsent(audioSession, newEqualizerEffect); in getEqualizerEffect()