Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsHistoryTest.java144 assertEquals(expectedFile.getPath(), history.getActiveFile().getBaseFile().getPath()); in verifyActiveFile()
163 final File file = history.getActiveFile().getBaseFile(); in createActiveFile()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java428 public AtomicFile getActiveFile() { in getActiveFile() method in BatteryStatsHistory
DBatteryStatsImpl.java12170 if (mStatsFile != null && mBatteryStatsHistory.getActiveFile() != null) { in setOnBatteryLocked()
13260 if (mBatteryStatsHistory.getActiveFile() == null) { in writeHistoryLocked()
13277 writeParcelToFileLocked(p, mBatteryStatsHistory.getActiveFile(), sync); in writeHistoryLocked()
13328 if (mBatteryStatsHistory.getActiveFile() == null) { in readLocked()
13358 byte[] raw = mBatteryStatsHistory.getActiveFile().readFully(); in readLocked()
13366 + mBatteryStatsHistory.getActiveFile().getBaseFile().getPath() in readLocked()
/frameworks/base/config/
Dboot-image-profile.txt20466 HSPLcom/android/internal/os/BatteryStatsHistory;->getActiveFile()Lcom/android/internal/os/AtomicFil…