Searched refs:shortcutInfos (Results 1 – 6 of 6) sorted by relevance
225 List<ShortcutInfo> shortcutInfos = new ArrayList<>(); in testListenerNotifiedOnShortcutRemoved() local226 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(shortcutInfos); in testListenerNotifiedOnShortcutRemoved()228 callback.onShortcutsChanged(PKG, shortcutInfos, mock(UserHandle.class)); in testListenerNotifiedOnShortcutRemoved()
831 List<ShortcutInfo> shortcutInfos = new ArrayList<>(); in initNMS() local838 shortcutInfos.add(info); in initNMS()839 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(shortcutInfos); in initNMS()10846 List<ShortcutInfo> shortcutInfos = new ArrayList<>();10853 shortcutInfos.add(info);10854 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(shortcutInfos);
1847 final List<AccessibilityShortcutInfo> shortcutInfos = new ArrayList<>(); in getInstalledAccessibilityShortcutListAsUser() local1863 shortcutInfos.add(shortcutInfo); in getInstalledAccessibilityShortcutListAsUser()1866 return shortcutInfos; in getInstalledAccessibilityShortcutListAsUser()
1630 List<ShareShortcutInfo> shortcutInfos = createShortcuts(activity); in testShortcutTargetWithApplyAppLimits() local1632 shortcutInfos.get(0).getShortcutInfo()); in testShortcutTargetWithApplyAppLimits()1634 shortcutInfos.get(1).getShortcutInfo()); in testShortcutTargetWithApplyAppLimits()1704 List<ShareShortcutInfo> shortcutInfos = createShortcuts(activity); in testShortcutTargetWithoutApplyAppLimits() local1706 shortcutInfos.get(0).getShortcutInfo()); in testShortcutTargetWithoutApplyAppLimits()1708 shortcutInfos.get(1).getShortcutInfo()); in testShortcutTargetWithoutApplyAppLimits()
1891 private List<ShortcutInfo> removeNonKeyFields(@Nullable List<ShortcutInfo> shortcutInfos) {1892 if (CollectionUtils.isEmpty(shortcutInfos)) {1893 return shortcutInfos;1896 final int size = shortcutInfos.size();1900 final ShortcutInfo si = shortcutInfos.get(i);
531 for (List<ShortcutMultiMappingInfo> shortcutInfos : shortcutMap.values()) { in reMapToKeyboardShortcutMultiMappingGroup()532 for (ShortcutMultiMappingInfo shortcutInfo : shortcutInfos) { in reMapToKeyboardShortcutMultiMappingGroup()