Home
last modified time | relevance | path

Searched refs:BluetoothAudioCtrlAck (Results 1 – 23 of 23) sorted by relevance

/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dhfp_client_interface_aidl.cc39 std::map<bt_status_t, BluetoothAudioCtrlAck> status_to_ack_map = {
40 {BT_STATUS_SUCCESS, BluetoothAudioCtrlAck::SUCCESS_FINISHED},
41 {BT_STATUS_DONE, BluetoothAudioCtrlAck::SUCCESS_FINISHED},
42 {BT_STATUS_FAIL, BluetoothAudioCtrlAck::FAILURE},
43 {BT_STATUS_NOT_READY, BluetoothAudioCtrlAck::FAILURE_BUSY},
44 {BT_STATUS_BUSY, BluetoothAudioCtrlAck::FAILURE_BUSY},
45 {BT_STATUS_UNSUPPORTED, BluetoothAudioCtrlAck::FAILURE_UNSUPPORTED},
76 BluetoothAudioCtrlAck HfpTransport::StartRequest() { in StartRequest()
79 return BluetoothAudioCtrlAck::PENDING; in StartRequest()
82 return BluetoothAudioCtrlAck::FAILURE_BUSY; in StartRequest()
[all …]
Daudio_ctrl_ack.h29 enum class BluetoothAudioCtrlAck : uint8_t { enum
39 std::ostream& operator<<(std::ostream& os, const BluetoothAudioCtrlAck& ack);
42 const BluetoothAudioCtrlAck& ack) { in BluetoothAudioCtrlAckToHalStatus()
44 case BluetoothAudioCtrlAck::SUCCESS_FINISHED: in BluetoothAudioCtrlAckToHalStatus()
46 case BluetoothAudioCtrlAck::FAILURE_UNSUPPORTED: in BluetoothAudioCtrlAckToHalStatus()
48 case BluetoothAudioCtrlAck::PENDING: in BluetoothAudioCtrlAckToHalStatus()
50 case BluetoothAudioCtrlAck::FAILURE_BUSY: in BluetoothAudioCtrlAckToHalStatus()
52 case BluetoothAudioCtrlAck::FAILURE_DISCONNECTING: in BluetoothAudioCtrlAckToHalStatus()
54 case BluetoothAudioCtrlAck::SUCCESS_RECONFIGURATION: in BluetoothAudioCtrlAckToHalStatus()
67 struct formatter<bluetooth::audio::aidl::BluetoothAudioCtrlAck>
Dle_audio_software_aidl.h36 using ::bluetooth::audio::aidl::BluetoothAudioCtrlAck;
74 BluetoothAudioCtrlAck StartRequest(bool is_low_latency);
75 BluetoothAudioCtrlAck StartRequestV2(bool is_low_latency);
77 BluetoothAudioCtrlAck SuspendRequest();
137 BluetoothAudioCtrlAck StartRequest(bool is_low_latency) override;
138 BluetoothAudioCtrlAck StartRequestV2(bool is_low_latency);
140 BluetoothAudioCtrlAck SuspendRequest() override;
197 BluetoothAudioCtrlAck StartRequest(bool is_low_latency) override;
198 BluetoothAudioCtrlAck StartRequestV2(bool is_low_latency);
200 BluetoothAudioCtrlAck SuspendRequest() override;
Dle_audio_software_aidl.cc47 using ::bluetooth::audio::aidl::BluetoothAudioCtrlAck;
84 BluetoothAudioCtrlAck LeAudioTransport::StartRequest(bool /*is_low_latency*/) { in StartRequest()
88 return BluetoothAudioCtrlAck::PENDING; in StartRequest()
97 return BluetoothAudioCtrlAck::SUCCESS_FINISHED; in StartRequest()
104 return BluetoothAudioCtrlAck::FAILURE; in StartRequest()
112 return BluetoothAudioCtrlAck::PENDING; in StartRequest()
120 return BluetoothAudioCtrlAck::FAILURE; in StartRequest()
123 BluetoothAudioCtrlAck LeAudioTransport::StartRequestV2( in StartRequestV2()
128 return BluetoothAudioCtrlAck::PENDING; in StartRequestV2()
139 return BluetoothAudioCtrlAck::SUCCESS_FINISHED; in StartRequestV2()
[all …]
Dhfp_client_interface_aidl.h51 BluetoothAudioCtrlAck StartRequest();
53 BluetoothAudioCtrlAck SuspendRequest();
90 BluetoothAudioCtrlAck StartRequest(bool is_low_latency);
92 BluetoothAudioCtrlAck SuspendRequest();
133 BluetoothAudioCtrlAck StartRequest(bool is_low_latency);
135 BluetoothAudioCtrlAck SuspendRequest();
Dhearing_aid_software_encoding_aidl.cc41 using ::bluetooth::audio::aidl::BluetoothAudioCtrlAck;
61 BluetoothAudioCtrlAck StartRequest(bool is_low_latency) override { in StartRequest()
64 return BluetoothAudioCtrlAck::SUCCESS_FINISHED; in StartRequest()
66 return BluetoothAudioCtrlAck::FAILURE; in StartRequest()
69 BluetoothAudioCtrlAck SuspendRequest() override { in SuspendRequest()
74 return BluetoothAudioCtrlAck::SUCCESS_FINISHED; in SuspendRequest()
76 return BluetoothAudioCtrlAck::FAILURE; in SuspendRequest()
Da2dp_encoding_aidl.cc56 using ::bluetooth::audio::aidl::BluetoothAudioCtrlAck;
84 BluetoothAudioCtrlAck A2dpTransport::StartRequest(bool is_low_latency) { in StartRequest()
125 BluetoothAudioCtrlAck A2dpTransport::SuspendRequest() { in SuspendRequest()
139 return BluetoothAudioCtrlAck::PENDING; in SuspendRequest()
242 BluetoothAudioCtrlAck a2dp_ack_to_bt_audio_ctrl_ack(tA2DP_CTRL_ACK ack) { in a2dp_ack_to_bt_audio_ctrl_ack()
245 return BluetoothAudioCtrlAck::SUCCESS_FINISHED; in a2dp_ack_to_bt_audio_ctrl_ack()
247 return BluetoothAudioCtrlAck::PENDING; in a2dp_ack_to_bt_audio_ctrl_ack()
249 return BluetoothAudioCtrlAck::FAILURE_BUSY; in a2dp_ack_to_bt_audio_ctrl_ack()
251 return BluetoothAudioCtrlAck::FAILURE_DISCONNECTING; in a2dp_ack_to_bt_audio_ctrl_ack()
253 return BluetoothAudioCtrlAck::FAILURE_UNSUPPORTED; in a2dp_ack_to_bt_audio_ctrl_ack()
[all …]
Da2dp_transport.h30 BluetoothAudioCtrlAck a2dp_ack_to_bt_audio_ctrl_ack(tA2DP_CTRL_ACK ack);
38 BluetoothAudioCtrlAck StartRequest(bool is_low_latency) override;
40 BluetoothAudioCtrlAck SuspendRequest() override;
Dclient_interface_aidl.cc34 std::ostream& operator<<(std::ostream& os, const BluetoothAudioCtrlAck& ack) { in operator <<()
36 case BluetoothAudioCtrlAck::SUCCESS_FINISHED: in operator <<()
38 case BluetoothAudioCtrlAck::PENDING: in operator <<()
40 case BluetoothAudioCtrlAck::FAILURE_UNSUPPORTED: in operator <<()
42 case BluetoothAudioCtrlAck::FAILURE_BUSY: in operator <<()
44 case BluetoothAudioCtrlAck::FAILURE_DISCONNECTING: in operator <<()
46 case BluetoothAudioCtrlAck::FAILURE: in operator <<()
463 const BluetoothAudioCtrlAck& ack) { in StreamStarted()
468 if (ack == BluetoothAudioCtrlAck::PENDING) { in StreamStarted()
482 const BluetoothAudioCtrlAck& ack) { in StreamSuspended()
[all …]
Dbluetooth_audio_port_impl.cc43 BluetoothAudioCtrlAck ack = transport_instance_->StartRequest(is_low_latency); in startStream()
44 if (ack != BluetoothAudioCtrlAck::PENDING) { in startStream()
56 BluetoothAudioCtrlAck ack = transport_instance_->SuspendRequest(); in suspendStream()
57 if (ack != BluetoothAudioCtrlAck::PENDING) { in suspendStream()
Dtransport_instance.h77 virtual BluetoothAudioCtrlAck StartRequest(bool is_low_latency) = 0;
79 virtual BluetoothAudioCtrlAck SuspendRequest() = 0;
Dclient_interface_aidl.h99 void StreamStarted(const BluetoothAudioCtrlAck& ack);
101 void StreamSuspended(const BluetoothAudioCtrlAck& ack);
/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Dclient_interface_hidl.h65 enum class BluetoothAudioCtrlAck : uint8_t { enum
74 std::ostream& operator<<(std::ostream& os, const BluetoothAudioCtrlAck& ack);
77 const BluetoothAudioCtrlAck& ack) { in BluetoothAudioCtrlAckToHalStatus()
79 case BluetoothAudioCtrlAck::SUCCESS_FINISHED: in BluetoothAudioCtrlAckToHalStatus()
81 case BluetoothAudioCtrlAck::FAILURE_UNSUPPORTED: in BluetoothAudioCtrlAckToHalStatus()
83 case BluetoothAudioCtrlAck::PENDING: in BluetoothAudioCtrlAckToHalStatus()
85 case BluetoothAudioCtrlAck::FAILURE_BUSY: in BluetoothAudioCtrlAckToHalStatus()
87 case BluetoothAudioCtrlAck::FAILURE_DISCONNECTING: in BluetoothAudioCtrlAckToHalStatus()
129 virtual BluetoothAudioCtrlAck StartRequest() = 0;
131 virtual BluetoothAudioCtrlAck SuspendRequest() = 0;
[all …]
Dle_audio_software_hidl.cc114 BluetoothAudioCtrlAck LeAudioTransport::StartRequest() { in StartRequest()
120 return BluetoothAudioCtrlAck::SUCCESS_FINISHED; in StartRequest()
126 return BluetoothAudioCtrlAck::FAILURE; in StartRequest()
131 return BluetoothAudioCtrlAck::PENDING; in StartRequest()
136 return BluetoothAudioCtrlAck::FAILURE; in StartRequest()
139 BluetoothAudioCtrlAck LeAudioTransport::StartRequestV2() { in StartRequestV2()
146 return BluetoothAudioCtrlAck::SUCCESS_FINISHED; in StartRequestV2()
152 return BluetoothAudioCtrlAck::FAILURE; in StartRequestV2()
157 return BluetoothAudioCtrlAck::PENDING; in StartRequestV2()
162 return BluetoothAudioCtrlAck::FAILURE; in StartRequestV2()
[all …]
Dle_audio_software_hidl.h29 using ::bluetooth::audio::hidl::BluetoothAudioCtrlAck;
62 BluetoothAudioCtrlAck StartRequest();
63 BluetoothAudioCtrlAck StartRequestV2();
65 BluetoothAudioCtrlAck SuspendRequest();
114 BluetoothAudioCtrlAck StartRequest() override;
115 BluetoothAudioCtrlAck StartRequestV2();
117 BluetoothAudioCtrlAck SuspendRequest() override;
162 BluetoothAudioCtrlAck StartRequest() override;
164 BluetoothAudioCtrlAck SuspendRequest() override;
Da2dp_encoding_hidl.cc49 using ::bluetooth::audio::hidl::BluetoothAudioCtrlAck;
67 BluetoothAudioCtrlAck a2dp_ack_to_bt_audio_ctrl_ack(tA2DP_CTRL_ACK ack);
81 BluetoothAudioCtrlAck StartRequest() override { in StartRequest()
120 BluetoothAudioCtrlAck SuspendRequest() override { in SuspendRequest()
134 return BluetoothAudioCtrlAck::PENDING; in SuspendRequest()
223 BluetoothAudioCtrlAck a2dp_ack_to_bt_audio_ctrl_ack(tA2DP_CTRL_ACK ack) { in a2dp_ack_to_bt_audio_ctrl_ack()
226 return BluetoothAudioCtrlAck::SUCCESS_FINISHED; in a2dp_ack_to_bt_audio_ctrl_ack()
228 return BluetoothAudioCtrlAck::PENDING; in a2dp_ack_to_bt_audio_ctrl_ack()
230 return BluetoothAudioCtrlAck::FAILURE_BUSY; in a2dp_ack_to_bt_audio_ctrl_ack()
232 return BluetoothAudioCtrlAck::FAILURE_DISCONNECTING; in a2dp_ack_to_bt_audio_ctrl_ack()
[all …]
Dhearing_aid_software_encoding_hidl.cc41 using ::bluetooth::audio::hidl::BluetoothAudioCtrlAck;
64 BluetoothAudioCtrlAck StartRequest() override { in StartRequest()
67 return BluetoothAudioCtrlAck::SUCCESS_FINISHED; in StartRequest()
69 return BluetoothAudioCtrlAck::FAILURE; in StartRequest()
72 BluetoothAudioCtrlAck SuspendRequest() override { in SuspendRequest()
77 return BluetoothAudioCtrlAck::SUCCESS_FINISHED; in SuspendRequest()
79 return BluetoothAudioCtrlAck::FAILURE; in SuspendRequest()
Dclient_interface_hidl.cc50 std::ostream& operator<<(std::ostream& os, const BluetoothAudioCtrlAck& ack) { in operator <<()
52 case BluetoothAudioCtrlAck::SUCCESS_FINISHED: in operator <<()
54 case BluetoothAudioCtrlAck::PENDING: in operator <<()
56 case BluetoothAudioCtrlAck::FAILURE_UNSUPPORTED: in operator <<()
58 case BluetoothAudioCtrlAck::FAILURE_BUSY: in operator <<()
60 case BluetoothAudioCtrlAck::FAILURE_DISCONNECTING: in operator <<()
62 case BluetoothAudioCtrlAck::FAILURE: in operator <<()
77 BluetoothAudioCtrlAck ack = transport_instance_->StartRequest(); in startStream()
78 if (ack != BluetoothAudioCtrlAck::PENDING) { in startStream()
90 BluetoothAudioCtrlAck ack = transport_instance_->SuspendRequest(); in suspendStream()
[all …]
Dclient_interface_hidl_unittest.cc146 bluetooth::audio::hidl::BluetoothAudioCtrlAck StartRequest() override { in StartRequest()
147 return bluetooth::audio::hidl::BluetoothAudioCtrlAck::SUCCESS_FINISHED; in StartRequest()
149 bluetooth::audio::hidl::BluetoothAudioCtrlAck SuspendRequest() override { in SuspendRequest()
150 return bluetooth::audio::hidl::BluetoothAudioCtrlAck::SUCCESS_FINISHED; in SuspendRequest()
185 bluetooth::audio::hidl::BluetoothAudioCtrlAck StartRequest() override { in StartRequest()
186 return bluetooth::audio::hidl::BluetoothAudioCtrlAck::SUCCESS_FINISHED; in StartRequest()
188 bluetooth::audio::hidl::BluetoothAudioCtrlAck SuspendRequest() override { in SuspendRequest()
189 return bluetooth::audio::hidl::BluetoothAudioCtrlAck::SUCCESS_FINISHED; in SuspendRequest()
/packages/modules/Bluetooth/system/audio_hal_interface/
Dle_audio_software_unittest.cc93 (const bluetooth::audio::hidl::BluetoothAudioCtrlAck& /*ack*/));
96 (const bluetooth::audio::hidl::BluetoothAudioCtrlAck& /*ack*/));
126 (const bluetooth::audio::aidl::BluetoothAudioCtrlAck& /*ack*/));
129 (const bluetooth::audio::aidl::BluetoothAudioCtrlAck& /*ack*/));
304 const BluetoothAudioCtrlAck& ack) { in StreamStarted()
320 const BluetoothAudioCtrlAck& ack) { in StreamSuspended()
327 std::ostream& operator<<(std::ostream& os, const BluetoothAudioCtrlAck& ack) { in operator <<()
329 case BluetoothAudioCtrlAck::SUCCESS_FINISHED: in operator <<()
332 case BluetoothAudioCtrlAck::PENDING: in operator <<()
335 case BluetoothAudioCtrlAck::FAILURE_UNSUPPORTED: in operator <<()
[all …]
Dle_audio_software.cc244 hidl::BluetoothAudioCtrlAck::SUCCESS_FINISHED); in ConfirmStreamingRequest()
267 ->StreamStarted(aidl::BluetoothAudioCtrlAck::SUCCESS_FINISHED); in ConfirmStreamingRequest()
301 hidl::BluetoothAudioCtrlAck::SUCCESS_FINISHED); in ConfirmStreamingRequestV2()
310 ->StreamStarted(aidl::BluetoothAudioCtrlAck::SUCCESS_FINISHED); in ConfirmStreamingRequestV2()
331 hidl::BluetoothAudioCtrlAck::FAILURE); in CancelStreamingRequest()
354 ->StreamStarted(aidl::BluetoothAudioCtrlAck::FAILURE); in CancelStreamingRequest()
388 hidl::BluetoothAudioCtrlAck::FAILURE); in CancelStreamingRequestV2()
396 ->StreamStarted(aidl::BluetoothAudioCtrlAck::FAILURE); in CancelStreamingRequestV2()
515 hidl::BluetoothAudioCtrlAck::SUCCESS_FINISHED); in SuspendedForReconfiguration()
520 ->StreamSuspended(aidl::BluetoothAudioCtrlAck::SUCCESS_RECONFIGURATION); in SuspendedForReconfiguration()
[all …]
Dhfp_client_interface.cc195 aidl::BluetoothAudioCtrlAck::SUCCESS_FINISHED); in ConfirmStreamingRequest()
212 aidl::BluetoothAudioCtrlAck::FAILURE); in CancelStreamingRequest()
341 aidl::BluetoothAudioCtrlAck::SUCCESS_FINISHED); in ConfirmStreamingRequest()
358 aidl::BluetoothAudioCtrlAck::FAILURE); in CancelStreamingRequest()
479 aidl::BluetoothAudioCtrlAck::SUCCESS_FINISHED); in ConfirmStreamingRequest()
496 aidl::BluetoothAudioCtrlAck::FAILURE); in CancelStreamingRequest()
/packages/modules/Bluetooth/system/audio_hal_interface/fuzzer/
Dlibbt_audio_hal_client_interface_fuzzer.cpp80 constexpr bluetooth::audio::hidl::BluetoothAudioCtrlAck
82 bluetooth::audio::hidl::BluetoothAudioCtrlAck::SUCCESS_FINISHED,
83 bluetooth::audio::hidl::BluetoothAudioCtrlAck::PENDING,
84 bluetooth::audio::hidl::BluetoothAudioCtrlAck::FAILURE_UNSUPPORTED,
85 bluetooth::audio::hidl::BluetoothAudioCtrlAck::FAILURE_BUSY,
86 bluetooth::audio::hidl::BluetoothAudioCtrlAck::FAILURE_DISCONNECTING,
87 bluetooth::audio::hidl::BluetoothAudioCtrlAck::FAILURE};
153 bluetooth::audio::hidl::BluetoothAudioCtrlAck StartRequest() override { in StartRequest()
154 return bluetooth::audio::hidl::BluetoothAudioCtrlAck::SUCCESS_FINISHED; in StartRequest()
157 bluetooth::audio::hidl::BluetoothAudioCtrlAck SuspendRequest() override { in SuspendRequest()
[all …]