Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/audio_hal_interface/
Dle_audio_software_host_transport.cc192 transport_ = new LeAudioTransport(flush_sink, std::move(stream_cb), in LeAudioSinkTransport()
196 LeAudioSinkTransport::~LeAudioSinkTransport() { delete transport_; } in ~LeAudioSinkTransport()
198 bool LeAudioSinkTransport::StartRequest() { return transport_->StartRequest(); } in StartRequest()
201 return transport_->SuspendRequest(); in SuspendRequest()
204 void LeAudioSinkTransport::StopRequest() { transport_->StopRequest(); } in StopRequest()
209 return transport_->GetPresentationPosition(remote_delay_report_ns, in GetPresentationPosition()
215 transport_->SourceMetadataChanged(source_metadata); in SourceMetadataChanged()
220 transport_->SinkMetadataChanged(sink_metadata); in SinkMetadataChanged()
224 transport_->ResetPresentationPosition(); in ResetPresentationPosition()
228 transport_->LogBytesProcessed(bytes_read); in LogBytesRead()
[all …]
Dle_audio_software_host_transport.h127 LeAudioTransport* transport_;
171 LeAudioTransport* transport_;
Dle_audio_software_unittest.cc231 transport_(instance) { in BluetoothAudioClientInterface()
362 transport_(instance), in BluetoothAudioClientInterface()
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dhfp_client_interface_aidl.cc154 transport_ = new HfpTransport();
157 HfpDecodingTransport::~HfpDecodingTransport() { delete transport_; } in ~HfpDecodingTransport()
160 return transport_->StartRequest(); in StartRequest()
164 return transport_->SuspendRequest(); in SuspendRequest()
168 transport_->SetLatencyMode(latency_mode); in SetLatencyMode()
174 return transport_->GetPresentationPosition( in GetPresentationPosition()
180 transport_->SourceMetadataChanged(source_metadata); in SourceMetadataChanged()
185 transport_->SinkMetadataChanged(sink_metadata); in SinkMetadataChanged()
189 transport_->ResetPresentationPosition(); in ResetPresentationPosition()
193 transport_->LogBytesProcessed(bytes_written); in LogBytesRead()
[all …]
Dle_audio_software_aidl.cc385 transport_ = new LeAudioTransport(
391 LeAudioSinkTransport::~LeAudioSinkTransport() { delete transport_; } in ~LeAudioSinkTransport()
395 return transport_->StartRequestV2(is_low_latency); in StartRequest()
397 return transport_->StartRequest(is_low_latency); in StartRequest()
401 return transport_->SuspendRequest(); in SuspendRequest()
404 void LeAudioSinkTransport::StopRequest() { transport_->StopRequest(); } in StopRequest()
407 transport_->SetLatencyMode(latency_mode); in SetLatencyMode()
413 return transport_->GetPresentationPosition(remote_delay_report_ns, in GetPresentationPosition()
419 transport_->SourceMetadataChanged(source_metadata); in SourceMetadataChanged()
424 transport_->SinkMetadataChanged(sink_metadata); in SinkMetadataChanged()
[all …]
Dclient_interface_aidl.cc59 transport_(instance), in BluetoothAudioClientInterface()
205 transport_->GetSessionType(), &capabilities_); in FetchAudioProvider()
213 toString(transport_->GetSessionType())); in FetchAudioProvider()
217 toString(transport_->GetSessionType()), capabilities_.size()); in FetchAudioProvider()
220 provider_factory->openProvider(transport_->GetSessionType(), &provider_); in FetchAudioProvider()
278 (transport_->GetSessionType() == in UpdateAudioConfig()
280 transport_->GetSessionType() == in UpdateAudioConfig()
282 transport_->GetSessionType() == in UpdateAudioConfig()
284 transport_->GetSessionType() == in UpdateAudioConfig()
286 transport_->GetSessionType() == in UpdateAudioConfig()
[all …]
Dhfp_client_interface_aidl.h123 HfpTransport* transport_;
166 HfpTransport* transport_;
Dle_audio_software_aidl.h187 LeAudioTransport* transport_;
239 LeAudioTransport* transport_;
Dclient_interface_aidl.h182 IBluetoothTransportInstance* transport_;
/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Dle_audio_software_hidl.cc292 transport_ =
298 LeAudioSinkTransport::~LeAudioSinkTransport() { delete transport_; } in ~LeAudioSinkTransport()
302 return transport_->StartRequestV2(); in StartRequest()
304 return transport_->StartRequest(); in StartRequest()
308 return transport_->SuspendRequest(); in SuspendRequest()
311 void LeAudioSinkTransport::StopRequest() { transport_->StopRequest(); } in StopRequest()
316 return transport_->GetPresentationPosition(remote_delay_report_ns, in GetPresentationPosition()
322 transport_->MetadataChanged(source_metadata); in MetadataChanged()
326 transport_->ResetPresentationPosition(); in ResetPresentationPosition()
330 transport_->LogBytesProcessed(bytes_read); in LogBytesRead()
[all …]
Dclient_interface_hidl.cc202 transport_(instance) { in BluetoothAudioClientInterface()
300 transport_->GetSessionType(), getProviderCapabilities_cb); in FetchAudioProvider()
308 toString(transport_->GetSessionType())); in FetchAudioProvider()
312 toString(transport_->GetSessionType()), capabilities_.size()); in FetchAudioProvider()
329 hidl_retval = providersFactory->openProvider(transport_->GetSessionType(), in FetchAudioProvider()
367 transport_->GetSessionType_2_1(), getProviderCapabilities_cb); in FetchAudioProvider_2_1()
375 toString(transport_->GetSessionType_2_1())); in FetchAudioProvider_2_1()
379 toString(transport_->GetSessionType_2_1()), in FetchAudioProvider_2_1()
398 transport_->GetSessionType_2_1(), openProvider_cb); in FetchAudioProvider_2_1()
496 (transport_->GetSessionType() == in UpdateAudioConfig()
[all …]
Dle_audio_software_hidl.h151 LeAudioTransport* transport_;
197 LeAudioTransport* transport_;
Dclient_interface_hidl.h242 IBluetoothTransportInstance* transport_;
/packages/modules/adb/
Dadb_listeners_test.cpp64 atransport transport_; member in AdbListenersTest
71 install_listener("tcp:9000", "tcp:9000", &transport_, false, nullptr, &error)); in TEST_F()
81 install_listener("tcp:9000", "tcp:9000", &transport_, false, nullptr, &error)); in TEST_F()
85 install_listener("tcp:9000", "tcp:9001", &transport_, false, nullptr, &error)); in TEST_F()
95 install_listener("tcp:9000", "tcp:9000", &transport_, true, nullptr, &error)); in TEST_F()
99 install_listener("tcp:9000", "tcp:9001", &transport_, true, nullptr, &error)); in TEST_F()
110 install_listener("tcp:0", "tcp:9000", &transport_, true, &port, &error)); in TEST_F()
120 install_listener("tcp:9000", "tcp:9000", &transport_, false, nullptr, &error)); in TEST_F()
123 ASSERT_EQ(INSTALL_STATUS_OK, remove_listener("tcp:9000", &transport_)); in TEST_F()
131 install_listener("tcp:9000", "tcp:9000", &transport_, false, nullptr, &error)); in TEST_F()
[all …]
Dtransport_fd.cpp124 transport_->HandleRead(std::move(packet)); in Run()
148 transport_->HandleError(error); in Start()
Dtransport.cpp292 return transport_ ? transport_->serial_name() : "<unknown>"; in Serial()
332 std::call_once(this->error_flag_, [this]() { transport_->HandleError("write failed"); }); in Start()
353 transport_->HandleRead(std::move(packet)); in StartReadThread()
363 std::call_once(this->error_flag_, [this]() { transport_->HandleError("read failed"); }); in StartReadThread()
431 std::call_once(this->error_flag_, [this]() { transport_->HandleError("requested stop"); }); in Stop()
Dtransport.h114 void SetTransport(atransport* transport) { transport_ = transport; } in SetTransport()
138 atransport* transport_ = nullptr; member
/packages/modules/Bluetooth/tools/rootcanal/model/devices/
Dhci_device.cc34 transport_(transport) { in HciDevice()
65 transport_->Send(PacketType::EVENT, *packet); in HciDevice()
68 transport_->Send(PacketType::ACL, *packet); in HciDevice()
71 transport_->Send(PacketType::SCO, *packet); in HciDevice()
74 transport_->Send(PacketType::ISO, *packet); in HciDevice()
77 transport_->RegisterCallbacks( in HciDevice()
105 transport_->Tick(); in Tick()
110 transport_->Close(); in Close()
Dhci_device.h47 std::shared_ptr<HciTransport> transport_;
/packages/modules/Bluetooth/tools/rootcanal/model/hci/
Dhci_sniffer.cc27 : transport_(transport), filter_(filter) { in HciSniffer()
78 transport_->RegisterCallbacks( in RegisterCallbacks()
88 void HciSniffer::Tick() { transport_->Tick(); } in Tick()
91 transport_->Close(); in Close()
100 transport_->Send(packet_type, packet); in Send()
Dhci_sniffer.h69 std::shared_ptr<HciTransport> transport_; variable
/packages/modules/adb/daemon/
Dusb.cpp589 transport_->HandleRead(std::move(packet)); in ProcessRead()
696 if (transport_) { in HandleError()
697 transport_->HandleError(error); in HandleError()
/packages/modules/adb/client/
Dusb_libusb.cpp141 transport_->HandleRead(std::move(packet)); in HandlePacket()
754 if (transport_) { in OnError()
755 transport_->HandleError(error); in OnError()
783 VLOG(USB) << "resetting " << transport_->serial_name(); in Reset()