Searched refs:tmp_dir (Results 1 – 2 of 2) sorted by relevance
346 const char* tmp_dir = getenv("TMPDIR"); in GetLogFilePath() local347 if (tmp_dir == nullptr) tmp_dir = "/tmp"; in GetLogFilePath()348 return android::base::StringPrintf("%s/adb.%u.log", tmp_dir, getuid()); in GetLogFilePath()
380 void takeScreenshotForDisplayId(PhysicalDisplayId id, const char* tmp_dir, in takeScreenshotForDisplayId() argument383 std::string filename = std::string(tmp_dir) + kScreenshotPrefix + id_as_string + ".png"; in takeScreenshotForDisplayId()396 void takeScreenshot(const char* tmp_dir, std::vector<std::string>* extra_files) { in takeScreenshot() argument401 takeScreenshotForDisplayId(display_id, tmp_dir, extra_files); in takeScreenshot()