Searched refs:TransferDirection (Results 1 – 2 of 2) sorted by relevance
/system/core/adb/daemon/ |
D | usb.cpp | 88 enum class TransferDirection : uint64_t { enum 94 TransferDirection direction : 1; 97 TransferId() : TransferId(TransferDirection::READ, 0) {} in TransferId() 100 TransferId(TransferDirection direction, uint64_t id) : direction(direction), id(id) {} in TransferId() 110 static TransferId read(uint64_t id) { return TransferId(TransferDirection::READ, id); } in read() 111 static TransferId write(uint64_t id) { return TransferId(TransferDirection::WRITE, id); } in write() 505 id.direction == TransferDirection::READ ? "read" : "write", in ReadEvents() 511 if (id.direction == TransferDirection::READ) { in ReadEvents()
|
/system/core/adb/client/ |
D | file_sync_client.cpp | 100 enum class TransferDirection { enum 184 void ReportTransferRate(LinePrinter& lp, const std::string& name, TransferDirection direction) { in ReportTransferRate() 185 const char* direction_str = (direction == TransferDirection::push) ? "pushed" : "pulled"; in ReportTransferRate() 274 void ReportTransferRate(const std::string& file, TransferDirection direction) { in ReportTransferRate() 278 void ReportOverallTransferRate(TransferDirection direction) { in ReportOverallTransferRate() 946 sc.ReportTransferRate(lpath, TransferDirection::push); in copy_local_dir_remote() 1037 sc.ReportTransferRate(src_path, TransferDirection::push); in do_sync_push() 1040 sc.ReportOverallTransferRate(TransferDirection::push); in do_sync_push() 1164 sc.ReportTransferRate(rpath, TransferDirection::pull); in copy_remote_dir_local() 1271 sc.ReportTransferRate(src_path, TransferDirection::pull); in do_sync_pull() [all …]
|