Lines Matching refs:AudioState
22 import android.telecom.AudioState;
374 case AudioState.ROUTE_EARPIECE:
377 case AudioState.ROUTE_BLUETOOTH:
380 case AudioState.ROUTE_WIRED_HEADSET:
383 case AudioState.ROUTE_SPEAKER:
407 int mode = AudioState.ROUTE_WIRED_OR_EARPIECE;
411 mode = AudioState.ROUTE_SPEAKER;
417 mode = AudioState.ROUTE_WIRED_OR_EARPIECE;
420 mode = AudioState.ROUTE_BLUETOOTH;
449 AudioState.audioRouteToString(getPresenter().getSupportedAudio()));
451 if (isSupported(AudioState.ROUTE_BLUETOOTH)) {
481 final boolean bluetoothSupported = isSupported(AudioState.ROUTE_BLUETOOTH);
482 final boolean speakerSupported = isSupported(AudioState.ROUTE_SPEAKER);
504 if (isAudio(AudioState.ROUTE_BLUETOOTH)) {
506 } else if (isAudio(AudioState.ROUTE_SPEAKER)) {
522 audioButtonChecked = isAudio(AudioState.ROUTE_SPEAKER);
592 speakerItem.setEnabled(isSupported(AudioState.ROUTE_SPEAKER));
601 final boolean usingHeadset = isSupported(AudioState.ROUTE_WIRED_HEADSET);
611 bluetoothItem.setEnabled(isSupported(AudioState.ROUTE_BLUETOOTH));