Searched refs:shortcutInfos (Results 1 – 5 of 5) sorted by relevance
214 List<ShortcutInfo> shortcutInfos = new ArrayList<>(); in testListenerNotifiedOnShortcutRemoved() local215 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(shortcutInfos); in testListenerNotifiedOnShortcutRemoved()217 callback.onShortcutsChanged(PKG, shortcutInfos, mock(UserHandle.class)); in testListenerNotifiedOnShortcutRemoved()
484 List<ShortcutInfo> shortcutInfos = new ArrayList<>(); in setUp() local491 shortcutInfos.add(info); in setUp()492 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(shortcutInfos); in setUp()6273 List<ShortcutInfo> shortcutInfos = new ArrayList<>(); in testNotificationBubbles_shortcut_stopListeningWhenNotifRemoved() local6280 shortcutInfos.add(info); in testNotificationBubbles_shortcut_stopListeningWhenNotifRemoved()6281 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(shortcutInfos); in testNotificationBubbles_shortcut_stopListeningWhenNotifRemoved()
1452 final List<AccessibilityShortcutInfo> shortcutInfos = new ArrayList<>(); in getInstalledAccessibilityShortcutListAsUser() local1468 shortcutInfos.add(shortcutInfo); in getInstalledAccessibilityShortcutListAsUser()1471 return shortcutInfos; in getInstalledAccessibilityShortcutListAsUser()
1730 private List<ShortcutInfo> removeNonKeyFields(@Nullable List<ShortcutInfo> shortcutInfos) { in removeNonKeyFields() argument1731 if (CollectionUtils.isEmpty(shortcutInfos)) { in removeNonKeyFields()1732 return shortcutInfos; in removeNonKeyFields()1735 final int size = shortcutInfos.size(); in removeNonKeyFields()1739 final ShortcutInfo si = shortcutInfos.get(i); in removeNonKeyFields()
1375 final List<AccessibilityShortcutInfo> shortcutInfos = AccessibilityManager in readInstalledAccessibilityShortcutLocked() local1378 if (!shortcutInfos.equals(userState.mInstalledShortcuts)) { in readInstalledAccessibilityShortcutLocked()1380 userState.mInstalledShortcuts.addAll(shortcutInfos); in readInstalledAccessibilityShortcutLocked()