Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DEntropyMixer.java136 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()
DRandomBlock.java65 void toFile(String filename, boolean sync) throws IOException { in toFile() method in RandomBlock
/frameworks/support/jetifier/jetifier/core/src/main/kotlin/com/android/tools/build/jetifier/core/config/
DConfigParser.kt37 FileWriter(outputPath.toFile()).use { in writeToFile()
80 val config = parseFromString(configPath.toFile().readText()) in loadConfigFileInternal()
/frameworks/support/core/ktx/src/main/java/androidx/core/net/
DUri.kt39 inline fun Uri.toFile(): File = File(path) method
/frameworks/support/jetifier/jetifier/standalone/src/main/kotlin/com/android/tools/build/jetifier/standalone/
DTopOfTreeBuilder.kt57 val name = pomFile.relativePath.toFile().nameWithoutExtension in <lambda>()
82 val packaging = artifactFile.relativePath.toFile().extension in <lambda>()
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/net/
DUriTest.kt37 assertEquals(File(uri.path), uri.toFile()) in fileFromUri()
/frameworks/support/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/
DChangeDetectionTest.kt208 setOf(FileMapping(sourceArchive, expectedFileIfRefactored.toFile())), in testChange()
212 Truth.assertThat(resultFiles).containsExactly(expectedFileIfRefactored.toFile()) in testChange()
/frameworks/base/telephony/java/android/telephony/mbms/
DMbmsDownloadReceiver.java459 Path toFile = appSpecifiedPath.resolve(relativeLocation); in moveToFinalLocation() local
461 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()
/frameworks/base/tools/preload/
DCompile.java71 root.toFile(args[1]); in main()
DWritePreloadedClassFile.java130 root.toFile(rootFile); in main()
DRoot.java134 void toFile(String fileName) throws IOException { in toFile() method in Root
DMemoryUsage.java296 root.toFile(args[0]); in main()
/frameworks/support/jetifier/jetifier/preprocessor/src/main/kotlin/com/android/tools/build/jetifier/preprocessor/
DConfigGenerator.kt72 saveConfigToFile(newConfig, outputConfigPath.toFile()) in <lambda>()
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/bytecode/
DCoreRemapperImpl.kt97 val owner = path.toFile().path.replace('\\', '/').removeSuffix(".class") in rewritePath()
/frameworks/base/media/java/android/mtp/
DMtpStorageManager.java183 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()
DMtpDatabase.java565 boolean success = oldPath.toFile().renameTo(newPath.toFile()); in renameFile()
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/archive/
DArchive.kt93 val file = outputPath.toFile() in writeSelfToFile()
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/
DProcessor.kt211 .map { it.relativePath.toFile() } in transform()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java1435 final File toFile = new File(toDir, fromFile.getName()); in copyFiles() local
1436 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()
/frameworks/base/media/tests/MtpTests/src/android/mtp/
DMtpStorageManagerTest.java538 File toFile = new File(mainStorageDir, "to" + newFile.getName()); in testObjectMoved() local
540 Assert.assertTrue(newFile.renameTo(toFile)); in testObjectMoved()
545 toFile.getPath()); in testObjectMoved()
/frameworks/support/core/ktx/api/
Dcurrent.txt325 method public static java.io.File toFile(android.net.Uri);
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/base/config/
Dhiddenapi-public-dex.txt61810 Ljava/nio/file/Path;->toFile()Ljava/io/File;
Dboot-image-profile.txt47087 HSPLjava/nio/file/Path;->toFile()Ljava/io/File;
/frameworks/base/api/
Dcurrent.txt60373 method public abstract java.io.File toFile();