Home
last modified time | relevance | path

Searched refs:LeAudioSinkTransport (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Bluetooth/system/audio_hal_interface/
Dle_audio_software.cc77 return aidl::le_audio::LeAudioSinkTransport::interface_broadcast_; in get_aidl_client_interface()
79 return aidl::le_audio::LeAudioSinkTransport::interface_unicast_; in get_aidl_client_interface()
82 aidl::le_audio::LeAudioSinkTransport* get_aidl_transport_instance( in get_aidl_transport_instance()
85 return aidl::le_audio::LeAudioSinkTransport::instance_broadcast_; in get_aidl_transport_instance()
87 return aidl::le_audio::LeAudioSinkTransport::instance_unicast_; in get_aidl_transport_instance()
123 if (hidl::le_audio::LeAudioSinkTransport::interface) { in Cleanup()
124 delete hidl::le_audio::LeAudioSinkTransport::interface; in Cleanup()
125 hidl::le_audio::LeAudioSinkTransport::interface = nullptr; in Cleanup()
127 if (hidl::le_audio::LeAudioSinkTransport::instance) { in Cleanup()
128 delete hidl::le_audio::LeAudioSinkTransport::instance; in Cleanup()
[all …]
Dle_audio_software_host.cc84 if (!host::le_audio::LeAudioSinkTransport::instance) { in HostStartRequest()
89 host::le_audio::LeAudioSinkTransport::stream_started = in HostStartRequest()
91 host::le_audio::LeAudioSinkTransport::instance->ResetPresentationPosition(); in HostStartRequest()
92 return host::le_audio::LeAudioSinkTransport::instance->StartRequest(); in HostStartRequest()
96 if (!host::le_audio::LeAudioSinkTransport::instance) { in HostStopRequest()
101 host::le_audio::LeAudioSinkTransport::instance->StopRequest(); in HostStopRequest()
105 if (!host::le_audio::LeAudioSinkTransport::instance) { in GetHostPcmConfig()
110 auto pcm_params = host::le_audio::LeAudioSinkTransport::instance in GetHostPcmConfig()
165 return host::le_audio::LeAudioSinkTransport::stream_started; in GetHostStreamStarted()
178 if (host::le_audio::LeAudioSinkTransport::instance) { in SourceMetadataChanged()
[all …]
Dle_audio_software_host_transport.cc187 LeAudioSinkTransport::LeAudioSinkTransport(StreamCallbacks stream_cb) { in LeAudioSinkTransport() function in bluetooth::audio::host::le_audio::LeAudioSinkTransport
196 LeAudioSinkTransport::~LeAudioSinkTransport() { delete transport_; } in ~LeAudioSinkTransport()
198 bool LeAudioSinkTransport::StartRequest() { return transport_->StartRequest(); } in StartRequest()
200 bool LeAudioSinkTransport::SuspendRequest() { in SuspendRequest()
204 void LeAudioSinkTransport::StopRequest() { transport_->StopRequest(); } in StopRequest()
206 bool LeAudioSinkTransport::GetPresentationPosition( in GetPresentationPosition()
213 void LeAudioSinkTransport::SourceMetadataChanged( in SourceMetadataChanged()
218 void LeAudioSinkTransport::SinkMetadataChanged( in SinkMetadataChanged()
223 void LeAudioSinkTransport::ResetPresentationPosition() { in ResetPresentationPosition()
227 void LeAudioSinkTransport::LogBytesRead(size_t bytes_read) { in LogBytesRead()
[all …]
Dle_audio_software_host_transport.h86 class LeAudioSinkTransport {
88 LeAudioSinkTransport(StreamCallbacks stream_cb);
90 ~LeAudioSinkTransport();
122 static inline LeAudioSinkTransport* instance = nullptr;
/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Dle_audio_software_hidl.cc100 return LeAudioSinkTransport::interface != nullptr; in is_sink_hal_enabled()
286 LeAudioSinkTransport::interface->FlushAudioData(); in flush_sink()
289 LeAudioSinkTransport::LeAudioSinkTransport(SessionType_2_1 session_type, in LeAudioSinkTransport() function in bluetooth::audio::hidl::le_audio::LeAudioSinkTransport
298 LeAudioSinkTransport::~LeAudioSinkTransport() { delete transport_; } in ~LeAudioSinkTransport()
300 BluetoothAudioCtrlAck LeAudioSinkTransport::StartRequest() { in StartRequest()
307 BluetoothAudioCtrlAck LeAudioSinkTransport::SuspendRequest() { in SuspendRequest()
311 void LeAudioSinkTransport::StopRequest() { transport_->StopRequest(); } in StopRequest()
313 bool LeAudioSinkTransport::GetPresentationPosition( in GetPresentationPosition()
320 void LeAudioSinkTransport::MetadataChanged( in MetadataChanged()
325 void LeAudioSinkTransport::ResetPresentationPosition() { in ResetPresentationPosition()
[all …]
Dle_audio_software_hidl.h107 class LeAudioSinkTransport
110 LeAudioSinkTransport(SessionType_2_1 session_type, StreamCallbacks stream_cb);
112 ~LeAudioSinkTransport();
147 static inline LeAudioSinkTransport* instance = nullptr;
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dle_audio_software_aidl.cc360 if (LeAudioSinkTransport::interface_unicast_ == nullptr) return; in flush_unicast_sink()
362 LeAudioSinkTransport::interface_unicast_->FlushAudioData(); in flush_unicast_sink()
366 if (LeAudioSinkTransport::interface_broadcast_ == nullptr) return; in flush_broadcast_sink()
368 LeAudioSinkTransport::interface_broadcast_->FlushAudioData(); in flush_broadcast_sink()
382 LeAudioSinkTransport::LeAudioSinkTransport(SessionType session_type, in LeAudioSinkTransport() function in bluetooth::audio::aidl::le_audio::LeAudioSinkTransport
391 LeAudioSinkTransport::~LeAudioSinkTransport() { delete transport_; } in ~LeAudioSinkTransport()
393 BluetoothAudioCtrlAck LeAudioSinkTransport::StartRequest(bool is_low_latency) { in StartRequest()
400 BluetoothAudioCtrlAck LeAudioSinkTransport::SuspendRequest() { in SuspendRequest()
404 void LeAudioSinkTransport::StopRequest() { transport_->StopRequest(); } in StopRequest()
406 void LeAudioSinkTransport::SetLatencyMode(LatencyMode latency_mode) { in SetLatencyMode()
[all …]
Dle_audio_software_aidl.h130 class LeAudioSinkTransport
133 LeAudioSinkTransport(SessionType session_type, StreamCallbacks stream_cb);
135 ~LeAudioSinkTransport();
179 static inline LeAudioSinkTransport* instance_unicast_ = nullptr;
180 static inline LeAudioSinkTransport* instance_broadcast_ = nullptr;