Searched refs:mBackupPrefs (Results 1 – 1 of 1) sorted by relevance
50 private SharedPreferences mBackupPrefs; field in PrefsBackupHelperTest56 mBackupPrefs = InstrumentationRegistry.getContext().getSharedPreferences("prefs2", 0); in setUp()68 mBackupPrefs.edit().clear().commit(); in clearSharedPrefs()75 mPrefsBackupHelper.getBackupPreferences(mBackupPrefs); in testPrepareBackupFile_BackupLocalPreferences()77 assertEquals(mBackupPrefs.getInt(LOCAL_PREFERENCE_1, 0), 1); in testPrepareBackupFile_BackupLocalPreferences()84 mPrefsBackupHelper.getBackupPreferences(mBackupPrefs); in testPrepareBackupFile_BackupScopedPreferences()86 assertEquals(mBackupPrefs.getBoolean(SCOPED_PREFERENCE, false), true); in testPrepareBackupFile_BackupScopedPreferences()93 mPrefsBackupHelper.getBackupPreferences(mBackupPrefs); in testPrepareBackupFile_BackupNotInterestedPreferences()95 assertFalse(mBackupPrefs.contains(NON_BACKUP_PREFERENCE)); in testPrepareBackupFile_BackupNotInterestedPreferences()104 mPrefsBackupHelper.getBackupPreferences(mBackupPrefs); in testPrepareBackupFile_BackupUnexpectedType()[all …]