Searched refs:mCheckinFile (Results 1 – 2 of 2) sorted by relevance
908 synchronized (mStats.mCheckinFile) { in dump()909 if (mStats.mCheckinFile.exists()) { in dump()911 byte[] raw = mStats.mCheckinFile.readFully(); in dump()922 mStats.mCheckinFile.delete(); in dump()927 + mStats.mCheckinFile.getBaseFile(), e); in dump()
113 public final AtomicFile mCheckinFile; field in BatteryStatsImpl448 mCheckinFile = null; in BatteryStatsImpl()6406 mCheckinFile = new AtomicFile(new File(systemDir, "batterystats-checkin.bin")); in BatteryStatsImpl()6469 mCheckinFile = null; in BatteryStatsImpl()6849 synchronized (mCheckinFile) { in setOnBatteryLocked()6852 stream = mCheckinFile.startWrite(); in setOnBatteryLocked()6857 mCheckinFile.finishWrite(stream); in setOnBatteryLocked()6861 mCheckinFile.failWrite(stream); in setOnBatteryLocked()