Searched refs:toFile (Results 1 – 9 of 9) sorted by relevance
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | FileUtils.java | 57 public static boolean renameTo(final File fromFile, final File toFile) { in renameTo() argument 58 toFile.delete(); in renameTo() 59 return fromFile.renameTo(toFile); in renameTo()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
D | ArchiveFileTestRule.java | 84 path.toFile().delete(); in finished() 88 mTemporaryPath.toFile().delete(); in finished() 143 .open(destinationPath.toFile(), MODE_READ_ONLY); in openAssetFile()
|
/packages/providers/MediaProvider/src/com/android/providers/media/scan/ |
D | PlaylistResolver.java | 104 final File itemFile = parentPath.resolve(line).toFile(); in resolvePlaylistM3u() 128 final File itemFile = parentPath.resolve(matcher.group(2)).toFile(); in resolvePlaylistPls() 158 final File itemFile = parentPath.resolve(src).toFile(); in resolvePlaylistWpl()
|
D | ModernMediaScanner.java | 355 if (isDirectoryHidden(dir.toFile())) { in preVisitDirectory() 371 final File realFile = file.toFile(); in visitFile() 406 op = scanItem(existingId, file.toFile(), attrs, mVolumeName); in visitFile()
|
/packages/services/Car/tests/common_utils/src/com/android/car/test/utils/ |
D | TemporaryDirectory.java | 82 return mDirectory.toFile(); in getDirectory()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | CaptureDataSerializer.java | 67 public static void toFile(String title, CameraMetadata<?> metadata, File file) { in toFile() method in CaptureDataSerializer
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
D | FileUtils.java | 470 public static File toFile(URL url) { in toFile() method in FileUtils 518 files[i] = toFile(url); in toFiles()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarUxRestrictionsManagerServiceTest.java | 91 mTempSystemCarDir = Files.createTempDirectory("uxr_test").toFile(); in setUp()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | OneCameraImpl.java | 411 CaptureDataSerializer.toFile("Normal Capture", request, new File(debugDataDir, in takePictureNow()
|