Searched refs:remainingWidgets (Results 1 – 2 of 2) sorted by relevance
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
H A D | PeopleBackupFollowUpJobTest.java | 124 Map<String, Set<String>> remainingWidgets = in testProcessFollowUpFile_shouldFollowUp() local 129 assertThat(remainingWidgets.size()).isEqualTo(1); in testProcessFollowUpFile_shouldFollowUp() 130 assertThat(remainingWidgets.get(PEOPLE_TILE_KEY.toString())) in testProcessFollowUpFile_shouldFollowUp() 141 Map<String, Set<String>> remainingWidgets = in testProcessFollowUpFile_shouldRestore() local 146 assertThat(remainingWidgets).isEmpty(); in testProcessFollowUpFile_shouldRestore() 164 Map<String, Set<String>> remainingWidgets = new HashMap<>(); in testShouldCancelJob_remainingWidgets_shortTimeElapsed_shouldNotCancel() local 165 remainingWidgets.put(PEOPLE_TILE_KEY.toString(), WIDGET_IDS); in testShouldCancelJob_remainingWidgets_shortTimeElapsed_shouldNotCancel() 171 Map<String, Set<String>> remainingWidgets = new HashMap<>(); in testShouldCancelJob_remainingWidgets_longTimeElapsed_shouldCancel() local 172 remainingWidgets.put(PEOPLE_TILE_KEY.toString(), WIDGET_IDS); in testShouldCancelJob_remainingWidgets_longTimeElapsed_shouldCancel() 185 Map<String, Set<String>> remainingWidgets = new HashMap<>(); in testCancelJobAndClearRemainingWidgets() local [all …]
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
H A D | PeopleBackupFollowUpJob.java | 117 Map<String, Set<String>> remainingWidgets = in onStartJob() local 123 if (shouldCancelJob(remainingWidgets, start, now)) { in onStartJob() 124 cancelJobAndClearRemainingWidgets(remainingWidgets, followUpEditor, sp); in onStartJob() 142 Map<String, Set<String>> remainingWidgets = new HashMap<>(); in processFollowUpFile() local 157 remainingWidgets.put(entry.getKey(), (Set<String>) entry.getValue()); in processFollowUpFile() 162 return remainingWidgets; in processFollowUpFile() 166 public boolean shouldCancelJob(Map<String, Set<String>> remainingWidgets, in shouldCancelJob() argument 168 if (remainingWidgets.isEmpty()) { in shouldCancelJob() 189 removeUnavailableShortcutsFromSharedStorage(remainingWidgets, sp); in cancelJobAndClearRemainingWidgets() 195 Set<String>> remainingWidgets, SharedPreferences sp) { in removeUnavailableShortcutsFromSharedStorage() argument [all …]
|