Searched refs:SYSTEM_GENERATION (Results 1 – 2 of 2) sorted by relevance
64 private static final String SYSTEM_GENERATION = "system_gen"; field in WallpaperBackupAgentTest123 verify(mSharedPreferenceEditor).putInt(eq(SYSTEM_GENERATION), eq(TEST_SYSTEM_WALLPAPER_ID)); in testOnFullBackup_withOnlyChangedSystem_updatesTheSharedPreferences()137 .putInt(eq(SYSTEM_GENERATION), eq(TEST_SYSTEM_WALLPAPER_ID)); in testOnFullBackup_withLockChangedToMatchSystem_updatesTheSharedPreferences()208 when(mSharedPreferences.getInt(eq(SYSTEM_GENERATION), eq(-1))).thenReturn(-1); in mockUnbackedUpState()213 when(mSharedPreferences.getInt(eq(SYSTEM_GENERATION), eq(-1))) in mockBackedUpState()
76 static final String SYSTEM_GENERATION = "system_gen"; field in WallpaperBackupAgent133 final int lastSysGeneration = prefs.getInt(SYSTEM_GENERATION, -1); in onFullBackup()179 prefs.edit().putInt(SYSTEM_GENERATION, sysGeneration).apply(); in onFullBackup()276 .putInt(SYSTEM_GENERATION, -1) in onRestoreFinished()