Searched refs:backupKey (Results 1 – 2 of 2) sorted by relevance
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
H A D | PeopleBackupHelperTest.java | 210 mHelper.backupKey(entry, mBackupEditor, Collections.singletonList(WIDGET_ID_STRING)); in testBackupKey_widgetIdKey_containsWidget_noUserIdInUri() 231 mHelper.backupKey(entry, mBackupEditor, Collections.singletonList(WIDGET_ID_STRING)); in testBackupKey_widgetIdKey_containsOneWidget_differentUserIdInUri() 244 mOtherHelper.backupKey(entry, mBackupEditor, Collections.singletonList(WIDGET_ID_STRING)); in testBackupKey_widgetIdKey_containsWidget_SameUserIdInUri() 256 mHelper.backupKey(entry, mBackupEditor, Collections.singletonList(WIDGET_ID_STRING)); in testBackupKey_contactUriKey_ignoresExistingWidgets() 267 mHelper.backupKey(entry, mBackupEditor, Collections.singletonList(WIDGET_ID_STRING)); in testBackupKey_contactUriKey_ignoresExistingWidgets_otherWidget() 278 mOtherHelper.backupKey(entry, mBackupEditor, Collections.singletonList(WIDGET_ID_STRING)); in testBackupKey_contactUriKey_noUserId_otherUser_doesntBackup() 288 mOtherHelper.backupKey(entry, mBackupEditor, Collections.singletonList(WIDGET_ID_STRING)); in testBackupKey_contactUriKey_sameUserId() 301 mHelper.backupKey(entry, mBackupEditor, Collections.singletonList(WIDGET_ID_STRING)); in testBackupKey_contactUriKey_differentUserId_runningAsUser0() 326 mHelper.backupKey(entry, mBackupEditor, Collections.singletonList(WIDGET_ID_STRING)); in testBackupKey_peopleTileKey_containsWidget() 339 mHelper.backupKey(entry, mBackupEditor, in testBackupKey_peopleTileKey_containsBothWidgets() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
H A D | PeopleBackupHelper.java | 145 sp.getAll().entrySet().forEach(entry -> backupKey(entry, backupEditor, existingWidgets)); in performBackup() 195 public void backupKey(Map.Entry<String, ?> entry, SharedPreferences.Editor backupEditor, in backupKey() method in PeopleBackupHelper
|