Home
last modified time | relevance | path

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

/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java98 public static final int BACKUP_VERSION = 4; field in UsageStatsDatabase
1262 return getBackupPayload(key, BACKUP_VERSION); in getBackupPayload()
1274 if (version < 1 || version > BACKUP_VERSION) { in getBackupPayload()
1364 if (backupDataVersion < 1 || backupDataVersion > BACKUP_VERSION) { in applyRestoredPayload()
DUsageStatsService.java847 writer.write(Integer.toString(UsageStatsDatabase.BACKUP_VERSION)); in migrateStatsToSystemCeIfNeededLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java477 if (version < 1 || version > UsageStatsDatabase.BACKUP_VERSION) {
495 if (version > UsageStatsDatabase.BACKUP_VERSION || version < 1) {