Searched refs:shortcutIds (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/core/java/android/content/pm/
H A DIShortcutService.aidl36 void removeDynamicShortcuts(String packageName, in List shortcutIds, int userId);
44 void disableShortcuts(String packageName, in List shortcutIds, CharSequence disabledMessage,
47 void enableShortcuts(String packageName, in List shortcutIds, int userId);
H A DShortcutManager.java559 public void removeDynamicShortcuts(@NonNull List<String> shortcutIds) { argument
561 mService.removeDynamicShortcuts(mContext.getPackageName(), shortcutIds,
625 public void disableShortcuts(@NonNull List<String> shortcutIds) { argument
627 mService.disableShortcuts(mContext.getPackageName(), shortcutIds,
638 public void disableShortcuts(@NonNull List<String> shortcutIds, int disabledMessageResId) { argument
640 mService.disableShortcuts(mContext.getPackageName(), shortcutIds,
651 public void disableShortcuts(@NonNull List<String> shortcutIds, String disabledMessage) { argument
652 disableShortcuts(shortcutIds, (CharSequence) disabledMessage);
664 public void disableShortcuts(@NonNull List<String> shortcutIds, CharSequence disabledMessage) { argument
666 mService.disableShortcuts(mContext.getPackageName(), shortcutIds,
682 enableShortcuts(@onNull List<String> shortcutIds) argument
[all...]
H A DShortcutServiceInternal.java44 @Nullable String packageName, @Nullable List<String> shortcutIds,
54 @NonNull List<String> shortcutIds, int userId);
42 getShortcuts(int launcherUserId, @NonNull String callingPackage, long changedSince, @Nullable String packageName, @Nullable List<String> shortcutIds, @Nullable ComponentName componentName, @ShortcutQuery.QueryFlags int flags, int userId) argument
52 pinShortcuts(int launcherUserId, @NonNull String callingPackage, @NonNull String packageName, @NonNull List<String> shortcutIds, int userId) argument
H A DILauncherApps.aidl51 in List shortcutIds, in ComponentName componentName, int flags, in UserHandle user);
52 void pinShortcuts(String callingPackage, String packageName, in List<String> shortcutIds,
H A DLauncherApps.java295 public ShortcutQuery setShortcutIds(@Nullable List<String> shortcutIds) { argument
296 mShortcutIds = shortcutIds;
559 * @param shortcutIds The IDs of the shortcut to be pinned.
566 public void pinShortcuts(@NonNull String packageName, @NonNull List<String> shortcutIds, argument
569 mService.pinShortcuts(mContext.getPackageName(), packageName, shortcutIds, user);
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutService.java1822 public void disableShortcuts(String packageName, List shortcutIds, argument
1825 Preconditions.checkNotNull(shortcutIds, "shortcutIds must be provided");
1832 ps.ensureImmutableShortcutsNotIncludedWithIds((List<String>) shortcutIds);
1837 for (int i = shortcutIds.size() - 1; i >= 0; i--) {
1838 ps.disableWithId(Preconditions.checkStringNotEmpty((String) shortcutIds.get(i)),
1852 public void enableShortcuts(String packageName, List shortcutIds, @UserIdInt int userId) { argument
1854 Preconditions.checkNotNull(shortcutIds, "shortcutIds must be provided");
1861 ps.ensureImmutableShortcutsNotIncludedWithIds((List<String>) shortcutIds);
1873 removeDynamicShortcuts(String packageName, List shortcutIds, @UserIdInt int userId) argument
2255 getShortcuts(int launcherUserId, @NonNull String callingPackage, long changedSince, @Nullable String packageName, @Nullable List<String> shortcutIds, @Nullable ComponentName componentName, int queryFlags, int userId) argument
2293 getShortcutsInnerLocked(int launcherUserId, @NonNull String callingPackage, @Nullable String packageName, @Nullable List<String> shortcutIds, long changedSince, @Nullable ComponentName componentName, int queryFlags, int userId, ArrayList<ShortcutInfo> ret, int cloneFlag) argument
2378 pinShortcuts(int launcherUserId, @NonNull String callingPackage, @NonNull String packageName, @NonNull List<String> shortcutIds, int userId) argument
[all...]
H A DLauncherAppsService.java376 String packageName, List shortcutIds, ComponentName componentName, int flags,
382 if (shortcutIds != null && packageName == null) {
390 callingPackage, changedSince, packageName, shortcutIds,
815 /* changedSince= */ 0, packageName, /* shortcutIds=*/ null,
375 getShortcuts(String callingPackage, long changedSince, String packageName, List shortcutIds, ComponentName componentName, int flags, UserHandle user) argument
H A DShortcutPackage.java186 public void ensureImmutableShortcutsNotIncludedWithIds(@NonNull List<String> shortcutIds) { argument
187 for (int i = shortcutIds.size() - 1; i >= 0; i--) {
188 ensureNotImmutable(shortcutIds.get(i));
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DBaseShortcutManagerTest.java1694 String packageName, List<String> shortcutIds, ComponentName componentName,
1699 q.setShortcutIds(shortcutIds);
1693 buildQuery(long changedSince, String packageName, List<String> shortcutIds, ComponentName componentName, int flags) argument

Completed in 125 milliseconds