Home
last modified time | relevance | path

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

/packages/modules/adb/client/
Dfile_sync_client.cpp571 std::string path_and_mode = android::base::StringPrintf("%s,%d", path.c_str(), mode); in SendSmallFile() local
572 if (path_and_mode.length() > 1024) { in SendSmallFile()
573 Error("SendSmallFile failed: path too long: %zu", path_and_mode.length()); in SendSmallFile()
578 std::vector<char> buf(sizeof(SyncRequest) + path_and_mode.length() + sizeof(SyncRequest) + in SendSmallFile()
584 req_send->path_length = path_and_mode.length(); in SendSmallFile()
586 memcpy(p, path_and_mode.data(), path_and_mode.size()); in SendSmallFile()
587 p += path_and_mode.length(); in SendSmallFile()
723 std::string path_and_mode = android::base::StringPrintf("%s,%d", path.c_str(), mode); in SendLargeFileLegacy() local
724 if (!SendRequest(ID_SEND_V1, path_and_mode)) { in SendLargeFileLegacy()
725 Error("failed to send ID_SEND_V1 message '%s': %s", path_and_mode.c_str(), in SendLargeFileLegacy()