Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DFileSystemLogSaverTest.java90 File generatedDir = new File(saver.getLogReportDir().getPath()); in testGetFileDir()
108 File newGeneratedDir = new File(newSaver.getLogReportDir().getPath()); in testGetFileDir()
130 File generatedDir = new File(saver.getLogReportDir().getPath()); in testGetFileDir_nobranch()
150 File retentionFile = new File(new File(saver.getLogReportDir().getPath()), in testGetFileDir_retention()
180 assertTrue(logFile.getPath().endsWith(LogDataType.ZIP.getFileExt())); in testSaveLogData_uncompressed()
182 zipFile = new ZipFile(new File(logFile.getPath())); in testSaveLogData_uncompressed()
192 FileUtil.deleteFile(new File(logFile.getPath())); in testSaveLogData_uncompressed()
215 logFileReader = new BufferedReader(new FileReader(new File(logFile.getPath()))); in testSaveLogData_compressed()
220 FileUtil.deleteFile(new File(logFile.getPath())); in testSaveLogData_compressed()
243 logFileReader = new BufferedReader(new FileReader(new File(logFile.getPath()))); in testSaveLogDataRaw()
[all …]
/tools/tradefederation/contrib/src/com/android/graphics/tests/
DSkiaTest.java121 if (dir == null || mDevice.doesFileExist(dir.getPath())) { in mkdirs()
125 String dirName = dir.getPath(); in mkdirs()
137 String path = mOutputFile.getPath(); in prepareDevice()
150 String pngPath = mPngDir.getPath(); in prepareDevice()
179 String remotePath = remoteFile.getPath(); in retrieveAndUploadFile()
188 CLog.v("pulled result file to " + localFile.getPath()); in retrieveAndUploadFile()
194 CLog.w("Failed to delete temporary file %s", localFile.getPath()); in retrieveAndUploadFile()
216 String pngDir = mPngDir.getPath(); in retrieveFiles()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DDynamicFileStubTest.java77 listener.testFailed(testId, String.format("%s doesn't exist.", mFile.getPath())); in checkDynamicFile()
90 nonExistFiles.add(file.getPath()); in checkDynamicFileList()
107 nonExistFiles.add(entry.getKey().getPath()); in checkDynamicFileMap()
110 nonExistFiles.add(entry.getValue().getPath()); in checkDynamicFileMap()
128 nonExistFiles.add(key.getPath()); in checkDynamicFileMultiMap()
132 nonExistFiles.add(value.getPath()); in checkDynamicFileMultiMap()
/tools/tradefederation/core/tests/src/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/src/com/android/tradefed/result/proto/
DProtoResultParser.java376 info.getPath(), in handleLogs()
381 if (file.getPath() == null) { in handleLogs()
385 File path = new File(file.getPath()); in handleLogs()
390 if (file.getPath().endsWith(LogDataType.ZIP.getFileExt())) { in handleLogs()
393 log("Logging %s from subprocess: %s ", entry.getKey(), file.getPath()); in handleLogs()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DPerfettoPreparerTest.java79 mOptionSetter.setOptionValue("binary-perfetto-config", perfettoTextFile.getPath()); in testLocalPerfettoBinaryValid()
113 mOptionSetter.setOptionValue("textproto-perfetto-config", perfettoTextFile.getPath()); in testLocalPerfettoTextNotValid()
131 mOptionSetter.setOptionValue("textproto-perfetto-config", perfettoTextFile.getPath()); in testLocalPerfettoTextValid()
DDefaultTestsZipInstallerTest.java157 + SOME_PATH_1.getPath()))).andReturn(""); in testPushTestsZipOntoData()
160 + SOME_PATH_2.getPath()))).andReturn(""); in testPushTestsZipOntoData()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DDynamicRemoteFileResolverTest.java105 assertEquals("gs:/fake/path", object.remoteFile.getPath()); in testResolve()
158 assertEquals("fake/file", notGsFile.getPath()); in testResolve_remoteFileList()
322 assertEquals("gs:/fake/path", object.remoteFile.getPath()); in testResolve_withNoGlobalNameSpace()
402 assertEquals("fakeprotocol:/fake/path", object.remoteFile.getPath()); in testResolve_addition()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
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()
DSubprocessTestResultsParserTest.java499 assertEquals(logFile.getPath(), received.getPath()); in testParse_logAssociation()
/tools/tradefederation/core/src/com/android/tradefed/build/
DFileDownloadCache.java478 return super.put(new File(key).getPath(), value); in put()
484 return super.get(new File((String) key).getPath()); in get()
492 return super.remove(new File((String) key).getPath()); in remove()
/tools/tradefederation/core/src/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/tests/src/com/android/tradefed/result/proto/
DProtoResultParserTest.java203 assertEquals(logFile.getPath(), capturedFile.getPath()); in testEvents()
480 assertEquals(logFile.getPath(), capturedFile.getPath()); in testEvents_subprocess()
/tools/tradefederation/core/src/com/android/tradefed/result/
DXmlResultReporter.java118 "Failed %d", log.getPath(), getNumTotalTests(), getNumAllFailedTests()); in generateSummary()
221 logFile.getPath())); in testLogSaved()
DLogFile.java73 public String getPath() { in getPath() method in LogFile
DTextResultReporter.java90 CLog.logAndDisplay(LogLevel.INFO, "Saved %s log to %s", dataName, logFile.getPath()); in testLogSaved()
DConsoleResultReporter.java79 sb.append(String.format(" %s\n", url != null ? url : logFile.getPath())); in getInvocationSummary()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DNativeCodeCoverageListenerTest.java130 Path path1 = filesystem.getPath("/path/to/coverage.gcda"); in test_logsCoverageZip()
134 Path path2 = filesystem.getPath("/path/to/.hidden/coverage2.gcda"); in test_logsCoverageZip()
/tools/tradefederation/core/src/com/android/tradefed/config/
DDynamicRemoteFileResolver.java106 consideredFile.getPath(), e.getMessage()), in validateRemoteFilePath()
221 String path = consideredFile.getPath(); in resolveRemoteFiles()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DPushFilePreparer.java265 "Trying to push local '%s' to remote '%s'", src.getPath(), remotePath)); in setUp()
310 String localPath = src.getPath(); in evaluatePushingPair()
DInstallBuildEnvApkSetup.java76 File testAppDir = new File(FileUtil.getPath(buildRoot, "data", "app")); in getDataAppDirFromBuildEnv()
DDefaultTestsZipInstaller.java132 device.executeShellCommand("chown system.system " + dir.getPath()); in pushTestsZipOntoData()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/
DGameQualificationResultReporter.java137 sb.append(String.format(" %s\n", url != null ? url : logFile.getPath())); in getInvocationSummary()
217 sb.append(logFile.getPath()); in getInvocationSummary()
/tools/tradefederation/core/src/com/android/tradefed/config/remote/
DGcsRemoteFileResolver.java40 String path = consideredFile.getPath(); in resolveRemoteFiles()
/tools/tradefederation/contrib/src/com/android/regression/tests/
DMetricsXmlParser.java140 throw new ParseException("Unable to parse " + xml.getPath(), e); in parse()

12