Searched refs:PEOPLE_TILE_KEY (Results 1 – 5 of 5) sorted by relevance
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
H A D | PeopleBackupFollowUpJobTest.java | 66 private static final PeopleTileKey PEOPLE_TILE_KEY = field in PeopleBackupFollowUpJobTest 121 mFollowUpEditor.putStringSet(PEOPLE_TILE_KEY.toString(), WIDGET_IDS); in testProcessFollowUpFile_shouldFollowUp() 130 assertThat(remainingWidgets.get(PEOPLE_TILE_KEY.toString())) in testProcessFollowUpFile_shouldFollowUp() 132 assertThat(mFollowUpSp.getStringSet(PEOPLE_TILE_KEY.toString(), new HashSet<>())) in testProcessFollowUpFile_shouldFollowUp() 138 mFollowUpEditor.putStringSet(PEOPLE_TILE_KEY.toString(), WIDGET_IDS); in testProcessFollowUpFile_shouldRestore() 165 remainingWidgets.put(PEOPLE_TILE_KEY.toString(), WIDGET_IDS); in testShouldCancelJob_remainingWidgets_shortTimeElapsed_shouldNotCancel() 172 remainingWidgets.put(PEOPLE_TILE_KEY.toString(), WIDGET_IDS); in testShouldCancelJob_remainingWidgets_longTimeElapsed_shouldCancel() 179 SharedPreferencesHelper.setPeopleTileKey(mWidgetIdSp, PEOPLE_TILE_KEY); in testCancelJobAndClearRemainingWidgets() 180 SharedPreferencesHelper.setPeopleTileKey(mSecondWidgetIdSp, PEOPLE_TILE_KEY); in testCancelJobAndClearRemainingWidgets() 186 remainingWidgets.put(PEOPLE_TILE_KEY.toString(), WIDGET_IDS); in testCancelJobAndClearRemainingWidgets() [all …]
|
H A D | SharedPreferencesHelperTest.java | 44 private static final PeopleTileKey PEOPLE_TILE_KEY = field in SharedPreferencesHelperTest 62 setStorageForTile(PEOPLE_TILE_KEY, WIDGET_ID); in testGetPeopleTileKey() 79 SharedPreferencesHelper.setPeopleTileKey(sp, PEOPLE_TILE_KEY); in testSetPeopleTileKey() 88 setStorageForTile(PEOPLE_TILE_KEY, WIDGET_ID); in testClear()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
H A D | PeopleBackupHelperTest.java | 68 private static final PeopleTileKey PEOPLE_TILE_KEY = field in PeopleBackupHelperTest 147 assertThat(getEntryType(entry)).isEqualTo(SharedFileEntryType.PEOPLE_TILE_KEY); in testGetKeyType_peopleTileKey_valid() 324 PEOPLE_TILE_KEY.toString(), WIDGET_IDS); in testBackupKey_peopleTileKey_containsWidget() 337 PEOPLE_TILE_KEY.toString(), WIDGET_IDS); in testBackupKey_peopleTileKey_containsBothWidgets() 351 PEOPLE_TILE_KEY.toString(), WIDGET_IDS); in testBackupKey_peopleTileKey_doesNotContainWidget() 505 assertThat(mSp.getStringSet(PEOPLE_TILE_KEY.toString(), new HashSet<>())) in testRestoreKey_peopleTileKey_shouldNotFollowUp() 508 .isEqualTo(PEOPLE_TILE_KEY); in testRestoreKey_peopleTileKey_shouldNotFollowUp() 510 .isEqualTo(PEOPLE_TILE_KEY); in testRestoreKey_peopleTileKey_shouldNotFollowUp() 527 assertThat(mSp.getStringSet(PEOPLE_TILE_KEY.toString(), new HashSet<>())) in testRestoreKey_peopleTileKey_shortcutNotYetRestored_shouldFollowUpBoth() 530 .isEqualTo(PEOPLE_TILE_KEY); in testRestoreKey_peopleTileKey_shortcutNotYetRestored_shouldFollowUpBoth() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
H A D | PeopleBackupHelper.java | 81 PEOPLE_TILE_KEY, enumConstant 208 case PEOPLE_TILE_KEY: in backupKey() 234 case PEOPLE_TILE_KEY: in restoreKey() 481 return SharedFileEntryType.PEOPLE_TILE_KEY; in getEntryType()
|
H A D | PeopleSpaceWidgetManager.java | 1310 case PEOPLE_TILE_KEY: in remapSharedFile()
|