Searched refs:toFile (Results 1 – 19 of 19) sorted by relevance
57 public static boolean renameTo(final File fromFile, final File toFile) { in renameTo() argument58 toFile.delete(); in renameTo()59 return fromFile.renameTo(toFile); in renameTo()
89 TzS2Polygons.listFiles(outputDirPath.toFile(), DEFAULT_PROTO_STORAGE_FORMAT); in regressionTest()109 TzS2Polygons.load(expectedPolyFile.toFile(), DEFAULT_PROTO_STORAGE_FORMAT); in checkOutputPolyFile()110 File actualTzS2PolygonsFile = new File(outputDirPath.toFile(), expectedTzS2PolygonResource); in checkOutputPolyFile()
84 path.toFile().delete(); in finished()88 mTemporaryPath.toFile().delete(); in finished()143 .open(destinationPath.toFile(), MODE_READ_ONLY); in openAssetFile()
85 File actualOutputFile = new File(outputDirPath.toFile(), expectedFileName); in regressionTest()89 TzS2Ranges expected = TzS2Ranges.load(expectedOuputFilePath.toFile(), storageFormat); in regressionTest()
85 File actualOutputFile = new File(outputDirPath.toFile(), expectedFileName); in regressionTest()89 TzS2CellUnion expected = TzS2CellUnion.load(expectedOutputFilePath.toFile(), storageFormat); in regressionTest()
72 File actualOutputFile = outputFilePath.toFile(); in regressionTest()80 GeotzProtos.TimeZones expected = loadTzS2ProtoDataFile(expectedFilePath.toFile()); in regressionTest()
84 File actualOutputFile = new File(outputDirPath.toFile(), expectedFileName); in regressionTest()88 TzS2Polygons expected = TzS2Polygons.load(expectedOutputFilePath.toFile(), storageFormat); in regressionTest()
90 File actualFile = actualFilePath.toFile(); in regressionTest()98 TzS2Ranges expected = TzS2Ranges.load(expectedOutputFilePath.toFile(), storageFormat); in regressionTest()
662 if (!shouldScanDirectory(dir.toFile())) { in preVisitDirectory()669 } else if (FileUtils.isDirectoryDirty(FileUtils.getTopLevelNoMedia(dir.toFile()))) { in preVisitDirectory()674 mPendingCleanDirectories.add(dir.toFile().getPath()); in preVisitDirectory()676 Log.d(TAG, "Skipping preVisitDirectory " + dir.toFile()); in preVisitDirectory()678 mExcludeDirs.add(dir.toFile().getPath()); in preVisitDirectory()682 + dir.toFile()); in preVisitDirectory()691 if (FileUtils.isDirectoryHidden(dir.toFile())) { in preVisitDirectory()708 final File realFile = file.toFile(); in visitFile()882 if (FileUtils.isDirectoryHidden(dir.toFile())) { in postVisitDirectory()892 if (mPendingCleanDirectories.remove(dir.toFile().getPath())) { in postVisitDirectory()[all …]
126 persistentDir = sPersistentDir.toFile(); in trimPersistent()174 if (sPersistentFile != null && sPersistentFile.toFile().length() < PERSISTENT_SIZE) { in resolveCurrentPersistentFileLocked()
482 path.toFile().delete(); in deleteContents()
82 return mDirectory.toFile(); in getDirectory()
46 mGeoDataFile = geoDataPath.toFile(); in setUp()
67 public static void toFile(String title, CameraMetadata<?> metadata, File file) { in toFile() method in CaptureDataSerializer
111 Files.createTempDirectory(mActivity.getFilesDir().toPath(), "testDir").toFile(); in onCreateView()
134 mTempSystemCarDir = Files.createTempDirectory("uxr_test").toFile(); in setUp()
413 CaptureDataSerializer.toFile("Normal Capture", request, new File(debugDataDir, in takePictureNow()
654 return ParcelFileDescriptor.open(pictureFile.toFile(), modeInt); in openFile()
6795 playlist.read(playlistPath.toFile());6845 final String data = path.toFile().getCanonicalPath();6858 new String[] { path.toFile().getName() }, null)) {7638 deleteAndInvalidate(path.toFile());