Home
last modified time | relevance | path

Searched refs:getPath (Results 1 – 25 of 83) sorted by relevance

1234

/tools/tradefederation/core/javatests/com/android/tradefed/result/
DFileSystemLogSaverTest.java96 File generatedDir = new File(saver.getLogReportDir().getPath()); in testGetFileDir()
114 File newGeneratedDir = new File(newSaver.getLogReportDir().getPath()); in testGetFileDir()
136 File generatedDir = new File(saver.getLogReportDir().getPath()); in testGetFileDir_nobranch()
158 new File(saver.getLogReportDir().getPath()), in testGetFileDir_retention()
187 assertTrue(logFile.getPath().endsWith(LogDataType.GZIP.getFileExt())); in testSaveLogData_uncompressed()
189 gis = new GZIPInputStream(Files.newInputStream(Path.of(logFile.getPath()))); in testSaveLogData_uncompressed()
194 FileUtil.deleteFile(new File(logFile.getPath())); in testSaveLogData_uncompressed()
217 logFileReader = new BufferedReader(new FileReader(new File(logFile.getPath()))); in testSaveLogData_compressed()
222 FileUtil.deleteFile(new File(logFile.getPath())); in testSaveLogData_compressed()
245 logFileReader = new BufferedReader(new FileReader(new File(logFile.getPath()))); in testSaveLogDataRaw()
[all …]
DATestFileSystemLogSaverTest.java63 File generatedDir = new File(saver.getLogReportDir().getPath()); in testGenerateLogReportDir()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DDynamicFileStubTest.java79 listener.testFailed(testId, String.format("%s doesn't exist.", mFile.getPath())); in checkDynamicFile()
92 nonExistFiles.add(file.getPath()); in checkDynamicFileList()
109 nonExistFiles.add(entry.getKey().getPath()); in checkDynamicFileMap()
112 nonExistFiles.add(entry.getValue().getPath()); in checkDynamicFileMap()
130 nonExistFiles.add(key.getPath()); in checkDynamicFileMultiMap()
134 nonExistFiles.add(value.getPath()); in checkDynamicFileMultiMap()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/params/
DMainlineModuleHandlerTest.java131 assertThat(preparer.getTestsFileName().get(0).getPath()) in testApplySetup_CompleteMainlineModulePath_inCI()
133 assertThat(preparer.getTestsFileName().get(1).getPath()) in testApplySetup_CompleteMainlineModulePath_inCI()
154 assertThat(preparer.getTestsFileName().get(0).getPath()) in testApplySetup_CompleteMainLineModulePath_inLocal()
156 assertThat(preparer.getTestsFileName().get(1).getPath()) in testApplySetup_CompleteMainLineModulePath_inLocal()
/tools/tradefederation/core/javatests/com/android/tradefed/config/gcs/
DGCSConfigurationFactoryTest.java189 public void getPath() throws Exception { in getPath() method in GCSConfigurationFactoryTest
190 String path = mGCSConfigLoader.getPath("path/to/file.xml", "file1.xml"); in getPath()
196 String path = mGCSConfigLoader.getPath("path/to/file.xml", "../file1.xml"); in getPath_withRelative()
202 String path = mGCSConfigLoader.getPath("file1.xml", "file2.xml"); in getPath_parentSameLevel()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DRemoteZipTest.java152 File targetFile = Paths.get(destDir.getPath(), "large_text", "file.txt").toFile(); in testDownloadFilesFromZip()
154 targetFile = Paths.get(destDir.getPath(), "executable", "executable_file").toFile(); in testDownloadFilesFromZip()
157 targetFile = Paths.get(destDir.getPath(), "empty/empty_file").toFile(); in testDownloadFilesFromZip()
DFileUtilFuncTest.java252 new File(fakeRoot, relRootDir.getPath()), in testFindDirsUnder()
253 new File(fakeRoot, relSubDir1.getPath()), in testFindDirsUnder()
254 new File(fakeRoot, relSubDir2.getPath())); in testFindDirsUnder()
418 String perms = ls(file.getPath()); in assertUnixPerms()
/tools/tradefederation/core/global_configuration/com/android/tradefed/config/gcs/
DGCSConfigurationFactory.java130 return getPath(parentName, name); in findConfigName()
141 String getPath(String parent, String filename) { in getPath() method in GCSConfigurationFactory.GCSConfigLoader
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/pandora/
DPtsBotTest.java320 CLog.i("Tests config file: %s", testsConfigFile.getPath()); in run()
383 c = mRunUtil.runTimedCmd(5000, "which", ptsBotPath.getPath()); in displayPtsBotVersion()
866 command.add(ptsBotPath.getPath()); in ptsBot()
868 command.add(testsConfigFile.getPath()); in ptsBot()
876 command.add(ptsSetupPath.getPath()); in ptsBot()
884 if (binTempDir != null) builder.environment().put("XDG_CACHE_HOME", binTempDir.getPath()); in ptsBot()
885 if (pythonHome != null) builder.environment().put("PYTHONHOME", pythonHome.getPath()); in ptsBot()
887 String pythonPath = mmi2grpc.getPath(); in ptsBot()
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DTestOutputUploaderTest.java78 File uploadedFile = new File(new URL(outputFileUrl).getPath()); in testUploadFile_fileProtocol_rootPath()
91 File uploadedFile = new File(new URL(outputFileUrl).getPath()); in testUploadFile_fileProtocol_withDestPath()
/tools/tradefederation/core/javatests/com/android/tradefed/config/
DDynamicRemoteFileResolverTest.java131 assertEquals("gs:/fake/path", object.remoteFile.getPath()); in testResolve()
157 assertEquals("gs:/fake/path?key=value", object.remoteFile.getPath()); in testResolveWithQuery()
181 assertEquals("gs:/fake/path?optional=true", object.remoteFile.getPath()); in testResolveOptional()
220 assertEquals("fake/file", notGsFile.getPath()); in testResolve_remoteFileList()
402 assertEquals("gs:/fake/path", object.remoteFile.getPath()); in testResolve_withNoGlobalNameSpace()
479 assertEquals("gs:/fake/path", object1.remoteFile.getPath()); in testResolveTwoObjects()
483 assertEquals("gs:/fake2/path2", object2.remoteFile.getPath()); in testResolveTwoObjects()
512 assertEquals("gs:/fake/path", object1.remoteFile.getPath()); in testResolveTwoObjects_sameValue()
516 assertEquals("gs:/fake/path", object2.remoteFile.getPath()); in testResolveTwoObjects_sameValue()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DSubprocessReportingHelper.java94 .getPath()); in buildSubprocessReporterJar()
130 String path = file.getPath(); in createJar()
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/
DBasePostProcessor.java484 FileUtil.deleteFile(new File(f.getPath())); in cleanUp()
490 if (Strings.isNullOrEmpty(original.getPath())) { in copyLogFile()
494 File originalFile = new File(original.getPath()); in copyLogFile()
496 CLog.d("%s doesn't exist and can't be copied for post processor.", original.getPath()); in copyLogFile()
/tools/tradefederation/core/src/com/android/tradefed/config/remote/
DLocalFileResolver.java33 String path = args.getConsideredFile().getPath(); in resolveRemoteFile()
DHttpRemoteFileResolver.java41 String path = consideredFile.getPath(); in resolveRemoteFile()
/tools/tradefederation/core/src/com/android/tradefed/result/
DLUCIResultReporter.java166 File logFullPathFile = new File(logFile.getPath()); in invocationEnded()
288 CLog.logAndDisplay(LogLevel.DEBUG, "JSON result for LUCI: %s", logFile.getPath()); in logResultFileLocation()
342 logFile.getPath(), logFile.getSize() / 1024.0); in printLog()
DXmlResultReporter.java116 log.getPath(), getNumTotalTests(), getNumAllFailedTests()); in generateSummary()
230 CLog.i("Saved %s log to %s", dataName, logFile.getPath()); in testLogSaved()
DTextResultReporter.java88 CLog.logAndDisplay(LogLevel.INFO, "Saved %s log to %s", dataName, logFile.getPath()); in testLogSaved()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DLogFile.java73 public String getPath() { in getPath() method in LogFile
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DVersionParser.java70 .getPath()); in getTradefedJarDir()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultParser.java630 info.getPath(), in handleLogs()
635 if (Strings.isNullOrEmpty(file.getPath())) { in handleLogs()
639 File path = new File(file.getPath()); in handleLogs()
646 entry.getKey(), type, file.getPath()); in handleLogs()
670 file.getPath(), in handleLogs()
/tools/asuite/asuite_plugin/src/java/com/android/atest/
DAtestUtils.java50 return currentFolder.getPath(); in getAndroidRoot()
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DGcovCodeCoverageCollectorTest.java155 Path path1 = filesystem.getPath("/path/to/coverage.gcda"); in test_logsCoverageZip()
159 Path path2 = filesystem.getPath("/path/to/.hidden/coverage2.gcda"); in test_logsCoverageZip()
286 Path path = filesystem.getPath("/path/to/coverage.gcda"); in testNoCollectOnTestEnd_noCoverageMeasurements()
/tools/tradefederation/core/src/com/android/tradefed/build/
DFileDownloadCache.java589 return super.put(new File(key).getPath(), value); in put()
595 return super.get(new File((String) key).getPath()); in get()
603 return super.remove(new File((String) key).getPath()); in remove()
/tools/tradefederation/core/test_framework/com/android/tradefed/postprocessor/
DStatsdGenericPostProcessor.java134 File reportFile = new File(logs.get(key).getPath()); in processStatsdReportsFromLogs()
173 CLog.e("Report file does not exist at supposed path %s.", logs.get(key).getPath()); in processStatsdReportsFromLogs()

1234