Searched refs:mCurrentVersion (Results 1 – 2 of 2) sorted by relevance
123 private int mCurrentVersion; field in UsageStatsDatabase147 mCurrentVersion = version; in UsageStatsDatabase()356 if (version != mCurrentVersion) { in checkVersionAndBuildLocked()357 Slog.i(TAG, "Upgrading from version " + version + " to " + mCurrentVersion); in checkVersionAndBuildLocked()363 "Failed to upgrade from version " + version + " to " + mCurrentVersion, in checkVersionAndBuildLocked()366 mCurrentVersion = version; in checkVersionAndBuildLocked()385 if (mCurrentVersion >= 4) { in checkVersionAndBuildLocked()389 + mCurrentVersion); in checkVersionAndBuildLocked()393 if (version != mCurrentVersion || mNewUpdate) { in checkVersionAndBuildLocked()395 writer.write(Integer.toString(mCurrentVersion)); in checkVersionAndBuildLocked()[all …]
86 private int mCurrentVersion; field in NotificationHistoryDatabase96 mCurrentVersion = DEFAULT_CURRENT_VERSION; in NotificationHistoryDatabase()150 if (version != mCurrentVersion && mVersionFile.exists()) { in checkVersionAndBuildLocked()152 writer.write(Integer.toString(mCurrentVersion)); in checkVersionAndBuildLocked()307 NotificationHistoryProtoHelper.write(fos, notifications, mCurrentVersion); in writeLocked()