Searched refs:updateShortcuts (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/android/content/pm/
H A DIShortcutService.aidl42 boolean updateShortcuts(String packageName, in ParceledListSlice shortcuts, int userId);
H A DShortcutManager.java117 * <li>The app can use {@link #updateShortcuts(List)} to update <em>any</em> of the existing
238 * or {@link #addDynamicShortcuts(List)}. The {@link #updateShortcuts(List)} method can also be
293 * In order to avoid confusion, you should not use {@link #updateShortcuts(List)} to update
300 * the existing shortcut with {@link #updateShortcuts(List)}.
306 * use {@link #updateShortcuts(List)} so that the pinned shortcut is updated too.
323 * {@link #updateShortcuts(List)}. You can also use {@link #addDynamicShortcuts(List)} and
337 * {@link #updateShortcuts(List)} may be rate-limited when called by <em>background apps</em>, or
387 * {@link #updateShortcuts(List)} to re-publish icons.
411 * // updateShortcuts() to make sure they contain
608 public boolean updateShortcuts(Lis method in class:ShortcutManager
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest3.java280 mManager.updateShortcuts(list());
305 mManager.updateShortcuts(list(
325 mManager.updateShortcuts(list(
353 mManager.updateShortcuts(list(
H A DShortcutManagerTest1.java1021 mManager.updateShortcuts(list(s2, s4));
1035 mManager.updateShortcuts(list(s2, s4));
1086 mManager.updateShortcuts(list());
1097 assertTrue(mManager.updateShortcuts(list(
1110 assertTrue(mManager.updateShortcuts(list(
1130 assertTrue(mManager.updateShortcuts(list(
1143 assertTrue(mManager.updateShortcuts(list(
1749 // Make sure updateShortcuts() will not re-enable them.
1750 assertTrue(mManager.updateShortcuts(list(
2820 assertTrue(mManager.updateShortcuts(lis
[all...]
H A DShortcutManagerTest2.java222 assertTrue(getManager().updateShortcuts(list(si)));
1461 mManager.updateShortcuts(list());
1598 mManager.updateShortcuts(list(makeShortcut("s")));
H A DBaseShortcutManagerTest.java446 public boolean updateShortcuts(List<ShortcutInfo> shortcutInfoList) { method in class:BaseShortcutManagerTest.ShortcutManagerTestable
448 return super.updateShortcuts(cloneShortcutList(shortcutInfoList));
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutService.java1691 public boolean updateShortcuts(String packageName, ParceledListSlice shortcutInfoList, method in class:ShortcutService
1730 "ShortcutInfo.enabled cannot be changed with updateShortcuts()");

Completed in 223 milliseconds