Searched refs:shortcutManager (Results 1 – 7 of 7) sorted by relevance
78 ShortcutManager shortcutManager = mContext.getSystemService(ShortcutManager.class); in addDynamicShortcuts() local79 shortcutManager.addDynamicShortcuts(Collections.singletonList(s1)); in addDynamicShortcuts()80 shortcutManager.updateShortcuts(Collections.singletonList(s1)); in addDynamicShortcuts()85 ShortcutManager shortcutManager = mContext.getSystemService(ShortcutManager.class); in removeAllDynamicShortcuts() local86 shortcutManager.removeAllDynamicShortcuts(); in removeAllDynamicShortcuts()
51 final ShortcutManager shortcutManager = context.getSystemService(ShortcutManager.class); in testPocCVE_2024_31314() local56 final int maxShortcutsPerActivity = shortcutManager.getMaxShortcutCountPerActivity(); in testPocCVE_2024_31314()61 shortcutManager.pushDynamicShortcut( in testPocCVE_2024_31314()
91 final ShortcutManager shortcutManager = context.getSystemService(ShortcutManager.class); in testPocCVE_2023_40092() local96 shortcutManager.pushDynamicShortcut(shortcut); in testPocCVE_2023_40092()109 List<ShortcutInfo> dynamicShortcuts = shortcutManager.getDynamicShortcuts(); in testPocCVE_2023_40092()
56 private lateinit var shortcutManager: ShortcutManager in <lambda>() variable in com.android.cts.verifier.notifications.NotificationHidingVerifierActivity70 shortcutManager = getSystemService(ShortcutManager::class.java)!! in <lambda>()109 shortcutManager.addDynamicShortcuts(listOf(shortcut)) in <lambda>()156 shortcutManager.removeAllDynamicShortcuts() in <lambda>()296 shortcutManager.removeAllDynamicShortcuts() in <lambda>()
342 ShortcutManager shortcutManager = getSystemService(ShortcutManager.class); in updateViewForCompletionSummary() local343 shortcutManager.removeAllDynamicShortcuts(); in updateViewForCompletionSummary()1048 ShortcutManager shortcutManager = getSystemService(ShortcutManager.class); in createShortcuts() local1049 shortcutManager.addDynamicShortcuts(mShortcuts); in createShortcuts()
74 ShortcutManager shortcutManager = getSystemService(ShortcutManager.class); in onStartCommand() local77 shortcutManager.pushDynamicShortcut(shortcut); in onStartCommand()
511 final ShortcutManager shortcutManager = mContext.getSystemService(ShortcutManager.class); in testShortcutChangeTheme() local512 assumeTrue(launcherApps != null && shortcutManager != null); in testShortcutChangeTheme()525 shortcutManager.addDynamicShortcuts(Collections.singletonList(shortcut)); in testShortcutChangeTheme()529 shortcutManager.removeDynamicShortcuts(Collections.singletonList(shortCutId)); in testShortcutChangeTheme()