Searched defs:shortcutIds (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/android/content/pm/
H A DShortcutServiceInternal.java47 @Nullable String packageName, @Nullable List<String> shortcutIds,
57 @NonNull List<String> shortcutIds, int userId);
45 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
55 pinShortcuts(int launcherUserId, @NonNull String callingPackage, @NonNull String packageName, @NonNull List<String> shortcutIds, int userId) argument
H A DShortcutManager.java694 public void removeDynamicShortcuts(@NonNull List<String> shortcutIds) { argument
696 mService.removeDynamicShortcuts(mContext.getPackageName(), shortcutIds,
764 public void disableShortcuts(@NonNull List<String> shortcutIds) { argument
766 mService.disableShortcuts(mContext.getPackageName(), shortcutIds,
777 public void disableShortcuts(@NonNull List<String> shortcutIds, int disabledMessageResId) { argument
779 mService.disableShortcuts(mContext.getPackageName(), shortcutIds,
790 public void disableShortcuts(@NonNull List<String> shortcutIds, String disabledMessage) { argument
791 disableShortcuts(shortcutIds, (CharSequence) disabledMessage);
803 public void disableShortcuts(@NonNull List<String> shortcutIds, CharSequence disabledMessage) { argument
805 mService.disableShortcuts(mContext.getPackageName(), shortcutIds,
821 enableShortcuts(@onNull List<String> shortcutIds) argument
[all...]
H A DLauncherApps.java365 public ShortcutQuery setShortcutIds(@Nullable List<String> shortcutIds) { argument
366 mShortcutIds = shortcutIds;
734 * @param shortcutIds The IDs of the shortcut to be pinned.
741 public void pinShortcuts(@NonNull String packageName, @NonNull List<String> shortcutIds, argument
745 mService.pinShortcuts(mContext.getPackageName(), packageName, shortcutIds, user);
/frameworks/base/services/core/java/com/android/server/pm/
H A DLauncherAppsService.java448 String packageName, List shortcutIds, ComponentName componentName, int flags,
455 if (shortcutIds != null && packageName == null) {
463 callingPackage, changedSince, packageName, shortcutIds,
914 /* changedSince= */ 0, packageName, /* shortcutIds=*/ null,
447 getShortcuts(String callingPackage, long changedSince, String packageName, List shortcutIds, ComponentName componentName, int flags, UserHandle targetUser) 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));
H A DShortcutService.java1906 public void disableShortcuts(String packageName, List shortcutIds, argument
1909 Preconditions.checkNotNull(shortcutIds, "shortcutIds must be provided");
1916 ps.ensureImmutableShortcutsNotIncludedWithIds((List<String>) shortcutIds);
1921 for (int i = shortcutIds.size() - 1; i >= 0; i--) {
1922 ps.disableWithId(Preconditions.checkStringNotEmpty((String) shortcutIds.get(i)),
1936 public void enableShortcuts(String packageName, List shortcutIds, @UserIdInt int userId) { argument
1938 Preconditions.checkNotNull(shortcutIds, "shortcutIds must be provided");
1945 ps.ensureImmutableShortcutsNotIncludedWithIds((List<String>) shortcutIds);
1957 removeDynamicShortcuts(String packageName, List shortcutIds, @UserIdInt int userId) argument
2369 getShortcuts(int launcherUserId, @NonNull String callingPackage, long changedSince, @Nullable String packageName, @Nullable List<String> shortcutIds, @Nullable ComponentName componentName, int queryFlags, int userId) argument
2407 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
2492 pinShortcuts(int launcherUserId, @NonNull String callingPackage, @NonNull String packageName, @NonNull List<String> shortcutIds, int userId) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DBaseShortcutManagerTest.java1856 String packageName, List<String> shortcutIds, ComponentName componentName,
1861 q.setShortcutIds(shortcutIds);
1855 buildQuery(long changedSince, String packageName, List<String> shortcutIds, ComponentName componentName, int flags) argument

Completed in 136 milliseconds