Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java157 private AtomicFile mActiveFile; field in BatteryStatsHistory
724 return !mMutable || mActiveFile == null/* || mHistoryDir == null*/; in isReadOnly()
731 mActiveFile = file.atomicFile; in setActiveFile()
733 Slog.d(TAG, "activeHistoryFile:" + mActiveFile.getBaseFile().getPath()); in setActiveFile()
757 mActiveFile.getBaseFile().createNewFile(); in startNextFileLocked()
759 Slog.e(TAG, "Could not create history file: " + mActiveFile.getBaseFile()); in startNextFileLocked()
1085 if (mActiveFile == null) { in readSummary()
1093 if (mActiveFile.exists()) { in readSummary()
1094 byte[] raw = mActiveFile.readFully(); in readSummary()
1102 + mActiveFile.getBaseFile().getPath() in readSummary()
[all …]