Home
last modified time | relevance | path

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

/system/bt/audio_hal_interface/
Dclient_interface.h48 enum class BluetoothAudioCtrlAck : uint8_t { enum
57 std::ostream& operator<<(std::ostream& os, const BluetoothAudioCtrlAck& ack);
60 const BluetoothAudioCtrlAck& ack) { in BluetoothAudioCtrlAckToHalStatus()
62 case BluetoothAudioCtrlAck::SUCCESS_FINISHED: in BluetoothAudioCtrlAckToHalStatus()
64 case BluetoothAudioCtrlAck::FAILURE_UNSUPPORTED: in BluetoothAudioCtrlAckToHalStatus()
66 case BluetoothAudioCtrlAck::PENDING: in BluetoothAudioCtrlAckToHalStatus()
68 case BluetoothAudioCtrlAck::FAILURE_BUSY: in BluetoothAudioCtrlAckToHalStatus()
70 case BluetoothAudioCtrlAck::FAILURE_DISCONNECTING: in BluetoothAudioCtrlAckToHalStatus()
94 virtual BluetoothAudioCtrlAck StartRequest() = 0;
96 virtual BluetoothAudioCtrlAck SuspendRequest() = 0;
[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()
Da2dp_encoding.cc43 using ::bluetooth::audio::BluetoothAudioCtrlAck;
57 BluetoothAudioCtrlAck a2dp_ack_to_bt_audio_ctrl_ack(tA2DP_CTRL_ACK ack);
69 BluetoothAudioCtrlAck StartRequest() override { in StartRequest()
114 BluetoothAudioCtrlAck SuspendRequest() override { in SuspendRequest()
128 return BluetoothAudioCtrlAck::PENDING; in SuspendRequest()
216 BluetoothAudioCtrlAck a2dp_ack_to_bt_audio_ctrl_ack(tA2DP_CTRL_ACK ack) { in a2dp_ack_to_bt_audio_ctrl_ack()
219 return BluetoothAudioCtrlAck::SUCCESS_FINISHED; in a2dp_ack_to_bt_audio_ctrl_ack()
221 return BluetoothAudioCtrlAck::PENDING; in a2dp_ack_to_bt_audio_ctrl_ack()
223 return BluetoothAudioCtrlAck::FAILURE_BUSY; in a2dp_ack_to_bt_audio_ctrl_ack()
225 return BluetoothAudioCtrlAck::FAILURE_DISCONNECTING; in a2dp_ack_to_bt_audio_ctrl_ack()
[all …]
Dclient_interface_unittest.cc68 bluetooth::audio::BluetoothAudioCtrlAck StartRequest() { in StartRequest()
69 return bluetooth::audio::BluetoothAudioCtrlAck::SUCCESS_FINISHED; in StartRequest()
71 bluetooth::audio::BluetoothAudioCtrlAck SuspendRequest() { in SuspendRequest()
72 return bluetooth::audio::BluetoothAudioCtrlAck::SUCCESS_FINISHED; in SuspendRequest()