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()
77 static final String LOCK_GENERATION = "lock_gen"; field in WallpaperBackupAgent134 final int lastLockGeneration = prefs.getInt(LOCK_GENERATION, -1); in onFullBackup()193 prefs.edit().putInt(LOCK_GENERATION, lockGeneration).apply(); in onFullBackup()205 prefs.edit().putInt(LOCK_GENERATION, lockGeneration).apply(); in onFullBackup()277 .putInt(LOCK_GENERATION, -1) in onRestoreFinished()