Home
last modified time | relevance | path

Searched refs:savePath (Results 1 - 2 of 2) sorted by relevance

/developtools/profiler/host/smartperf/client/client_command/
H A DCapture.cpp74 const std::string savePath = captureDir + "/screenCap_" + std::to_string(curTime) + ".png"; in ThreadGetCatch() local
86 auto fd = open(savePath.c_str(), O_RDWR | O_CREAT, 0666); in ThreadGetCatch()
88 LOGI("Failed to open file: %s", savePath.c_str()); in ThreadGetCatch()
90 if (!TakeScreenCap(savePath)) { in ThreadGetCatch()
100 std::string savePath = captureDir + "/screenCap_" + captureTime + ".jpeg"; in ThreadGetCatchSocket() local
113 if (realpath(savePath.c_str(), realPath) == nullptr) { in ThreadGetCatchSocket()
119 LOGI("Failed to open file: %s", savePath.c_str()); in ThreadGetCatchSocket()
122 if (!SPUtils::LoadCmd(snapshot + savePath, cmdResult)) { in ThreadGetCatchSocket()
147 bool Capture::TakeScreenCap(const std::string &savePath) const in TakeScreenCap()
172 if (realpath(savePath in TakeScreenCap()
[all...]
/developtools/profiler/host/smartperf/client/client_command/include/
H A DCapture.h34 bool TakeScreenCap(const std::string &savePath) const;

Completed in 1 milliseconds