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.java251 File buildReportDir = FileUtil.getFileForPath(reportDir, in createBuildDir() local
255 if (buildReportDir.exists()) { in createBuildDir()
256 if (buildReportDir.isDirectory()) { in createBuildDir()
257 return buildReportDir; in createBuildDir()
260 "File already exists.", buildReportDir.getAbsolutePath()); in createBuildDir()
265 if (FileUtil.mkdirsRWX(buildReportDir)) { in createBuildDir()
266 return buildReportDir; in createBuildDir()
269 "Failed to create directory.", buildReportDir.getAbsolutePath()); in createBuildDir()