Home
last modified time | relevance | path

Searched refs:shortcutManager (Results 1 – 7 of 7) sorted by relevance

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DLauncherAppsTest.java78 ShortcutManager shortcutManager = mContext.getSystemService(ShortcutManager.class); in addDynamicShortcuts() local
79 shortcutManager.addDynamicShortcuts(Collections.singletonList(s1)); in addDynamicShortcuts()
80 shortcutManager.updateShortcuts(Collections.singletonList(s1)); in addDynamicShortcuts()
85 ShortcutManager shortcutManager = mContext.getSystemService(ShortcutManager.class); in removeAllDynamicShortcuts() local
86 shortcutManager.removeAllDynamicShortcuts(); in removeAllDynamicShortcuts()
/cts/tests/tests/security/src/android/security/cts/
DCVE_2024_31314.java51 final ShortcutManager shortcutManager = context.getSystemService(ShortcutManager.class); in testPocCVE_2024_31314() local
56 final int maxShortcutsPerActivity = shortcutManager.getMaxShortcutCountPerActivity(); in testPocCVE_2024_31314()
61 shortcutManager.pushDynamicShortcut( in testPocCVE_2024_31314()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-40092/src/android/security/cts/CVE_2023_40092/
DDeviceTest.java91 final ShortcutManager shortcutManager = context.getSystemService(ShortcutManager.class); in testPocCVE_2023_40092() local
96 shortcutManager.pushDynamicShortcut(shortcut); in testPocCVE_2023_40092()
109 List<ShortcutInfo> dynamicShortcuts = shortcutManager.getDynamicShortcuts(); in testPocCVE_2023_40092()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DNotificationHidingVerifierActivity.kt56 private lateinit var shortcutManager: ShortcutManager in <lambda>() variable in com.android.cts.verifier.notifications.NotificationHidingVerifierActivity
70 shortcutManager = getSystemService(ShortcutManager::class.java)!! in <lambda>()
109 shortcutManager.addDynamicShortcuts(listOf(shortcut)) in <lambda>()
156 shortcutManager.removeAllDynamicShortcuts() in <lambda>()
296 shortcutManager.removeAllDynamicShortcuts() in <lambda>()
DBubblesVerifierActivity.java342 ShortcutManager shortcutManager = getSystemService(ShortcutManager.class); in updateViewForCompletionSummary() local
343 shortcutManager.removeAllDynamicShortcuts(); in updateViewForCompletionSummary()
1048 ShortcutManager shortcutManager = getSystemService(ShortcutManager.class); in createShortcuts() local
1049 shortcutManager.addDynamicShortcuts(mShortcuts); in createShortcuts()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21129/src/android/security/cts/CVE_2023_21129/
DPocService.java74 ShortcutManager shortcutManager = getSystemService(ShortcutManager.class); in onStartCommand() local
77 shortcutManager.pushDynamicShortcut(shortcut); in onStartCommand()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DSplashscreenTests.java511 final ShortcutManager shortcutManager = mContext.getSystemService(ShortcutManager.class); in testShortcutChangeTheme() local
512 assumeTrue(launcherApps != null && shortcutManager != null); in testShortcutChangeTheme()
525 shortcutManager.addDynamicShortcuts(Collections.singletonList(shortcut)); in testShortcutChangeTheme()
529 shortcutManager.removeDynamicShortcuts(Collections.singletonList(shortCutId)); in testShortcutChangeTheme()