Searched refs:amessage (Results 1 – 7 of 7) sorted by relevance
/system/core/adb/ |
D | transport_fd.cpp | 108 if (!read_header_ && read_buffer_.size() >= sizeof(amessage)) { in Run() 109 auto header_buf = read_buffer_.take_front(sizeof(amessage)).coalesce(); in Run() 110 CHECK_EQ(sizeof(amessage), header_buf.size()); in Run() 111 read_header_ = std::make_unique<amessage>(); in Run() 112 memcpy(read_header_.get(), header_buf.data(), sizeof(amessage)); in Run() 221 std::unique_ptr<amessage> read_header_;
|
D | transport_usb.cpp | 40 static int UsbReadMessage(usb_handle* h, amessage* msg) { in UsbReadMessage() 126 if (usb_read(usb, &p->msg, sizeof(amessage)) != sizeof(amessage)) { in remote_read()
|
D | types.h | 125 struct amessage { struct 136 amessage msg; argument
|
D | adb_utils.h | 46 std::string dump_header(const amessage* msg);
|
D | adb_utils.cpp | 189 std::string dump_header(const amessage* msg) { in dump_header()
|
D | transport.cpp | 390 if (!ReadFdExactly(fd_.get(), &packet->msg, sizeof(amessage))) { in Read()
|
/system/core/adb/daemon/ |
D | usb.cpp | 546 CHECK_EQ(sizeof(amessage), block->payload->size()); in ProcessRead() 547 amessage msg; in ProcessRead() 548 memcpy(&msg, block->payload->data(), sizeof(amessage)); in ProcessRead() 689 std::optional<amessage> incoming_header_;
|