Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/result/
DLogFileSaver.java143 File buildReportDir; in createBuildDir() local
144 buildReportDir = FileUtil.getFileForPath(rootDir, in createBuildDir()
148 if (buildReportDir.exists()) { in createBuildDir()
149 if (buildReportDir.isDirectory()) { in createBuildDir()
150 return buildReportDir; in createBuildDir()
153 buildReportDir.getAbsolutePath()); in createBuildDir()
156 if (FileUtil.mkdirsRWX(buildReportDir)) { in createBuildDir()
157 return buildReportDir; in createBuildDir()
160 buildReportDir.getAbsolutePath()); in createBuildDir()
163 return buildReportDir; in createBuildDir()
DFileSystemLogSaver.java240 File buildReportDir = FileUtil.getFileForPath(reportDir, in createBuildDir() local
244 if (buildReportDir.exists()) { in createBuildDir()
245 if (buildReportDir.isDirectory()) { in createBuildDir()
246 return buildReportDir; in createBuildDir()
249 "File already exists.", buildReportDir.getAbsolutePath()); in createBuildDir()
254 if (FileUtil.mkdirsRWX(buildReportDir)) { in createBuildDir()
255 return buildReportDir; in createBuildDir()
258 "Failed to create directory.", buildReportDir.getAbsolutePath()); in createBuildDir()