Home
last modified time | relevance | path

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

/tools/tradefederation/core/javatests/com/android/tradefed/util/
DZipUtilTest.java250 .filter(e -> e.getFileName().equals("empty/empty_file")) in testPartipUnzip()
253 targetFile = new File(Paths.get(tmpDir.toString(), zipEntry.getFileName()).toString()); in testPartipUnzip()
271 .filter(e -> e.getFileName().equals("large_text/file.txt")) in testPartipUnzip()
274 targetFile = new File(Paths.get(tmpDir.toString(), zipEntry.getFileName()).toString()); in testPartipUnzip()
302 .filter(e -> e.getFileName().equals("executable/executable_file")) in testPartipUnzip()
305 targetFile = new File(Paths.get(tmpDir.toString(), zipEntry.getFileName()).toString()); in testPartipUnzip()
321 .filter(e -> e.getFileName().equals("read_only/readonly_file")) in testPartipUnzip()
324 targetFile = new File(Paths.get(tmpDir.toString(), zipEntry.getFileName()).toString()); in testPartipUnzip()
340 .filter(e -> e.getFileName().equals("read_only/")) in testPartipUnzip()
343 targetFile = new File(Paths.get(tmpDir.toString(), zipEntry.getFileName()).toString()); in testPartipUnzip()
[all …]
DRemoteZipTest.java142 if (info.getFileName().equals("large_text/file.txt") in testDownloadFilesFromZip()
143 || info.getFileName().equals("executable/executable_file")) { in testDownloadFilesFromZip()
DZipUtilFuncTest.java178 if (zipEntry.getName().equals(entry.getFileName())) { in validateCentralDirectoryInfos()
/tools/tradefederation/core/src/com/android/tradefed/util/
DRemoteZip.java185 File targetFile = new File(destDir, info.getFileName()); in downloadFiles()
187 skipDownloadName.add(info.getFileName()); in downloadFiles()
204 File targetFile = new File(destDir, info.getFileName()); in downloadFiles()
209 info.getFileName(), in downloadFiles()
213 CLog.d("Retrieved %s from cache", info.getFileName()); in downloadFiles()
313 new File(Paths.get(destDir.toString(), entry.getFileName()).toString()); in unzipDownloadedCollection()
317 entry.getFileName()); in unzipDownloadedCollection()
334 entry.getFileName(), targetFile.length()); in unzipDownloadedCollection()
342 targetFile, entry.getFileName(), Long.toString(entry.getCrc())); in unzipDownloadedCollection()
DGCSFileDownloader.java277 String subFilename = Paths.get(subRemoteFile.getName()).getFileName().toString(); in recursiveCheckFolderFreshness()
284 String subFolderName = Paths.get(subRemoteFolder).getFileName().toString(); in recursiveCheckFolderFreshness()
454 String subFilename = Paths.get(subRemoteFile.getName()).getFileName().toString(); in recursiveDownloadFolder()
460 String subFolderName = Paths.get(subRemoteFolder).getFileName().toString(); in recursiveDownloadFolder()
/tools/test/graphicsbenchmark/performance_tests/helper/test/com/android/game/qualification/
DGameCoreConfigurationXmlParserTest.java69 assertEquals("foo.apk", apk.getFileName()); in testSingleApkInfo()
101 assertEquals("foo.apk", apk.getFileName()); in testOptionalFields()
160 assertEquals("foo.apk", apk.getFileName()); in testApkWithArguments()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/
DPerformanceTest.java152 File apkFile = findApk(mApk.getFileName()); in setUp()
156 mApk.getFileName(), in setUp()
170 File apkFile = findApk(mApk.getFileName()); in run()
174 mApk.getFileName(), in run()
/tools/tradefederation/core/javatests/com/android/tradefed/util/zip/
DCentralDirectoryInfoTest.java106 assertEquals(info.getFileName(), TEST_FILE_NAME); in centralDirectoryInfo()
120 assertEquals(info.getFileName(), TEST_FILE_NAME); in centralDirectoryInfo_symLink()
/tools/asuite/atest/coverage/com/android/jacocolcov/
DJacocoToLcovConverter.java160 .forEach(p -> sourceFiles.put(p.getFileName().toString(), p.toAbsolutePath())); in indexSourcePath()
221 writeLine(writer, "TN:%s", outputFile.getFileName()); in write()
318 String key = Paths.get(filename).getFileName().toString(); in findSourceFileMatching()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DGTest.java205 createResultParser(getFileName(filePath), listener); in doRunAllTestsInSubdirectory()
224 String getFileName(String fullPath) { in getFileName() method in GTest
249 String fileName = getFileName(fullPath); in shouldRunFile()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DFilePullerDeviceMetricCollector.java165 getFileName(key)); in processMetricRequest()
183 private String getFileName(String key) { in getFileName() method in FilePullerDeviceMetricCollector
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/
DRustBinaryTest.java102 String getFileName(String fullPath) { in getFileName() method in RustBinaryTest
121 String fileName = getFileName(fullPath); in shouldSkipFile()
/tools/test/graphicsbenchmark/performance_tests/helper/src/com/android/game/qualification/
DApkInfo.java106 public String getFileName() { in getFileName() method in ApkInfo
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DZipUtil.java561 if (zipEntry.getFileName().endsWith("/")) { in unzipPartialZipFile()
616 CLog.e("Failed to unzip %s", zipEntry.getFileName()); in unzipPartialZipFile()
694 CLog.e("Failed to unzip %s", zipEntry.getFileName()); in unzipSymlink()
DFileUtil.java1254 stream.filter(path -> path.getFileName().toString().matches(filter)) in findFiles()
1355 stream.filter(path -> path.getFileName().toString().matches(filter)) in findFilesObject()
1360 path.getFileName().toString().matches(filter) in findFilesObject()
/tools/tradefederation/core/common_util/com/android/tradefed/util/zip/
DCentralDirectoryInfo.java132 public String getFileName() { in getFileName() method in CentralDirectoryInfo
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DCreateAvdPreparer.java154 return path.getFileName() in getSystemImagePath()
DModulePusher.java325 Path target = toRename.getParent().resolve(packagePath.getFileName()); in pushFile()
DTestAppInstallSetup.java770 apkPath.getFileName()), in addPackageToIncrementalInstallSession()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DGTestTest.java468 assertEquals(expected, mGTest.getFileName(s1)); in testGetFileName()
469 assertEquals(expected, mGTest.getFileName(s2)); in testGetFileName()
471 mGTest.getFileName(s3); in testGetFileName()
/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/
DTestMapping.java260 if (matchedPatternFilePath.getFileName().toString().equals(TEST_MAPPING)) { in isMatchedFilePatterns()
513 stream.filter(path -> path.getFileName().toString().equals(TEST_MAPPING)) in getTests()
586 stream.filter(path -> path.getFileName().toString().equals(TEST_MAPPING)) in getAllTests()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterLogSaver.java318 Path zipPath = zip.getPath(path.getFileName().toString()); in appendFilesToContext()
/tools/asuite/atest/bazel/runner/src/com/android/tradefed/testtype/bazel/
DBazelTest.java738 module + "-" + testOutput.getFileName().toString(), in uploadTestModuleOutputs()
782 filePrefix + traceFile.getFileName().toString(), in collectTraceFileLogCalls()
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DGcovKernelCodeCoverageCollectorTest.java442 var fileName = Paths.get(fullFileName).getFileName().toString(); in createTar()
/tools/tradefederation/contrib/src/com/android/uicd/tests/
DUiConductorTest.java371 Path destFile = destDir.resolve(srcFile.getFileName()); in copyFile()