Home
last modified time | relevance | path

Searched refs:isSpeakerphoneOn (Results 1 – 8 of 8) 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.java150 when(mockAudioManager.isSpeakerphoneOn()).thenReturn(true); in testSpeakerPersistence()
155 when(mockAudioManager.isSpeakerphoneOn()).thenReturn((Boolean) args[0]); in testSpeakerPersistence()
195 when(mockAudioManager.isSpeakerphoneOn()).thenReturn(true); in testUserBluetoothSwitchOff()
313 when(mockAudioManager.isSpeakerphoneOn()).thenReturn(false); in testBluetoothRinging()
346 when(mockAudioManager.isSpeakerphoneOn()).thenReturn(false); in testConnectBluetoothDuringRinging()
400 when(mockAudioManager.isSpeakerphoneOn()).thenReturn(false); in testConnectSpecificBluetoothDevice()
450 when(mockAudioManager.isSpeakerphoneOn()).thenReturn(false); in testFocusChangeWithAlreadyActiveBtDevice()
DNewOutgoingCallIntentBroadcasterTest.java274 boolean isSpeakerphoneOn = true; in emergencyCallTestHelper()
277 intent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_SPEAKERPHONE, isSpeakerphoneOn); in emergencyCallTestHelper()
283 eq(isSpeakerphoneOn), eq(videoState)); in emergencyCallTestHelper()
404 boolean isSpeakerphoneOn = true;
405 intent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_SPEAKERPHONE, isSpeakerphoneOn);
DCallAudioRouteTransitionTests.java209 when(mockAudioManager.isSpeakerphoneOn()).thenReturn( in setupMocksForParams()
341 when(mockAudioManager.isSpeakerphoneOn()).thenReturn( in testQuiescentTransition()
DComponentContextFixture.java383 public boolean isSpeakerphoneOn() {
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DVisualVoicemailCallLogFragment.java133 if (audioManager.isSpeakerphoneOn()) { in onPause()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DNewVoicemailMediaPlayerView.java507 if (audioManager.isSpeakerphoneOn()) {