Lines Matching refs:audioSession

165             int audioSession) {  in initEffectsPreferences()  argument
170 if (audioSession == AUDIO_SESSION_ID_UNSPECIFIED) { in initEffectsPreferences()
173 audioSession = mPackageSessions.get(packageName); in initEffectsPreferences()
174 Log.i(TAG, "Using the stored session " + audioSession); in initEffectsPreferences()
181 final ControlMode controlMode = getControlMode(audioSession); in initEffectsPreferences()
194 final Virtualizer virt = new Virtualizer(0, audioSession); in initEffectsPreferences()
358 public static ControlMode getControlMode(final int audioSession) { in getControlMode() argument
359 if (audioSession == AUDIO_SESSION_ID_UNSPECIFIED) { in getControlMode()
976 final int audioSession) { in openSession() argument
977 Log.v(TAG, "openSession(" + context + ", " + packageName + ", " + audioSession + ")"); in openSession()
990 boolean isExistingAudioSession = storedAudioSession == audioSession; in openSession()
1000 mPackageSessions.put(packageName, audioSession); in openSession()
1015 final Virtualizer virtualizerEffect = getVirtualizerEffect(audioSession); in openSession()
1061 final BassBoost bassBoostEffect = getBassBoostEffect(audioSession); in openSession()
1099 final Equalizer equalizerEffect = getEqualizerEffect(audioSession); in openSession()
1301 final int audioSession, final boolean enabled) { in setEnabledAll() argument
1302 initEffectsPreferences(context, packageName, audioSession); in setEnabledAll()
1314 private static Virtualizer getVirtualizerEffectNoCreate(final int audioSession) { in getVirtualizerEffectNoCreate() argument
1315 return mVirtualizerInstances.get(audioSession); in getVirtualizerEffectNoCreate()
1317 private static Virtualizer getVirtualizerEffect(final int audioSession) { in getVirtualizerEffect() argument
1318 Virtualizer virtualizerEffect = getVirtualizerEffectNoCreate(audioSession); in getVirtualizerEffect()
1321 final Virtualizer newVirtualizerEffect = new Virtualizer(PRIORITY, audioSession); in getVirtualizerEffect()
1322 virtualizerEffect = mVirtualizerInstances.putIfAbsent(audioSession, in getVirtualizerEffect()
1347 private static BassBoost getBassBoostEffectNoCreate(final int audioSession) { in getBassBoostEffectNoCreate() argument
1348 return mBassBoostInstances.get(audioSession); in getBassBoostEffectNoCreate()
1350 private static BassBoost getBassBoostEffect(final int audioSession) { in getBassBoostEffect() argument
1352 BassBoost bassBoostEffect = getBassBoostEffectNoCreate(audioSession); in getBassBoostEffect()
1355 final BassBoost newBassBoostEffect = new BassBoost(PRIORITY, audioSession); in getBassBoostEffect()
1356 bassBoostEffect = mBassBoostInstances.putIfAbsent(audioSession, newBassBoostEffect); in getBassBoostEffect()
1380 private static Equalizer getEqualizerEffectNoCreate(final int audioSession) { in getEqualizerEffectNoCreate() argument
1381 return mEQInstances.get(audioSession); in getEqualizerEffectNoCreate()
1383 private static Equalizer getEqualizerEffect(final int audioSession) { in getEqualizerEffect() argument
1384 Equalizer equalizerEffect = getEqualizerEffectNoCreate(audioSession); in getEqualizerEffect()
1387 final Equalizer newEqualizerEffect = new Equalizer(PRIORITY, audioSession); in getEqualizerEffect()
1388 equalizerEffect = mEQInstances.putIfAbsent(audioSession, newEqualizerEffect); in getEqualizerEffect()