Home
last modified time | relevance | path

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

/system/core/adb/daemon/
Dusb.cpp90 struct TransferId { struct
94 TransferId() : TransferId(TransferDirection::READ, 0) {} in TransferId() argument
97 TransferId(TransferDirection direction, uint64_t id) : direction(direction), id(id) {} in TransferId() argument
107 static TransferId read(uint64_t id) { return TransferId(TransferDirection::READ, id); } in read() argument
108 static TransferId write(uint64_t id) { return TransferId(TransferDirection::WRITE, id); } in write() argument
110 static TransferId from_value(uint64_t value) { in from_value() argument
111 TransferId result; in from_value()
123 TransferId id() const { return TransferId::from_value(control.aio_data); } in id()
495 block->control.aio_data = static_cast<uint64_t>(TransferId::read(id)); in PrepareReadBlock()
525 TransferId id = TransferId::from_value(event.data); in ReadEvents()
[all …]