Searched refs:ADD_USER_ID_TO_URI (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 | 20 import static com.android.systemui.people.widget.PeopleBackupHelper.ADD_USER_ID_TO_URI; 235 assertThat(mBackupSp.getInt(ADD_USER_ID_TO_URI + WIDGET_ID_STRING, INVALID_USER_ID)) in testBackupKey_widgetIdKey_containsOneWidget_differentUserIdInUri() 293 assertThat(mBackupSp.getInt(ADD_USER_ID_TO_URI + URI_STRING, INVALID_USER_ID)) in testBackupKey_contactUriKey_sameUserId() 305 assertThat(mBackupSp.getInt(ADD_USER_ID_TO_URI + URI_STRING, INVALID_USER_ID)) in testBackupKey_contactUriKey_differentUserId_runningAsUser0() 317 assertThat(mBackupSp.getInt(ADD_USER_ID_TO_URI + URI_STRING, INVALID_USER_ID)) in testBackupKey_contactUriKey_differentUserId_runningAsUser10() 388 mBackupEditor.putInt(ADD_USER_ID_TO_URI + WIDGET_ID_STRING, USER_ID_0); in testRestoreKey_widgetIdKey_sameUserInUri() 403 mBackupEditor.putInt(ADD_USER_ID_TO_URI + WIDGET_ID_STRING, USER_ID_10); in testRestoreKey_widgetIdKey_differentUserInUri() 418 mBackupEditor.putInt(ADD_USER_ID_TO_URI + WIDGET_ID_STRING, USER_ID_0); in testRestoreKey_widgetIdKey_nonSystemUser_differentUser() 447 mBackupEditor.putInt(ADD_USER_ID_TO_URI + URI_STRING, USER_ID_0); in testRestoreKey_contactUriKey_sameUserInUri() 464 mBackupEditor.putInt(ADD_USER_ID_TO_URI + URI_STRING, USER_ID_10); in testRestoreKey_contactUriKey_differentUserInUri() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
H A D | PeopleBackupHelper.java | 63 public static final String ADD_USER_ID_TO_URI = "add_user_id_to_uri_"; field in PeopleBackupHelper 229 int storedUserId = backupSp.getInt(ADD_USER_ID_TO_URI + key, INVALID_USER_ID); in restoreKey() 261 editor.putInt(ADD_USER_ID_TO_URI + key, userId); in backupWidgetIdKey() 367 editor.putInt(ADD_USER_ID_TO_URI + uri.toString(), userId); in backupContactUriKey()
|