Home
last modified time | relevance | path

Searched refs:shortcutInfos (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DShortcutHelperTest.java225 List<ShortcutInfo> shortcutInfos = new ArrayList<>(); in testListenerNotifiedOnShortcutRemoved() local
226 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(shortcutInfos); in testListenerNotifiedOnShortcutRemoved()
228 callback.onShortcutsChanged(PKG, shortcutInfos, mock(UserHandle.class)); in testListenerNotifiedOnShortcutRemoved()
DNotificationManagerServiceTest.java831 List<ShortcutInfo> shortcutInfos = new ArrayList<>(); in initNMS() local
838 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);
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityManager.java1847 final List<AccessibilityShortcutInfo> shortcutInfos = new ArrayList<>(); in getInstalledAccessibilityShortcutListAsUser() local
1863 shortcutInfos.add(shortcutInfo); in getInstalledAccessibilityShortcutListAsUser()
1866 return shortcutInfos; in getInstalledAccessibilityShortcutListAsUser()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityTest.java1630 List<ShareShortcutInfo> shortcutInfos = createShortcuts(activity); in testShortcutTargetWithApplyAppLimits() local
1632 shortcutInfos.get(0).getShortcutInfo()); in testShortcutTargetWithApplyAppLimits()
1634 shortcutInfos.get(1).getShortcutInfo()); in testShortcutTargetWithApplyAppLimits()
1704 List<ShareShortcutInfo> shortcutInfos = createShortcuts(activity); in testShortcutTargetWithoutApplyAppLimits() local
1706 shortcutInfos.get(0).getShortcutInfo()); in testShortcutTargetWithoutApplyAppLimits()
1708 shortcutInfos.get(1).getShortcutInfo()); in testShortcutTargetWithoutApplyAppLimits()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java1891 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);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutListSearch.java531 for (List<ShortcutMultiMappingInfo> shortcutInfos : shortcutMap.values()) { in reMapToKeyboardShortcutMultiMappingGroup()
532 for (ShortcutMultiMappingInfo shortcutInfo : shortcutInfos) { in reMapToKeyboardShortcutMultiMappingGroup()