Home
last modified time | relevance | path

Searched refs:mBaseFile (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/utiltests/src/android/util/
DAtomicFileTest.java88 private File mBaseFile; field in AtomicFileTest
204 mBaseFile = new File(mDirectory, BASE_NAME); in setUp()
211 mBaseFile.delete(); in deleteFiles()
222 writeBytes(mBaseFile, BASE_BYTES); in testAtomicFile()
231 assertTrue(mBaseFile.mkdir()); in testAtomicFile()
239 AtomicFile atomicFile = new AtomicFile(mBaseFile); in testAtomicFile()
275 AtomicFile atomicFile = new AtomicFile(mBaseFile); in testToString()
280 assertThat(toString).contains(mBaseFile.getAbsolutePath()); in testToString()
287 var file = new AtomicFile(mBaseFile, logger); in testTimeLogging()
/frameworks/base/services/core/java/com/android/server/power/
DShutdownCheckPoints.java352 private final File mBaseFile; field in ShutdownCheckPoints.FileDumperThread
357 mBaseFile = baseFile; in FileDumperThread()
363 mBaseFile.getParentFile().mkdirs(); in run()
372 mBaseFile.getAbsolutePath(), System.currentTimeMillis())); in run()
377 String filePrefix = mBaseFile.getName() + "-"; in listCheckPointsFiles()
378 File[] files = mBaseFile.getParentFile().listFiles(new FilenameFilter() { in listCheckPointsFiles()
400 AtomicFile tmpFile = new AtomicFile(mBaseFile); in writeCheckpoints()
414 mBaseFile.renameTo(file); in writeCheckpoints()