Home
last modified time | relevance | path

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

/system/bt/audio_hal_interface/
Dclient_interface.h47 enum class BluetoothAudioCtrlAck : uint8_t { enum
56 std::ostream& operator<<(std::ostream& os, const BluetoothAudioCtrlAck& ack);
59 const BluetoothAudioCtrlAck& ack) { in BluetoothAudioCtrlAckToHalStatus()
61 case BluetoothAudioCtrlAck::SUCCESS_FINISHED: in BluetoothAudioCtrlAckToHalStatus()
63 case BluetoothAudioCtrlAck::FAILURE_UNSUPPORTED: in BluetoothAudioCtrlAckToHalStatus()
65 case BluetoothAudioCtrlAck::PENDING: in BluetoothAudioCtrlAckToHalStatus()
67 case BluetoothAudioCtrlAck::FAILURE_BUSY: in BluetoothAudioCtrlAckToHalStatus()
69 case BluetoothAudioCtrlAck::FAILURE_DISCONNECTING: in BluetoothAudioCtrlAckToHalStatus()
93 virtual BluetoothAudioCtrlAck StartRequest() = 0;
95 virtual BluetoothAudioCtrlAck SuspendRequest() = 0;
[all …]
Da2dp_encoding.cc32 using ::bluetooth::audio::BluetoothAudioCtrlAck;
48 BluetoothAudioCtrlAck a2dp_ack_to_bt_audio_ctrl_ack(tA2DP_CTRL_ACK ack);
61 BluetoothAudioCtrlAck StartRequest() override { in StartRequest()
100 BluetoothAudioCtrlAck SuspendRequest() override { in SuspendRequest()
114 return BluetoothAudioCtrlAck::PENDING; in SuspendRequest()
204 BluetoothAudioCtrlAck a2dp_ack_to_bt_audio_ctrl_ack(tA2DP_CTRL_ACK ack) { in a2dp_ack_to_bt_audio_ctrl_ack()
207 return BluetoothAudioCtrlAck::SUCCESS_FINISHED; in a2dp_ack_to_bt_audio_ctrl_ack()
209 return BluetoothAudioCtrlAck::PENDING; in a2dp_ack_to_bt_audio_ctrl_ack()
211 return BluetoothAudioCtrlAck::FAILURE_BUSY; in a2dp_ack_to_bt_audio_ctrl_ack()
213 return BluetoothAudioCtrlAck::FAILURE_DISCONNECTING; in a2dp_ack_to_bt_audio_ctrl_ack()
[all …]
Dclient_interface.cc49 std::ostream& operator<<(std::ostream& os, const BluetoothAudioCtrlAck& ack) { in operator <<()
51 case BluetoothAudioCtrlAck::SUCCESS_FINISHED: in operator <<()
53 case BluetoothAudioCtrlAck::PENDING: in operator <<()
55 case BluetoothAudioCtrlAck::FAILURE_UNSUPPORTED: in operator <<()
57 case BluetoothAudioCtrlAck::FAILURE_BUSY: in operator <<()
59 case BluetoothAudioCtrlAck::FAILURE_DISCONNECTING: in operator <<()
61 case BluetoothAudioCtrlAck::FAILURE: in operator <<()
77 BluetoothAudioCtrlAck ack = sink_->StartRequest(); in startStream()
78 if (ack != BluetoothAudioCtrlAck::PENDING) { in startStream()
89 BluetoothAudioCtrlAck ack = sink_->SuspendRequest(); in suspendStream()
[all …]
Dhearing_aid_software_encoding.cc31 using ::bluetooth::audio::BluetoothAudioCtrlAck;
50 BluetoothAudioCtrlAck StartRequest() override { in StartRequest()
53 return BluetoothAudioCtrlAck::SUCCESS_FINISHED; in StartRequest()
55 return BluetoothAudioCtrlAck::FAILURE; in StartRequest()
58 BluetoothAudioCtrlAck SuspendRequest() override { in SuspendRequest()
63 return BluetoothAudioCtrlAck::SUCCESS_FINISHED; in SuspendRequest()
65 return BluetoothAudioCtrlAck::FAILURE; in SuspendRequest()
Dclient_interface_unittest.cc120 bluetooth::audio::BluetoothAudioCtrlAck StartRequest() override { in StartRequest()
121 return bluetooth::audio::BluetoothAudioCtrlAck::SUCCESS_FINISHED; in StartRequest()
123 bluetooth::audio::BluetoothAudioCtrlAck SuspendRequest() override { in SuspendRequest()
124 return bluetooth::audio::BluetoothAudioCtrlAck::SUCCESS_FINISHED; in SuspendRequest()