Home
last modified time | relevance | path

Searched refs:shortcutManager (Results 1 – 3 of 3) 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/framework/base/windowmanager/src/android/server/wm/
DSplashscreenTests.java440 final ShortcutManager shortcutManager = mContext.getSystemService(ShortcutManager.class); in testShortcutChangeTheme() local
441 assumeTrue(launcherApps != null && shortcutManager != null); in testShortcutChangeTheme()
454 shortcutManager.addDynamicShortcuts(Collections.singletonList(shortcut)); in testShortcutChangeTheme()
458 shortcutManager.removeDynamicShortcuts(Collections.singletonList(shortCutId)); in testShortcutChangeTheme()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DBubblesVerifierActivity.java316 ShortcutManager shortcutManager = getSystemService(ShortcutManager.class); in updateViewForCompletionSummary() local
317 shortcutManager.removeAllDynamicShortcuts(); in updateViewForCompletionSummary()
995 ShortcutManager shortcutManager = getSystemService(ShortcutManager.class); in createShortcuts() local
996 shortcutManager.addDynamicShortcuts(mShortcuts); in createShortcuts()