Home
last modified time | relevance | path

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

/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java123 private int mCurrentVersion; field in UsageStatsDatabase
147 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 …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryDatabase.java86 private int mCurrentVersion; field in NotificationHistoryDatabase
96 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()