Searched refs:migrationPrefs (Results 1 – 3 of 3) sorted by relevance
35 SharedPreferences migrationPrefs = in isMigratedToNewFileKey() local37 return migrationPrefs.getBoolean(PREFS_KEY_MIGRATED_TO_NEW_FILE_KEY, false); in isMigratedToNewFileKey()43 SharedPreferences migrationPrefs = in setMigratedToNewFileKey() local45 migrationPrefs.edit().putBoolean(PREFS_KEY_MIGRATED_TO_NEW_FILE_KEY, value).commit(); in setMigratedToNewFileKey()78 SharedPreferences migrationPrefs = in getCurrentVersion() local83 migrationPrefs.getInt(MDD_FILE_KEY_VERSION, FileKeyVersion.NEW_FILE_KEY.value); in getCurrentVersion()97 SharedPreferences migrationPrefs = in setCurrentVersion() local99 return migrationPrefs.edit().putInt(MDD_FILE_KEY_VERSION, newVersion.value).commit(); in setCurrentVersion()104 SharedPreferences migrationPrefs = in clear() local106 migrationPrefs.edit().clear().commit(); in clear()
86 SharedPreferences migrationPrefs = in testCorruptedVersion() local88 migrationPrefs.edit().putInt("mdd_file_key_version", 100).commit(); in testCorruptedVersion()
325 SharedPreferences migrationPrefs = in testMigrateFromNewFileKeyToUseChecksumOnly_corruptedMetadata() local327 migrationPrefs.edit().putInt("mdd_file_key_version", 200).commit(); in testMigrateFromNewFileKeyToUseChecksumOnly_corruptedMetadata()370 SharedPreferences migrationPrefs = in testNoMigrate_corruptedMetadata() local372 migrationPrefs.edit().putInt("mdd_file_key_version", 200).commit(); in testNoMigrate_corruptedMetadata()