Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java503 private final AtomicFile mStatisticsFile; field in SyncStorageEngine
537 mStatisticsFile = new AtomicFile(new File(mSyncDir, STATISTICS_FILE_NAME), "sync-stats"); in SyncStorageEngine()
2435 if (parcelStats.exists() && !mStatisticsFile.exists()) { in upgradeStatisticsIfNeededLocked()
2441 if (DELETE_LEGACY_PARCEL_FILES && parcelStats.exists() && mStatisticsFile.exists()) { in upgradeStatisticsIfNeededLocked()
2452 if (!mStatisticsFile.exists()) { in readStatisticsLocked()
2456 try (FileInputStream in = mStatisticsFile.openRead()) { in readStatisticsLocked()
2533 Slog.v(TAG, "Writing new " + mStatisticsFile.getBaseFile()); in writeStatisticsLocked()
2542 fos = mStatisticsFile.startWrite(); in writeStatisticsLocked()
2544 mStatisticsFile.finishWrite(fos); in writeStatisticsLocked()
2550 mStatisticsFile.failWrite(fos); in writeStatisticsLocked()