Home
last modified time | relevance | path

Searched refs:TransportRequest (Results 1 – 4 of 4) sorted by relevance

/device/google/cuttlefish_common/guest/commands/usbforward/
Dtransport_request.h30 class TransportRequest final {
40 TransportRequest(std::shared_ptr<libusb_device_handle> device,
42 TransportRequest(std::shared_ptr<libusb_device_handle> device,
44 ~TransportRequest() = default;
66 TransportRequest(const TransportRequest& other) = delete;
67 TransportRequest& operator=(const TransportRequest& other) = delete;
Dtransport_request.cpp23 TransportRequest::TransportRequest(std::shared_ptr<libusb_device_handle> handle, in TransportRequest() function in usb_forward::TransportRequest
45 TransportRequest::TransportRequest(std::shared_ptr<libusb_device_handle> handle, in TransportRequest() function in usb_forward::TransportRequest
61 uint8_t* TransportRequest::Buffer() { in Buffer()
69 bool TransportRequest::Submit() { in Submit()
82 void TransportRequest::OnTransferComplete(libusb_transfer* req) { in OnTransferComplete()
83 auto treq = static_cast<TransportRequest*>(req->user_data); in OnTransferComplete()
Dusb_server.cpp168 std::unique_ptr<TransportRequest> treq(new TransportRequest( in HandleControlTransfer()
193 TransportRequest* treq_ptr = treq.get(); in HandleControlTransfer()
211 std::unique_ptr<TransportRequest> treq(new TransportRequest( in HandleDataTransfer()
236 TransportRequest* treq_ptr = treq.get(); in HandleDataTransfer()
Dusb_server.h92 std::map<uint32_t, std::unique_ptr<TransportRequest>> requests_in_flight_;