Home
last modified time | relevance | path

Searched refs:NoBackupKeys (Results 1 – 3 of 3) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPreferences.kt33 import com.android.wallpaper.module.WallpaperPreferenceKeys.NoBackupKeys in <lambda>()
74 if (sharedPrefs.contains(NoBackupKeys.KEY_HOME_WALLPAPER_BASE_IMAGE_URL)) { in <lambda>()
76 NoBackupKeys.KEY_HOME_WALLPAPER_BASE_IMAGE_URL, in <lambda>()
77 sharedPrefs.getString(NoBackupKeys.KEY_HOME_WALLPAPER_BASE_IMAGE_URL, null) in <lambda>()
80 if (sharedPrefs.contains(NoBackupKeys.KEY_HOME_WALLPAPER_MANAGER_ID)) { in <lambda>()
82 NoBackupKeys.KEY_HOME_WALLPAPER_MANAGER_ID, in <lambda>()
83 sharedPrefs.getInt(NoBackupKeys.KEY_HOME_WALLPAPER_MANAGER_ID, 0) in <lambda>()
86 if (sharedPrefs.contains(NoBackupKeys.KEY_HOME_WALLPAPER_REMOTE_ID)) { in <lambda>()
88 NoBackupKeys.KEY_HOME_WALLPAPER_REMOTE_ID, in <lambda>()
89 sharedPrefs.getString(NoBackupKeys.KEY_HOME_WALLPAPER_REMOTE_ID, null) in <lambda>()
[all …]
DWallpaperPreferenceKeys.java45 public interface NoBackupKeys { interface in WallpaperPreferenceKeys
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/module/
DDefaultWallpaperPreferencesTest.kt22 import com.android.wallpaper.module.WallpaperPreferenceKeys.NoBackupKeys
71 assertThat(noBackupPref.getInt(NoBackupKeys.KEY_HOME_WALLPAPER_MANAGER_ID, 0)).isEqualTo(3) in setHomeStaticImageWallpaperMetadata_metadataShouldBeSavedToPreferences()
72 assertThat(noBackupPref.getString(NoBackupKeys.KEY_HOME_WALLPAPER_REMOTE_ID, null)) in setHomeStaticImageWallpaperMetadata_metadataShouldBeSavedToPreferences()
107 assertThat(noBackupPref.getString(NoBackupKeys.KEY_HOME_WALLPAPER_SERVICE_NAME, null)) in setHomeLiveWallpaperMetadata_metadataShouldBeSavedToPreferences()
109 assertThat(noBackupPref.getString(NoBackupKeys.KEY_HOME_WALLPAPER_EFFECTS, null)) in setHomeLiveWallpaperMetadata_metadataShouldBeSavedToPreferences()
111 assertThat(noBackupPref.getInt(NoBackupKeys.KEY_HOME_WALLPAPER_MANAGER_ID, 0)).isEqualTo(2) in setHomeLiveWallpaperMetadata_metadataShouldBeSavedToPreferences()
151 assertThat(noBackupPref.getInt(NoBackupKeys.KEY_LOCK_WALLPAPER_MANAGER_ID, 0)).isEqualTo(3) in setLockStaticImageWallpaperMetadata_metadataShouldBeSavedToPreferences()
152 assertThat(noBackupPref.getString(NoBackupKeys.KEY_LOCK_WALLPAPER_REMOTE_ID, null)) in setLockStaticImageWallpaperMetadata_metadataShouldBeSavedToPreferences()
187 assertThat(noBackupPref.getString(NoBackupKeys.KEY_LOCK_WALLPAPER_SERVICE_NAME, null)) in setLockLiveWallpaperMetadata_metadataShouldBeSavedToPreferences()
189 assertThat(noBackupPref.getString(NoBackupKeys.KEY_LOCK_WALLPAPER_EFFECTS, null)) in setLockLiveWallpaperMetadata_metadataShouldBeSavedToPreferences()
[all …]