Home
last modified time | relevance | path

Searched refs:isSpeakerphoneOn (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailPlaybackPresenter.java137 private boolean isSpeakerphoneOn; field in VoicemailPlaybackPresenter
207 isSpeakerphoneOn = savedInstanceState.getBoolean(IS_SPEAKERPHONE_ON_KEY, false); in init()
209 audioManager.setSpeakerphoneOn(isSpeakerphoneOn); in init()
252 outState.putBoolean(IS_SPEAKERPHONE_ON_KEY, isSpeakerphoneOn); in onSaveInstanceState()
266 this.view.onSpeakerphoneOn(isSpeakerphoneOn); in setPlaybackView()
677 setSpeakerphoneOn(isSpeakerphoneOn); in resumePlayback()
678 voicemailAudioManager.setSpeakerphoneOn(isSpeakerphoneOn); in resumePlayback()
751 || isSpeakerphoneOn in enableProximitySensor()
787 voicemailAudioManager.setSpeakerphoneOn(!isSpeakerphoneOn); in toggleSpeakerphone()
788 setSpeakerphoneOn(!isSpeakerphoneOn); in toggleSpeakerphone()
[all …]
DVoicemailAudioManager.java248 if (audioManager.isSpeakerphoneOn() != on) { in turnOnSpeaker()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteStateMachineTest.java167 when(mockAudioManager.isSpeakerphoneOn()).thenReturn(true); in testSpeakerPersistence()
172 when(mockAudioManager.isSpeakerphoneOn()).thenReturn((Boolean) args[0]); in testSpeakerPersistence()
213 when(mockAudioManager.isSpeakerphoneOn()).thenReturn(true); in testUserBluetoothSwitchOff()
333 when(mockAudioManager.isSpeakerphoneOn()).thenReturn(false); in testBluetoothRinging()
367 when(mockAudioManager.isSpeakerphoneOn()).thenReturn(false); in testConnectBluetoothDuringRinging()
422 when(mockAudioManager.isSpeakerphoneOn()).thenReturn(false); in testConnectSpecificBluetoothDevice()
473 when(mockAudioManager.isSpeakerphoneOn()).thenReturn(false); in testFocusChangeWithAlreadyActiveBtDevice()
DNewOutgoingCallIntentBroadcasterTest.java305 boolean isSpeakerphoneOn = true; in emergencyCallTestHelper()
308 intent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_SPEAKERPHONE, isSpeakerphoneOn); in emergencyCallTestHelper()
317 eq(isSpeakerphoneOn), eq(videoState)); in emergencyCallTestHelper()
450 boolean isSpeakerphoneOn = true;
451 intent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_SPEAKERPHONE, isSpeakerphoneOn);
DCallAudioRouteTransitionTests.java232 when(mockAudioManager.isSpeakerphoneOn()).thenReturn(speakerphoneOn); in setupMocksForParams()
366 when(mockAudioManager.isSpeakerphoneOn()).thenReturn( in testQuiescentTransition()
DComponentContextFixture.java398 public boolean isSpeakerphoneOn() {
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DVisualVoicemailCallLogFragment.java133 if (audioManager.isSpeakerphoneOn()) { in onPause()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioRouteStateMachine.java1345 if (mAudioManager.isSpeakerphoneOn()) {
1599 if (mAudioManager.isSpeakerphoneOn() != on) { in setSpeakerphoneOn()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DNewVoicemailMediaPlayerView.java507 if (audioManager.isSpeakerphoneOn()) {