Searched refs:socket_ (Results 1 – 10 of 10) sorted by relevance
/packages/modules/Bluetooth/system/gd/hal/ |
D | snoop_logger_socket_thread.cc | 42 socket_ = std::move(socket); in SnoopLoggerSocketThread() 64 socket_->NotifySocketListener(); in Stop() 73 socket_->Write(data, length); in Write() 81 return socket_.get(); in GetSocket() 87 if (socket_->InitializeCommunications() != 0) { in Run() 94 while (!stop_thread_ && socket_->ProcessIncomingRequest()) { in Run() 97 socket_->Cleanup(); in Run()
|
D | snoop_logger_socket_thread.h | 50 std::unique_ptr<SnoopLoggerSocket> socket_; variable
|
D | snoop_logger.cc | 521 socket_ = nullptr; in SnoopLogger() 1258 if (socket_ != nullptr) { in Capture() 1259 socket_->Write(&header, sizeof(PacketHeaderType)); in Capture() 1260 socket_->Write(packet.data(), (size_t)(length - 1)); in Capture() 1358 socket_ = nullptr; in Stop() 1442 socket_ = socket; in RegisterSocket()
|
D | snoop_logger.h | 351 SnoopLoggerSocketInterface* socket_; variable
|
/packages/modules/Bluetooth/tools/rootcanal/model/devices/ |
D | link_layer_socket_device.cc | 39 : socket_(socket_fd), in LinkLayerSocketDevice() 46 socket_->Recv(size_bytes_->data() + offset_, kSizeBytes); in Tick() 69 socket_->Recv(received_->data() + offset_, bytes_left_); in Tick() 92 if (socket_) { in Close() 93 socket_->Close(); in Close() 105 if (socket_->Send(size_bytes.data(), size_bytes.size()) == kSizeBytes) { in ReceiveLinkLayerPacket() 106 socket_->Send(packet_bytes.data(), packet_bytes.size()); in ReceiveLinkLayerPacket()
|
D | link_layer_socket_device.h | 60 std::shared_ptr<AsyncDataChannel> socket_;
|
/packages/modules/Bluetooth/tools/rootcanal/model/hci/ |
D | hci_socket_transport.cc | 24 : socket_(socket) {} in HciSocketTransport() 30 socket_, in RegisterCallbacks() 57 void HciSocketTransport::Tick() { h4_.OnDataReady(socket_); } in Tick() 61 if (!socket_ || !socket_->Connected()) { in Send() 70 void HciSocketTransport::Close() { socket_->Close(); } in Close()
|
D | hci_socket_transport.h | 49 std::shared_ptr<AsyncDataChannel> socket_; 50 H4DataChannelPacketizer h4_{socket_,
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_tls_frontend.cpp | 122 socket_ = std::move(s); in startServer() 126 if (listen(socket_.get(), 1) < 0) { in startServer() 127 PLOG(INFO) << "failed to listen socket " << socket_.get(); in startServer() 173 {.fd = socket_.get(), .events = POLLIN}}; in requestHandler() 193 accept4(socket_.get(), reinterpret_cast<sockaddr*>(&addr), &len, SOCK_CLOEXEC)); in requestHandler() 329 socket_.reset(); in stopServer()
|
D | dns_tls_frontend.h | 53 bool running() const { return socket_ != -1; } in running() 93 android::base::unique_fd socket_; variable
|