Searched refs:LOCK_GENERATION (Results 1 – 2 of 2) sorted by relevance
65 private static final String LOCK_GENERATION = "lock_gen"; field in WallpaperBackupAgentTest139 inOrder.verify(mSharedPreferenceEditor).putInt(eq(LOCK_GENERATION), eq(-1)); in testOnFullBackup_withLockChangedToMatchSystem_updatesTheSharedPreferences()209 when(mSharedPreferences.getInt(eq(LOCK_GENERATION), eq(-1))).thenReturn(-1); in mockUnbackedUpState()215 when(mSharedPreferences.getInt(eq(LOCK_GENERATION), eq(-1))) in mockBackedUpState()
78 static final String LOCK_GENERATION = "lock_gen"; field in WallpaperBackupAgent135 final int lastLockGeneration = prefs.getInt(LOCK_GENERATION, -1); in onFullBackup()194 prefs.edit().putInt(LOCK_GENERATION, lockGeneration).apply(); in onFullBackup()206 prefs.edit().putInt(LOCK_GENERATION, lockGeneration).apply(); in onFullBackup()278 .putInt(LOCK_GENERATION, -1) in onRestoreFinished()