Searched refs:changedShortcuts (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest11.java | 97 ArgumentCaptor<List> changedShortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_setDynamicShortcuts_replaceSameId() local 99 eq(CALLING_PACKAGE_1), changedShortcuts.capture(), eq(HANDLE_USER_0)); in testShortcutChangeCallback_setDynamicShortcuts_replaceSameId() 105 assertWith(changedShortcuts.getValue()) in testShortcutChangeCallback_setDynamicShortcuts_replaceSameId() 139 ArgumentCaptor<List> changedShortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_setDynamicShortcuts_pinnedAndCached() local 141 eq(CALLING_PACKAGE_1), changedShortcuts.capture(), eq(HANDLE_USER_0)); in testShortcutChangeCallback_setDynamicShortcuts_pinnedAndCached() 144 assertWith(changedShortcuts.getValue()) in testShortcutChangeCallback_setDynamicShortcuts_pinnedAndCached() 195 ArgumentCaptor<List> changedShortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_pinShortcuts_unpinOthers() local 197 eq(CALLING_PACKAGE_1), changedShortcuts.capture(), eq(HANDLE_USER_0)); in testShortcutChangeCallback_pinShortcuts_unpinOthers() 203 assertWith(changedShortcuts.getValue()) in testShortcutChangeCallback_pinShortcuts_unpinOthers() 332 ArgumentCaptor<List> changedShortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_uncacheShortcuts_causeDeletion() local [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutService.java | 1818 @Nullable final List<ShortcutInfo> changedShortcuts, in packageShortcutsChanged() argument 1828 notifyShortcutChangeCallbacks(packageName, userId, changedShortcuts, removedShortcuts); in packageShortcutsChanged() 1862 @Nullable final List<ShortcutInfo> changedShortcuts, 1864 final List<ShortcutInfo> changedList = removeNonKeyFields(changedShortcuts); 2025 List<ShortcutInfo> changedShortcuts = null; 2072 changedShortcuts = prepareChangedShortcuts( 2076 packageShortcutsChanged(ps, changedShortcuts, removedShortcuts); 2095 final List<ShortcutInfo> changedShortcuts = new ArrayList<>(1); 2169 changedShortcuts.add(target); 2176 packageShortcutsChanged(ps, changedShortcuts.isEmpty() ? null : changedShortcuts, null); [all …]
|
D | ShortcutRequestPinProcessor.java | 460 List<ShortcutInfo> changedShortcuts = null; in directPinShortcut() local 530 changedShortcuts = Collections.singletonList(ps.findShortcutById(shortcutId)); in directPinShortcut() 534 mService.packageShortcutsChanged(ps, changedShortcuts, null); in directPinShortcut()
|
D | ShortcutPackage.java | 432 @NonNull List<ShortcutInfo> changedShortcuts) { in pushDynamicShortcut() argument 438 changedShortcuts.clear(); in pushDynamicShortcut() 468 changedShortcuts.add(shortcut); in pushDynamicShortcut() 1571 final List<ShortcutInfo> changedShortcuts = new ArrayList<>(1); in resolveResourceStrings() local 1578 changedShortcuts.add(si); in resolveResourceStrings() 1581 if (!CollectionUtils.isEmpty(changedShortcuts)) { in resolveResourceStrings() 1582 s.packageShortcutsChanged(this, changedShortcuts, null); in resolveResourceStrings()
|