Searched refs:TransferDirection (Results 1 – 3 of 3) sorted by relevance
/packages/modules/adb/ |
D | transfer_id.h | 22 enum class TransferDirection : uint64_t { enum 28 TransferDirection direction : 1; 31 constexpr TransferId() : TransferId(TransferDirection::READ, 0) {} in TransferId() 39 constexpr TransferId(TransferDirection direction, uint64_t id) : direction(direction), id(id) {} in TransferId() 51 return TransferId(TransferDirection::READ, id); in read() 55 return TransferId(TransferDirection::WRITE, id); in write() 62 result.direction = static_cast<TransferDirection>(!!(value & mask)); in from_value()
|
/packages/modules/adb/client/ |
D | file_sync_client.cpp | 107 enum class TransferDirection { enum 208 void ReportTransferRate(LinePrinter& lp, const std::string& name, TransferDirection direction) { in ReportTransferRate() 209 const char* direction_str = (direction == TransferDirection::push) ? "pushed" : "pulled"; in ReportTransferRate() 324 void ReportTransferRate(const std::string& file, TransferDirection direction) { in ReportTransferRate() 328 void ReportOverallTransferRate(TransferDirection direction) { in ReportOverallTransferRate() 1427 sc.ReportTransferRate(lpath, TransferDirection::push); in copy_local_dir_remote() 1521 sc.ReportTransferRate(src_path, TransferDirection::push); in do_sync_push() 1525 sc.ReportOverallTransferRate(TransferDirection::push); in do_sync_push() 1649 sc.ReportTransferRate(rpath, TransferDirection::pull); in copy_remote_dir_local() 1756 sc.ReportTransferRate(src_path, TransferDirection::pull); in do_sync_pull() [all …]
|
/packages/modules/adb/daemon/ |
D | usb.cpp | 506 id.direction == TransferDirection::READ) { in ReadEvents() 513 id.direction == TransferDirection::READ ? "read" : "write", in ReadEvents() 520 if (id.direction == TransferDirection::READ) { in ReadEvents()
|