Searched refs:toFile (Results 1 – 25 of 25) sorted by relevance
136 RandomBlock.fromFile(entropyFile).toFile(randomDevice, false); in loadInitialEntropy()147 RandomBlock.fromFile(randomDevice).toFile(entropyFile, true); in writeEntropy()205 RandomBlock.fromFile(hwRandomDevice).toFile(randomDevice, false); in addHwRandomEntropy()
65 void toFile(String filename, boolean sync) throws IOException { in toFile() method in RandomBlock
37 FileWriter(outputPath.toFile()).use { in writeToFile()80 val config = parseFromString(configPath.toFile().readText()) in loadConfigFileInternal()
39 inline fun Uri.toFile(): File = File(path) method
57 val name = pomFile.relativePath.toFile().nameWithoutExtension in <lambda>()82 val packaging = artifactFile.relativePath.toFile().extension in <lambda>()
37 assertEquals(File(uri.path), uri.toFile()) in fileFromUri()
208 setOf(FileMapping(sourceArchive, expectedFileIfRefactored.toFile())), in testChange()212 Truth.assertThat(resultFiles).containsExactly(expectedFileIfRefactored.toFile()) in testChange()
459 Path toFile = appSpecifiedPath.resolve(relativeLocation); in moveToFinalLocation() local461 if (!Files.isDirectory(toFile.getParent())) { in moveToFinalLocation()462 Files.createDirectories(toFile.getParent()); in moveToFinalLocation()464 Path result = Files.move(fromFile, toFile, in moveToFinalLocation()467 return Uri.fromFile(result.toFile()); in moveToFinalLocation()
71 root.toFile(args[1]); in main()
130 root.toFile(rootFile); in main()
134 void toFile(String fileName) throws IOException { in toFile() method in Root
296 root.toFile(args[0]); in main()
72 saveConfigToFile(newConfig, outputConfigPath.toFile()) in <lambda>()
97 val owner = path.toFile().path.replace('\\', '/').removeSuffix(".class") in rewritePath()
183 return getPath().toFile().lastModified() / 1000; in getModifiedTime()195 return mIsDir ? 0 : getPath().toFile().length(); in getSize()274 return getPath().toFile().exists(); in exists()571 file.toFile().isDirectory()); in getChildren()704 file.toFile().isDirectory()); in handleAddedObject()
565 boolean success = oldPath.toFile().renameTo(newPath.toFile()); in renameFile()
93 val file = outputPath.toFile() in writeSelfToFile()
211 .map { it.relativePath.toFile() } in transform()
1435 final File toFile = new File(toDir, fromFile.getName()); in copyFiles() local1436 if (LOGD) Slog.d(TAG, "Renaming " + tmpFile + " to " + toFile); in copyFiles()1437 if (!tmpFile.renameTo(toFile)) { in copyFiles()1438 throw new IOException("Failed to rename " + tmpFile + " to " + toFile); in copyFiles()
538 File toFile = new File(mainStorageDir, "to" + newFile.getName()); in testObjectMoved() local540 Assert.assertTrue(newFile.renameTo(toFile)); in testObjectMoved()545 toFile.getPath()); in testObjectMoved()
325 method public static java.io.File toFile(android.net.Uri);
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
61810 Ljava/nio/file/Path;->toFile()Ljava/io/File;
47087 HSPLjava/nio/file/Path;->toFile()Ljava/io/File;
60373 method public abstract java.io.File toFile();