Searched refs:SCOPED_PREFERENCE (Results 1 – 1 of 1) sorted by relevance
46 private static final String SCOPED_PREFERENCE = "includeDeviceRoot"; field in PrefsBackupHelperTest82 mDefaultPrefs.edit().putBoolean(SCOPED_PREFERENCE, true).commit(); in testPrepareBackupFile_BackupScopedPreferences()86 assertEquals(mBackupPrefs.getBoolean(SCOPED_PREFERENCE, false), true); in testPrepareBackupFile_BackupScopedPreferences()124 mBackupPrefs.edit().putBoolean(SCOPED_PREFERENCE, true).commit(); in testRestorePreferences_RestoreScopedPreferences()128 assertEquals(mDefaultPrefs.getBoolean(SCOPED_PREFERENCE, false), true); in testRestorePreferences_RestoreScopedPreferences()148 editor.putBoolean(SCOPED_PREFERENCE, true); in testEndToEnd()168 assertEquals(mDefaultPrefs.getBoolean(SCOPED_PREFERENCE, false), true); in testEndToEnd()