Home
last modified time | relevance | path

Searched refs:audioSession (Results 1 – 7 of 7) sorted by relevance

/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/
DAudioSessionTest.java71 private AudioSession audioSession; field in AudioSessionTest
85 audioSession = new AudioSession(SESSION_ID, callback, in setUp()
87 audioListener = audioSession.getAudioListener(); in setUp()
88 handler = audioSession.getAudioSessionHandler(); in setUp()
128 audioSession.openSession(params); in testOpenSession()
136 audioSession.closeSession(); in testCloseSession()
146 audioSession.modifySession(config); in testModifySession()
176 audioSession.addConfig(config); in testAddConfig()
205 audioSession.deleteConfig(config); in testDeleteConfig()
214 audioSession.confirmConfig(config); in testConfirmConfig()
[all …]
DAudioOffloadTest.java75 private AudioSession audioSession; field in AudioOffloadTest
92 audioSession = new AudioSession(SESSION_ID, callback, null, null, offloadService, in setUp()
94 handler = audioSession.getAudioSessionHandler(); in setUp()
95 audioSession.setAudioOffload(true); in setUp()
96 offloadListener = audioSession.getOffloadListener(); in setUp()
97 audioSession.onOpenSessionSuccess(imsMediaSession); in setUp()
123 audioSession.openSession(params); in testOpenSession()
139 audioSession.closeSession(); in testCloseSession()
150 audioSession.modifySession(inputAudioConfig); in testModifySession()
191 audioSession.addConfig(inputAudioConfig); in testAddConfig()
[all …]
DAudioListenerTest.java70 AudioSession audioSession = new AudioSession(SESSION_ID, mMockIImsAudioSessionCallback, in setUp() local
72 AudioSession.AudioSessionHandler handler = audioSession.getAudioSessionHandler(); in setUp()
/packages/apps/MusicFX/src/com/android/musicfx/
DControlPanelEffect.java165 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()
[all …]
DControlPanelReceiver.java44 final int audioSession = intent.getIntExtra(AudioEffect.EXTRA_AUDIO_SESSION, in onReceive() local
49 Log.v(TAG, "Audio session: " + audioSession); in onReceive()
58 if (audioSession == ControlPanelEffect.AUDIO_SESSION_ID_UNSPECIFIED) { in onReceive()
72 ControlPanelEffect.openSession(context, packageName, audioSession); in onReceive()
DActivityMusic.java283 final int audioSession = intent.getIntExtra(AudioEffect.EXTRA_AUDIO_SESSION, in onCreate() local
285 Log.v(TAG, "audio session: " + audioSession); in onCreate()
298 Log.v(TAG, mCallingPackageName + " (" + audioSession + ")"); in onCreate()
300 ControlPanelEffect.initEffectsPreferences(mContext, mCallingPackageName, audioSession); in onCreate()
304 ControlPanelEffect.openSession(mContext, mCallingPackageName, audioSession); in onCreate()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/
DImsMediaController.java100 final AudioSession audioSession = in closeSession() local
102 audioSession.closeSession(); in closeSession()