Home
last modified time | relevance | path

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

/system/core/adb/daemon/
Dusb.cpp93 struct TransferId { struct
97 TransferId() : TransferId(TransferDirection::READ, 0) {} in TransferId() function
100 TransferId(TransferDirection direction, uint64_t id) : direction(direction), id(id) {} in TransferId() function
110 static TransferId read(uint64_t id) { return TransferId(TransferDirection::READ, id); } in read() argument
111 static TransferId write(uint64_t id) { return TransferId(TransferDirection::WRITE, id); } in write() argument
113 static TransferId from_value(uint64_t value) { in from_value() argument
114 TransferId result; in from_value()
125 TransferId id() const { return TransferId::from_value(control.aio_data); } in id()
470 block->control.aio_data = static_cast<uint64_t>(TransferId::read(id)); in PrepareReadBlock()
500 TransferId id = TransferId::from_value(event.data); in ReadEvents()
[all …]