/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | FileSystemLogSaverTest.java | 90 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/ |
D | SkiaTest.java | 121 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/ |
D | DynamicFileStubTest.java | 77 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/ |
D | GCSConfigurationFactoryTest.java | 189 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/ |
D | ProtoResultParser.java | 376 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/ |
D | PerfettoPreparerTest.java | 79 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()
|
D | DefaultTestsZipInstallerTest.java | 157 + SOME_PATH_1.getPath()))).andReturn(""); in testPushTestsZipOntoData() 160 + SOME_PATH_2.getPath()))).andReturn(""); in testPushTestsZipOntoData()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | DynamicRemoteFileResolverTest.java | 105 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/ |
D | FileUtilFuncTest.java | 252 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()
|
D | SubprocessTestResultsParserTest.java | 499 assertEquals(logFile.getPath(), received.getPath()); in testParse_logAssociation()
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | FileDownloadCache.java | 478 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/ |
D | GCSConfigurationFactory.java | 130 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/ |
D | ProtoResultParserTest.java | 203 assertEquals(logFile.getPath(), capturedFile.getPath()); in testEvents() 480 assertEquals(logFile.getPath(), capturedFile.getPath()); in testEvents_subprocess()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | XmlResultReporter.java | 118 "Failed %d", log.getPath(), getNumTotalTests(), getNumAllFailedTests()); in generateSummary() 221 logFile.getPath())); in testLogSaved()
|
D | LogFile.java | 73 public String getPath() { in getPath() method in LogFile
|
D | TextResultReporter.java | 90 CLog.logAndDisplay(LogLevel.INFO, "Saved %s log to %s", dataName, logFile.getPath()); in testLogSaved()
|
D | ConsoleResultReporter.java | 79 sb.append(String.format(" %s\n", url != null ? url : logFile.getPath())); in getInvocationSummary()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | NativeCodeCoverageListenerTest.java | 130 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/ |
D | DynamicRemoteFileResolver.java | 106 consideredFile.getPath(), e.getMessage()), in validateRemoteFilePath() 221 String path = consideredFile.getPath(); in resolveRemoteFiles()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | PushFilePreparer.java | 265 "Trying to push local '%s' to remote '%s'", src.getPath(), remotePath)); in setUp() 310 String localPath = src.getPath(); in evaluatePushingPair()
|
D | InstallBuildEnvApkSetup.java | 76 File testAppDir = new File(FileUtil.getPath(buildRoot, "data", "app")); in getDataAppDirFromBuildEnv()
|
D | DefaultTestsZipInstaller.java | 132 device.executeShellCommand("chown system.system " + dir.getPath()); in pushTestsZipOntoData()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/ |
D | GameQualificationResultReporter.java | 137 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/ |
D | GcsRemoteFileResolver.java | 40 String path = consideredFile.getPath(); in resolveRemoteFiles()
|
/tools/tradefederation/contrib/src/com/android/regression/tests/ |
D | MetricsXmlParser.java | 140 throw new ParseException("Unable to parse " + xml.getPath(), e); in parse()
|