Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/java/com/android/internal/os/
H A DBatteryUsageStatsStore.java74 private final File mLockFile; field in BatteryUsageStatsStore
91 mLockFile = new File(mStoreDir, DIR_LOCK_FILENAME); in BatteryUsageStatsStore()
236 mLockFile.getParentFile().mkdirs(); in lockSnapshotDirectory()
237 mLockFile.createNewFile(); in lockSnapshotDirectory()
238 return FileChannel.open(mLockFile.toPath(), StandardOpenOption.WRITE).lock(); in lockSnapshotDirectory()