Searched refs:TransferDirection (Results 1 – 2 of 2) sorted by relevance
/system/core/adb/daemon/ |
D | usb.cpp | 85 enum class TransferDirection : uint64_t { enum 91 TransferDirection direction : 1; 94 TransferId() : TransferId(TransferDirection::READ, 0) {} in TransferId() 97 TransferId(TransferDirection direction, uint64_t id) : direction(direction), id(id) {} in TransferId() 107 static TransferId read(uint64_t id) { return TransferId(TransferDirection::READ, id); } in read() 108 static TransferId write(uint64_t id) { return TransferId(TransferDirection::WRITE, id); } in write() 530 id.direction == TransferDirection::READ ? "read" : "write", in ReadEvents() 536 if (id.direction == TransferDirection::READ) { in ReadEvents()
|
/system/core/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 …]
|