Home
last modified time | relevance | path

Searched refs:getAudioManager (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetService.java1156 AudioManager am = mSystemInterface.getAudioManager(); in startVoiceRecognition()
1217 mSystemInterface.getAudioManager().clearCommunicationDevice(); in stopVoiceRecognition()
1461 .getAudioManager() in setActiveDevice()
1481 .getAudioManager() in setActiveDevice()
1512 .getAudioManager() in setActiveDevice()
2007 mSystemInterface.getAudioManager().setA2dpSuspended(true); in phoneStateChanged()
2009 mSystemInterface.getAudioManager().setLeAudioSuspended(true); in phoneStateChanged()
2043 mSystemInterface.getAudioManager().setA2dpSuspended(false); in phoneStateChanged()
2045 mSystemInterface.getAudioManager().setLeAudioSuspended(false); in phoneStateChanged()
2388 mSystemInterface.getAudioManager().setA2dpSuspended(false); in onAudioStateChangedFromStateMachine()
[all …]
DHeadsetStateMachine.java1314 mSystemInterface.getAudioManager().setA2dpSuspended(true); in processMessage()
1316 mSystemInterface.getAudioManager().setLeAudioSuspended(true); in processMessage()
1335 mSystemInterface.getAudioManager().setA2dpSuspended(false); in processMessage()
1337 mSystemInterface.getAudioManager().setLeAudioSuspended(false); in processMessage()
1537 .getAudioManager() in enter()
1548 mSystemInterface.getAudioManager().clearAudioServerStateCallback(); in exit()
1862 AudioManager am = mSystemInterface.getAudioManager(); in setAudioParameters()
1995 .getAudioManager() in processVolumeEvent()
1999 .getAudioManager() in processVolumeEvent()
DHeadsetSystemInterface.java84 public AudioManager getAudioManager() { in getAudioManager() method in HeadsetSystemInterface
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/
DAdvancedVolumeFragment.java86 mAudioManager = getAudioManager(); in onAttach()
204 AudioManager getAudioManager() { in getAudioManager() method in AdvancedVolumeFragment
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/display/displaysound/
DAdvancedVolumeState.java96 mAudioManager = getAudioManager(); in onAttach()
231 AudioManager getAudioManager() { in getAudioManager() method in AdvancedVolumeState
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/
DAdvancedVolumeFragmentTest.java366 doReturn(mAudioManager).when(fragment).getAudioManager(); in createAdvancedVolumeFragmentWithAudioManagerReturning()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallsManagerTest.java3399 mComponentContextFixture.getAudioManager().setStreamVolume(AudioManager.STREAM_VOICE_CALL, in testSetCallDialingAndDontIncreaseVolume()
3406 verify(mComponentContextFixture.getAudioManager(), times(1)).setStreamVolume( in testSetCallDialingAndDontIncreaseVolume()
3413 mComponentContextFixture.getAudioManager().setStreamVolume(AudioManager.STREAM_VOICE_CALL, in testSetCallDialingAndIncreaseVolume()
3420 verify(mComponentContextFixture.getAudioManager(), times(2)).setStreamVolume( in testSetCallDialingAndIncreaseVolume()
3428 mComponentContextFixture.getAudioManager().setStreamVolume(AudioManager.STREAM_VOICE_CALL, in testSetCallActiveAndDontIncreaseVolume()
3435 verify(mComponentContextFixture.getAudioManager(), times(1)).setStreamVolume( in testSetCallActiveAndDontIncreaseVolume()
DComponentContextFixture.java858 public AudioManager getAudioManager() {
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetStateMachineTest.java117 doReturn(mAudioManager).when(mSystemInterface).getAudioManager(); in setUp()
1818 when(mSystemInterface.getAudioManager()).thenReturn(mockAudioManager); in testProcessVolumeEvent_withVolumeTypeSpk()
DHeadsetServiceTest.java141 when(mSystemInterface.getAudioManager()).thenReturn(mAudioManager); in setUp()
DHeadsetServiceAndStateMachineTest.java155 doReturn(mAudioManager).when(mSystemInterface).getAudioManager(); in setUp()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DHeadsetClientService.java1316 protected AudioManager getAudioManager() { in getAudioManager() method in HeadsetClientService
DHeadsetClientStateMachine.java889 mAudioManager = mService.getAudioManager(); in HeadsetClientStateMachine()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachineTest.java124 when(mHeadsetClientService.getAudioManager()).thenReturn(mAudioManager); in setUp()