Searched refs:mUptimeFile (Results 1 – 1 of 1) sorted by relevance
75 private File mUptimeFile; field in UptimeTracker112 mUptimeFile = Objects.requireNonNull(file); in UptimeTracker()127 mUptimeFile = null; in onDestroy()148 if (!mHistoricalUptime.isPresent() && mUptimeFile != null && mUptimeFile.exists()) { in getHistoricalUptimeLocked()150 JsonReader reader = new JsonReader(new FileReader(mUptimeFile)); in getHistoricalUptimeLocked()154 mUptimeFile + " is not in a valid format"); in getHistoricalUptimeLocked()170 if (mUptimeFile == null) { in flushSnapshot()179 JsonWriter writer = new JsonWriter(new FileWriter(mUptimeFile)); in flushSnapshot()