/packages/modules/Bluetooth/system/gd/rust/topshim/hfp/ |
D | hfp_shim.cc | 36 static void connection_state_cb(bluetooth::headset::bthf_connection_state_t state, in connection_state_cb() 41 static void audio_state_cb(bluetooth::headset::bthf_audio_state_t state, RawAddress* addr) { in audio_state_cb() 75 static void call_hold_cb(bluetooth::headset::bthf_chld_type_t chld, RawAddress* addr) { in call_hold_cb() 78 case bluetooth::headset::BTHF_CHLD_TYPE_RELEASEHELD: in call_hold_cb() 81 case bluetooth::headset::BTHF_CHLD_TYPE_RELEASEACTIVE_ACCEPTHELD: in call_hold_cb() 84 case bluetooth::headset::BTHF_CHLD_TYPE_HOLDACTIVE_ACCEPTHELD: in call_hold_cb() 87 case bluetooth::headset::BTHF_CHLD_TYPE_ADDHELDTOCONF: in call_hold_cb() 96 static headset::bthf_call_state_t from_rust_call_state(rusty::CallState state) { in from_rust_call_state() 99 return headset::BTHF_CALL_STATE_IDLE; in from_rust_call_state() 101 return headset::BTHF_CALL_STATE_INCOMING; in from_rust_call_state() [all …]
|
D | hfp_shim.h | 36 HfpIntf(headset::Interface* intf) : intf_(intf) {} in HfpIntf() 57 headset::Interface* intf_;
|
/packages/modules/Bluetooth/system/include/hardware/ |
D | bt_hf.h | 22 namespace headset { 123 struct formatter<bluetooth::headset::bthf_connection_state_t> 124 : enum_formatter<bluetooth::headset::bthf_connection_state_t> {}; 126 struct formatter<bluetooth::headset::bthf_audio_state_t> 127 : enum_formatter<bluetooth::headset::bthf_audio_state_t> {}; 129 struct formatter<bluetooth::headset::bthf_call_addrtype_t> 130 : enum_formatter<bluetooth::headset::bthf_call_addrtype_t> {}; 132 struct formatter<bluetooth::headset::bthf_call_mode_t> 133 : enum_formatter<bluetooth::headset::bthf_call_mode_t> {}; 135 struct formatter<bluetooth::headset::bthf_call_state_t> [all …]
|
D | bluetooth_headset_callbacks.h | 23 namespace headset {
|
D | bluetooth_headset_interface.h | 25 namespace headset {
|
/packages/modules/Bluetooth/android/app/jni/ |
D | com_android_bluetooth_hfp.cpp | 61 static bluetooth::headset::Interface* sBluetoothHfpInterface = nullptr; 82 class JniHeadsetCallbacks : bluetooth::headset::Callbacks { 84 static bluetooth::headset::Callbacks* GetInstance() { in GetInstance() 85 static bluetooth::headset::Callbacks* instance = new JniHeadsetCallbacks(); in GetInstance() 89 void ConnectionStateCallback(bluetooth::headset::bthf_connection_state_t state, in ConnectionStateCallback() 108 void AudioStateCallback(bluetooth::headset::bthf_audio_state_t state, in AudioStateCallback() 127 void VoiceRecognitionCallback(bluetooth::headset::bthf_vr_state_t state, in VoiceRecognitionCallback() 176 void VolumeControlCallback(bluetooth::headset::bthf_volume_type_t type, int volume, in VolumeControlCallback() 234 void NoiseReductionCallback(bluetooth::headset::bthf_nrec_t nrec, RawAddress* bd_addr) override { in NoiseReductionCallback() 247 nrec == bluetooth::headset::BTHF_NREC_START, addr.get()); in NoiseReductionCallback() [all …]
|
/packages/modules/Bluetooth/system/blueberry/tests/triangle/ |
D | connection_switching_test.py | 21 self.headset.power_on() 29 self.phone.disconnect_bluetooth(self.headset.mac_address) 30 self.watch.connect_bluetooth(self.headset.mac_address) 46 self.headset.power_off() 49 self.headset.power_on()
|
/packages/modules/Bluetooth/system/bta/ag/ |
D | bta_ag_swb_aptx.cc | 63 bool get_swb_codec_status(bluetooth::headset::bthf_swb_codec_t swb_codec, RawAddress* bd_addr) { in get_swb_codec_status() 66 case bluetooth::headset::BTHF_SWB_CODEC_LC3: in get_swb_codec_status() 70 case bluetooth::headset::BTHF_SWB_CODEC_VENDOR_APTX: in get_swb_codec_status() 94 if (!get_swb_codec_status(bluetooth::headset::BTHF_SWB_CODEC_VENDOR_APTX, in bta_ag_swb_handle_vs_at_events()
|
D | bta_ag_sco.cc | 679 (get_swb_codec_status(bluetooth::headset::BTHF_SWB_CODEC_VENDOR_APTX, in bta_ag_codec_negotiate() 693 if (get_swb_codec_status(bluetooth::headset::BTHF_SWB_CODEC_VENDOR_APTX, &p_scb->peer_addr) && in bta_ag_codec_negotiate()
|
D | bta_ag_cmd.cc | 1996 if (!get_swb_codec_status(bluetooth::headset::BTHF_SWB_CODEC_VENDOR_APTX, &p_scb->peer_addr)) { in bta_ag_send_qac()
|
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/ |
D | hfp_client_interface_aidl.cc | 131 bool is_call_idle = bluetooth::headset::IsCallIdle(); in StartRequest() 132 bool is_during_vr = bluetooth::headset::IsDuringVoiceRecognition(&(cb->peer_addr)); in StartRequest() 141 auto status = bluetooth::headset::GetInterface()->ConnectAudio(&cb->peer_addr, 0); in StartRequest() 168 auto status = bluetooth::headset::GetInterface()->DisconnectAudio(&addr); in StopRequest() 195 auto instance = bluetooth::headset::GetInterface(); in SuspendRequest()
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_btif_hf.h | 51 std::function<bluetooth::headset::Interface*()> body{[]() { return nullptr; }}; 52 bluetooth::headset::Interface* operator()() { return body(); } in operator()
|
D | mock_btif_hf.cc | 47 namespace headset { namespace
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallAudioRouteStateMachineTest.java | 1187 AudioDeviceInfo headset = mock(AudioDeviceInfo.class); in testIgnoreImplicitBTSwitchWhenDeviceIsWatch() local 1188 when(headset.getType()).thenReturn(AudioDeviceInfo.TYPE_WIRED_HEADSET); in testIgnoreImplicitBTSwitchWhenDeviceIsWatch() 1189 when(headset.getAddress()).thenReturn(""); in testIgnoreImplicitBTSwitchWhenDeviceIsWatch() 1191 devices.add(headset); in testIgnoreImplicitBTSwitchWhenDeviceIsWatch() 1195 when(mockAudioManager.setCommunicationDevice(eq(headset))) in testIgnoreImplicitBTSwitchWhenDeviceIsWatch() 1197 when(mockAudioManager.getCommunicationDevice()).thenReturn(headset); in testIgnoreImplicitBTSwitchWhenDeviceIsWatch() 1393 AudioDeviceInfo headset = mock(AudioDeviceInfo.class); in verifySetAndClearHeadsetCommunicationDevice() local 1394 when(headset.getType()).thenReturn(audioType); in verifySetAndClearHeadsetCommunicationDevice() 1395 when(headset.getAddress()).thenReturn(""); in verifySetAndClearHeadsetCommunicationDevice() 1397 devices.add(headset); in verifySetAndClearHeadsetCommunicationDevice() [all …]
|
/packages/modules/Bluetooth/system/btif/include/ |
D | btif_hf.h | 25 namespace headset {
|
/packages/modules/Bluetooth/system/bta/include/ |
D | bta_ag_swb_aptx.h | 40 bool get_swb_codec_status(bluetooth::headset::bthf_swb_codec_t swb_codec, RawAddress* bd_addr);
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_a2dp.cc | 59 if (!bluetooth::headset::IsCallIdle()) { in btif_a2dp_on_started()
|
D | bluetooth.cc | 255 bluetooth::headset::ExecuteService(enable); in toggleProfile() 924 return bluetooth::headset::GetInterface(); in get_profile_interface()
|
D | btif_a2dp_source.cc | 341 if (!bluetooth::headset::IsCallIdle()) { in StartStream()
|
D | btif_hf.cc | 83 namespace bluetooth::headset { namespace
|
/packages/modules/Bluetooth/flags/ |
D | hfp.aconfig | 89 description: "Cleanup SCO SM if headset disconnected during opening."
|
/packages/modules/Bluetooth/system/audio_hal_interface/ |
D | a2dp_encoding_host.cc | 145 if (!bluetooth::headset::IsCallIdle()) { in StartRequest()
|
/packages/modules/Bluetooth/system/bta/test/ |
D | bta_ag_test.cc | 134 ASSERT_TRUE(get_swb_codec_status(bluetooth::headset::BTHF_SWB_CODEC_VENDOR_APTX, &addr)); in TEST_F()
|
/packages/modules/Bluetooth/system/gd/metrics/chromeos/ |
D | metrics_event.cc | 63 typedef headset::bthf_connection_state_t BthfConnectionState;
|
/packages/modules/Bluetooth/framework/api/ |
D | current.txt | 824 …blic static final String ACTION_AUDIO_STATE_CHANGED = "android.bluetooth.headset.profile.action.AU… 825 …static final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.headset.profile.action.CO… 826 …c final String ACTION_VENDOR_SPECIFIC_HEADSET_EVENT = "android.bluetooth.headset.action.VENDOR_SPE… 832 …nal String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_ARGS = "android.bluetooth.headset.extra.VENDOR_SPEC… 833 …inal String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD = "android.bluetooth.headset.extra.VENDOR_SPEC… 834 …String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD_TYPE = "android.bluetooth.headset.extra.VENDOR_SPEC… 839 …g VENDOR_SPECIFIC_HEADSET_EVENT_COMPANY_ID_CATEGORY = "android.bluetooth.headset.intent.category.c…
|