/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetService.java | 533 public int getAudioState(BluetoothDevice device) { in getAudioState() method in HeadsetService.BluetoothHeadsetBinder 538 return service.getAudioState(device); in getAudioState() 946 return stateMachine.getAudioState() == BluetoothHeadset.STATE_AUDIO_CONNECTED; in isAudioConnected() 950 int getAudioState(BluetoothDevice device) { in getAudioState() method in HeadsetService 957 return stateMachine.getAudioState(); in getAudioState() 1065 if (getAudioState(mActiveDevice) != BluetoothHeadset.STATE_AUDIO_DISCONNECTED) { in setActiveDevice() 1089 if (getAudioState(previousActiveDevice) != BluetoothHeadset.STATE_AUDIO_DISCONNECTED) { in setActiveDevice() 1154 if (stateMachine.getAudioState() != BluetoothHeadset.STATE_AUDIO_DISCONNECTED) { in connectAudio() 1172 if (stateMachine.getAudioState() != BluetoothHeadset.STATE_AUDIO_DISCONNECTED) { in getNonIdleAudioDevices() 1207 if (stateMachine.getAudioState() == BluetoothHeadset.STATE_AUDIO_DISCONNECTED) { in disconnectAudio()
|
D | HeadsetStateMachine.java | 226 ProfileService.println(sb, " mAudioState: " + getAudioState()); in dump() 1428 public synchronized int getAudioState() { in getAudioState() method in HeadsetStateMachine 1615 if (getAudioState() == BluetoothHeadset.STATE_AUDIO_CONNECTED) { in processNoiseReductionEvent() 1877 if (getAudioState() == BluetoothHeadset.STATE_AUDIO_DISCONNECTED) { in processKeyPressed() 1885 } else if (getAudioState() != BluetoothHeadset.STATE_AUDIO_DISCONNECTED) { in processKeyPressed()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetServiceTest.java | 139 doReturn(BluetoothHeadset.STATE_AUDIO_DISCONNECTED).when(stateMachine).getAudioState(); in setUp() 185 mHeadsetService.getAudioState(mCurrentDevice)); in testGetHeadsetService() 434 when(mStateMachines.get(mCurrentDevice).getAudioState()).thenReturn( in testConnectAudio_withOneDevice() 445 when(mStateMachines.get(mCurrentDevice).getAudioState()).thenReturn( in testConnectAudio_withOneDevice() 505 when(mStateMachines.get(mCurrentDevice).getAudioState()).thenReturn( in testConnectAudio_withMultipleDevices() 513 when(mStateMachines.get(mCurrentDevice).getAudioState()).thenReturn( in testConnectAudio_withMultipleDevices() 519 when(mStateMachines.get(mCurrentDevice).getAudioState()).thenReturn( in testConnectAudio_withMultipleDevices() 583 when(mStateMachines.get(firstDevice).getAudioState()).thenReturn( in testConnectAudio_connectTwoAudioChannelsShouldFail() 592 when(mStateMachines.get(firstDevice).getAudioState()).thenReturn( in testConnectAudio_connectTwoAudioChannelsShouldFail()
|
D | HeadsetServiceAndStateMachineTest.java | 272 mHeadsetService.getAudioState(device)); in testGetHeadsetService()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | BluetoothHeadsetProxy.java | 60 public int getAudioState(BluetoothDevice device) { in getAudioState() method in BluetoothHeadsetProxy 61 return mBluetoothHeadset.getAudioState(device); in getAudioState()
|
D | InCallController.java | 1406 inCallService.onCallAudioStateChanged(mCallsManager.getAudioState()); in onConnected()
|
D | CallsManager.java | 1015 public CallAudioState getAudioState() { in getAudioState() method in CallsManager
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientService.java | 296 public int getAudioState(BluetoothDevice device) { in getAudioState() method in HeadsetClientService.BluetoothHeadsetClientBinder 301 return service.getAudioState(device); in getAudioState() 585 int getAudioState(BluetoothDevice device) { in getAudioState() method in HeadsetClientService 592 return sm.getAudioState(device); in getAudioState() 898 int audioState = entry.getValue().getAudioState(entry.getKey()); in isScoRouted()
|
D | HeadsetClientStateMachine.java | 1875 synchronized int getAudioState(BluetoothDevice device) { in getAudioState() method in HeadsetClientStateMachine
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | ReturnToCallActionReceiver.java | 79 CallAudioState audioState = AudioModeProvider.getInstance().getAudioState(); in toggleSpeaker() 118 boolean shouldMute = !AudioModeProvider.getInstance().getAudioState().isMuted(); in toggleMute()
|
D | CallButtonPresenter.java | 177 return AudioModeProvider.getInstance().getAudioState(); in getCurrentAudioState() 286 previousMuteState = AudioModeProvider.getInstance().getAudioState().isMuted(); in addCallClicked() 548 && AudioModeProvider.getInstance().getAudioState().isMuted() != previousMuteState) { in refreshMuteState()
|
D | AudioRouteSelectorActivity.java | 41 AudioRouteSelectorDialogFragment.newInstance(AudioModeProvider.getInstance().getAudioState()) in onCreate()
|
D | ProximitySensor.java | 218 final int audioRoute = audioModeProvider.getAudioState().getRoute(); in updateProximitySensorMode()
|
D | ReturnToCallController.java | 102 audioState = AudioModeProvider.getInstance().getAudioState(); in ReturnToCallController()
|
D | InCallActivity.java | 292 return AudioModeProvider.getInstance().getAudioState().getRoute(); in getAudioRoute() 740 .mute(!AudioModeProvider.getInstance().getAudioState().isMuted()); in onKeyDown()
|
D | StatusBarNotifier.java | 279 final CallAudioState callAudioState = AudioModeProvider.getInstance().getAudioState(); in buildAndSendNotification()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | BluetoothRouteManagerTest.java | 121 when(mHeadsetProxy.getAudioState(DEVICE1)) in testAudioOnDeviceWithScoOffActiveDevice() 183 when(mHeadsetProxy.getAudioState(hfpActiveDevice)) in setupConnectedDevices()
|
D | BasicCallTests.java | 1129 assertTrue(mTelecomSystem.getCallsManager().getAudioState().isMuted()); in testUnmuteDuringEmergencyCall() 1139 assertFalse(mTelecomSystem.getCallsManager().getAudioState().isMuted()); in testUnmuteDuringEmergencyCall() 1146 assertFalse(mTelecomSystem.getCallsManager().getAudioState().isMuted()); in testUnmuteDuringEmergencyCall()
|
D | BluetoothRouteTransitionTests.java | 344 when(mHeadsetProxy.getAudioState(audioOnDevice)) in setupConnectedDevices()
|
D | InCallControllerTests.java | 371 when(mMockCallsManager.getAudioState()).thenReturn(null); in testBindToService_DefaultDialer_FallBackToSystem()
|
/packages/apps/Dialer/java/com/android/incallui/audiomode/ |
D | AudioModeProvider.java | 64 public CallAudioState getAudioState() { in getAudioState() method in AudioModeProvider
|
/packages/apps/Dialer/java/com/android/incallui/callpending/ |
D | CallPendingActivity.java | 275 return AudioModeProvider.getInstance().getAudioState(); in newInCallButtonUiDelegate()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/ |
D | UiCallManager.java | 235 int audioState = mBluetoothHeadsetClient.getAudioState(device); in getAudioRoute()
|
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/ |
D | BluetoothRouteManager.java | 708 if (bluetoothHeadset.getAudioState(hfpAudioOnDevice)
|
/packages/apps/Dialer/java/com/android/incallui/call/ |
D | DialerCall.java | 1587 CallAudioState audioState = AudioModeProvider.getInstance().getAudioState(); in onUpgradedToVideo()
|