/packages/apps/Dialer/java/com/android/incallui/rtt/impl/ |
D | AudioSelectMenu.java | 57 CallAudioState audioState = inCallButtonUiDelegate.getCurrentAudioState(); in AudioSelectMenu() local 62 initItem(bluetoothButton, CallAudioState.ROUTE_BLUETOOTH, audioState); in AudioSelectMenu() 63 initItem(speakerButton, CallAudioState.ROUTE_SPEAKER, audioState); in AudioSelectMenu() 64 initItem(headsetButton, CallAudioState.ROUTE_WIRED_HEADSET, audioState); in AudioSelectMenu() 65 initItem(earpieceButton, CallAudioState.ROUTE_EARPIECE, audioState); in AudioSelectMenu() 68 private void initItem(RttCheckableButton item, final int itemRoute, CallAudioState audioState) { in initItem() argument 69 if ((audioState.getSupportedRouteMask() & itemRoute) == 0) { in initItem() 71 } else if (audioState.getRoute() == itemRoute) { in initItem() 80 void setAudioState(CallAudioState audioState) { in setAudioState() argument 81 bluetoothButton.setChecked(audioState.getRoute() == CallAudioState.ROUTE_BLUETOOTH); in setAudioState() [all …]
|
D | RttChatFragment.java | 561 public void setAudioState(CallAudioState audioState) { in setAudioState() argument 562 LogUtil.i("RttChatFragment.setAudioState", "audioState: " + audioState); in setAudioState() 563 overflowMenu.setMuteButtonChecked(audioState.isMuted()); in setAudioState() 564 overflowMenu.setAudioState(audioState); in setAudioState() 566 audioSelectMenu.setAudioState(audioState); in setAudioState()
|
D | RttOverflowMenu.java | 88 void setAudioState(CallAudioState audioState) { in setAudioState() argument 89 SpeakerButtonInfo info = new SpeakerButtonInfo(audioState); in setAudioState()
|
/packages/apps/Dialer/java/com/android/incallui/audiomode/ |
D | AudioModeProvider.java | 37 private CallAudioState audioState = field in AudioModeProvider 44 public void onAudioStateChanged(CallAudioState audioState) { in onAudioStateChanged() argument 45 if (!this.audioState.equals(audioState)) { in onAudioStateChanged() 46 this.audioState = audioState; in onAudioStateChanged() 48 listener.onAudioStateChanged(audioState); in onAudioStateChanged() 56 listener.onAudioStateChanged(audioState); in addListener() 65 return audioState; in getAudioState() 112 void onAudioStateChanged(CallAudioState audioState); in onAudioStateChanged() argument
|
/packages/apps/Dialer/java/com/android/incallui/audioroute/ |
D | AudioRouteSelectorDialogFragment.java | 63 public static AudioRouteSelectorDialogFragment newInstance(CallAudioState audioState) { in newInstance() argument 66 args.putParcelable(ARG_AUDIO_STATE, audioState); in newInstance() 99 CallAudioState audioState = getArguments().getParcelable(ARG_AUDIO_STATE); in onCreateView() local 103 Collection<BluetoothDevice> bluetoothDeviceSet = audioState.getSupportedBluetoothDevices(); in onCreateView() 106 (audioState.getRoute() == CallAudioState.ROUTE_BLUETOOTH) in onCreateView() 108 || device.equals(audioState.getActiveBluetoothDevice())); in onCreateView() 120 audioState, in onCreateView() 128 audioState, in onCreateView() local 133 audioState, in onCreateView() local 138 audioState, in onCreateView() local [all …]
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/ |
D | UiCallManager.java | 163 CallAudioState audioState = mInCallService.getCallAudioState(); in getMuted() local 164 return audioState != null && audioState.isMuted(); in getMuted() 178 CallAudioState audioState = getCallAudioStateOrNull(); in getSupportedAudioRouteMask() local 179 return audioState != null ? audioState.getSupportedRouteMask() : 0; in getSupportedAudioRouteMask() 232 int audioState = mBluetoothHeadsetClient.getAudioState(device); in getAudioRoute() local 234 if (audioState == BluetoothHeadsetClient.STATE_AUDIO_CONNECTED) { in getAudioRoute() 240 CallAudioState audioState = getCallAudioStateOrNull(); in getAudioRoute() local 241 int audioRoute = audioState != null ? audioState.getRoute() : 0; in getAudioRoute()
|
D | InCallServiceImpl.java | 115 public void onCallAudioStateChanged(CallAudioState audioState) { in onCallAudioStateChanged() argument 117 callback.onCallAudioStateChanged(audioState); in onCallAudioStateChanged()
|
/packages/apps/Dialer/java/com/android/incallui/video/impl/ |
D | SpeakerButtonController.java | 70 public void setAudioState(CallAudioState audioState) { in setAudioState() argument 71 LogUtil.i("SpeakerButtonController.setSupportedAudio", "audioState: " + audioState); in setAudioState() 74 if ((audioState.getSupportedRouteMask() & CallAudioState.ROUTE_BLUETOOTH) in setAudioState() 79 if ((audioState.getRoute() & CallAudioState.ROUTE_BLUETOOTH) in setAudioState() 83 } else if ((audioState.getRoute() & CallAudioState.ROUTE_SPEAKER) in setAudioState() 87 } else if ((audioState.getRoute() & CallAudioState.ROUTE_WIRED_HEADSET) in setAudioState() 97 isChecked = audioState.getRoute() == CallAudioState.ROUTE_SPEAKER; in setAudioState()
|
D | SurfaceViewVideoCallFragment.java | 792 public void setAudioState(CallAudioState audioState) { in setAudioState() argument 793 LogUtil.i("SurfaceViewVideoCallFragment.setAudioState", "audioState: " + audioState); in setAudioState() 794 speakerButtonController.setAudioState(audioState); in setAudioState() 795 muteButton.setChecked(audioState.isMuted()); in setAudioState()
|
D | VideoCallFragment.java | 904 public void setAudioState(CallAudioState audioState) { in setAudioState() argument 905 LogUtil.i("VideoCallFragment.setAudioState", "audioState: " + audioState); in setAudioState() 906 speakerButtonController.setAudioState(audioState); in setAudioState() 907 muteButton.setChecked(audioState.isMuted()); in setAudioState()
|
/packages/apps/Dialer/java/com/android/incallui/speakerbuttonlogic/ |
D | SpeakerButtonInfo.java | 45 public SpeakerButtonInfo(CallAudioState audioState) { in SpeakerButtonInfo() argument 46 if ((audioState.getSupportedRouteMask() & CallAudioState.ROUTE_BLUETOOTH) in SpeakerButtonInfo() 51 if ((audioState.getRoute() & CallAudioState.ROUTE_BLUETOOTH) in SpeakerButtonInfo() 56 } else if ((audioState.getRoute() & CallAudioState.ROUTE_SPEAKER) in SpeakerButtonInfo() 61 } else if ((audioState.getRoute() & CallAudioState.ROUTE_WIRED_HEADSET) in SpeakerButtonInfo() 73 isChecked = audioState.getRoute() == CallAudioState.ROUTE_SPEAKER; in SpeakerButtonInfo()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | ReturnToCallController.java | 72 private CallAudioState audioState; field in ReturnToCallController 102 audioState = AudioModeProvider.getInstance().getAudioState(); in ReturnToCallController() 252 public void onAudioStateChanged(CallAudioState audioState) { in onAudioStateChanged() argument 258 this.audioState = audioState; in onAudioStateChanged() 318 SpeakerButtonInfo speakerButtonInfo = new SpeakerButtonInfo(audioState); in generateActions() 333 .setChecked(audioState.isMuted()) in generateActions()
|
D | CallButtonPresenter.java | 176 public void onAudioStateChanged(CallAudioState audioState) { in onAudioStateChanged() argument 178 inCallButtonUi.setAudioState(audioState); in onAudioStateChanged() 199 CallAudioState audioState = getCurrentAudioState(); in toggleSpeakerphone() local 200 if (0 != (CallAudioState.ROUTE_BLUETOOTH & audioState.getSupportedRouteMask())) { in toggleSpeakerphone() 204 inCallButtonUi.setAudioState(audioState); in toggleSpeakerphone() 209 if (audioState.getRoute() == CallAudioState.ROUTE_SPEAKER) { in toggleSpeakerphone()
|
D | ReturnToCallActionReceiver.java | 79 CallAudioState audioState = AudioModeProvider.getInstance().getAudioState(); in toggleSpeaker() local 81 if ((audioState.getSupportedRouteMask() & CallAudioState.ROUTE_BLUETOOTH) in toggleSpeaker() 92 if (audioState.getRoute() == CallAudioState.ROUTE_SPEAKER) { in toggleSpeaker()
|
D | InCallServiceImpl.java | 52 public void onCallAudioStateChanged(CallAudioState audioState) { in onCallAudioStateChanged() argument 54 AudioModeProvider.getInstance().onAudioStateChanged(audioState); in onCallAudioStateChanged()
|
D | ProximitySensor.java | 133 public void onAudioStateChanged(CallAudioState audioState) { in onAudioStateChanged() argument
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | SelfManagedCallListAdapter.java | 173 CallAudioState audioState = connection.getCallAudioState(); in getView() local 175 if (audioState != null) { in getView() 176 switch (audioState.getRoute()) { in getView()
|
/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
D | InCallFragment.java | 462 public void setAudioState(CallAudioState audioState) { in setAudioState() argument 463 LogUtil.i("InCallFragment.setAudioState", "audioState: " + audioState); in setAudioState() 465 .setAudioState(audioState); in setAudioState() 466 getButtonController(InCallButtonIds.BUTTON_MUTE).setChecked(audioState.isMuted()); in setAudioState()
|
D | ButtonController.java | 380 public void setAudioState(CallAudioState audioState) { in setAudioState() argument 381 SpeakerButtonInfo info = new SpeakerButtonInfo(audioState); in setAudioState()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | InCallServiceFixture.java | 103 public void onCallAudioStateChanged(CallAudioState audioState) throws RemoteException { in onCallAudioStateChanged() argument 104 mCallAudioState = audioState; in onCallAudioStateChanged()
|
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/ |
D | InCallButtonUi.java | 38 void setAudioState(CallAudioState audioState); in setAudioState() argument
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientService.java | 984 int audioState = entry.getValue().getAudioState(entry.getKey()); in isScoRouted() local 985 if (audioState == BluetoothHeadsetClient.STATE_AUDIO_CONNECTED) { in isScoRouted() 987 Log.d(TAG, "Device " + entry.getKey() + " audio state " + audioState in isScoRouted()
|
D | HeadsetClientStateMachine.java | 1840 private static int getConnectionStateFromAudioState(int audioState) { in getConnectionStateFromAudioState() argument 1841 switch (audioState) { in getConnectionStateFromAudioState()
|
/packages/apps/Dialer/java/com/android/incallui/call/ |
D | DialerCall.java | 1594 CallAudioState audioState = AudioModeProvider.getInstance().getAudioState(); in onUpgradedToVideo() local 1596 if (0 != (CallAudioState.ROUTE_BLUETOOTH & audioState.getSupportedRouteMask())) { in onUpgradedToVideo() 1603 if (audioState.getRoute() == CallAudioState.ROUTE_SPEAKER) { in onUpgradedToVideo()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | ConnectionServiceWrapper.java | 1548 public void onCallAudioStateChanged(Call activeCall, CallAudioState audioState) { in onCallAudioStateChanged() argument 1552 logOutgoing("onCallAudioStateChanged %s %s", callId, audioState); in onCallAudioStateChanged() 1553 mServiceInterface.onCallAudioStateChanged(callId, audioState, in onCallAudioStateChanged()
|