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.java213 when(mockAudioManager.isSpeakerphoneOn()).thenReturn(true); in testSpeakerPersistence()
218 when(mockAudioManager.isSpeakerphoneOn()).thenReturn((Boolean) args[0]); in testSpeakerPersistence()
259 when(mockAudioManager.isSpeakerphoneOn()).thenReturn(true); in testUserBluetoothSwitchOff()
383 when(mockAudioManager.isSpeakerphoneOn()).thenReturn(false); in testBluetoothRinging()
417 when(mockAudioManager.isSpeakerphoneOn()).thenReturn(false); in testConnectBluetoothDuringRinging()
472 when(mockAudioManager.isSpeakerphoneOn()).thenReturn(false); in testConnectSpecificBluetoothDevice()
520 when(mockAudioManager.isSpeakerphoneOn()).thenReturn(false); in testFocusChangeFromQuiescentSpeaker()
554 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.java443 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()) {
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioRouteStateMachine.java1375 if (mAudioManager.isSpeakerphoneOn()) {