Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DShortcutHelperTest.java214 List<ShortcutInfo> shortcutInfos = new ArrayList<>(); in testListenerNotifiedOnShortcutRemoved() local
215 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(shortcutInfos); in testListenerNotifiedOnShortcutRemoved()
217 callback.onShortcutsChanged(PKG, shortcutInfos, mock(UserHandle.class)); in testListenerNotifiedOnShortcutRemoved()
DNotificationManagerServiceTest.java484 List<ShortcutInfo> shortcutInfos = new ArrayList<>(); in setUp() local
491 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() local
6280 shortcutInfos.add(info); in testNotificationBubbles_shortcut_stopListeningWhenNotifRemoved()
6281 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(shortcutInfos); in testNotificationBubbles_shortcut_stopListeningWhenNotifRemoved()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityManager.java1452 final List<AccessibilityShortcutInfo> shortcutInfos = new ArrayList<>(); in getInstalledAccessibilityShortcutListAsUser() local
1468 shortcutInfos.add(shortcutInfo); in getInstalledAccessibilityShortcutListAsUser()
1471 return shortcutInfos; in getInstalledAccessibilityShortcutListAsUser()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java1730 private List<ShortcutInfo> removeNonKeyFields(@Nullable List<ShortcutInfo> shortcutInfos) { in removeNonKeyFields() argument
1731 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()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java1375 final List<AccessibilityShortcutInfo> shortcutInfos = AccessibilityManager in readInstalledAccessibilityShortcutLocked() local
1378 if (!shortcutInfos.equals(userState.mInstalledShortcuts)) { in readInstalledAccessibilityShortcutLocked()
1380 userState.mInstalledShortcuts.addAll(shortcutInfos); in readInstalledAccessibilityShortcutLocked()