Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DShortcutManager.java174 public void removeDynamicShortcuts(@NonNull List<String> shortcutIds) { in removeDynamicShortcuts() argument
176 mService.removeDynamicShortcuts(mContext.getPackageName(), shortcutIds, in removeDynamicShortcuts() local
245 public void disableShortcuts(@NonNull List<String> shortcutIds) { in disableShortcuts() argument
247 mService.disableShortcuts(mContext.getPackageName(), shortcutIds, in disableShortcuts() local
258 public void disableShortcuts(@NonNull List<String> shortcutIds, int disabledMessageResId) { in disableShortcuts() argument
260 mService.disableShortcuts(mContext.getPackageName(), shortcutIds, in disableShortcuts() local
271 public void disableShortcuts(@NonNull List<String> shortcutIds, String disabledMessage) { in disableShortcuts() argument
272 disableShortcuts(shortcutIds, (CharSequence) disabledMessage); in disableShortcuts()
286 public void disableShortcuts(@NonNull List<String> shortcutIds, CharSequence disabledMessage) { in disableShortcuts() argument
288 mService.disableShortcuts(mContext.getPackageName(), shortcutIds, in disableShortcuts() local
[all …]
DIShortcutService.aidl39 void removeDynamicShortcuts(String packageName, in List shortcutIds, int userId); in removeDynamicShortcuts() argument
52 void disableShortcuts(String packageName, in List shortcutIds, CharSequence disabledMessage, in disableShortcuts() argument
55 void enableShortcuts(String packageName, in List shortcutIds, int userId); in enableShortcuts() argument
DShortcutServiceInternal.java47 @Nullable String packageName, @Nullable List<String> shortcutIds, in getShortcuts() argument
57 @NonNull List<String> shortcutIds, int userId); in pinShortcuts() argument
DILauncherApps.aidl69 in List shortcutIds, in ComponentName componentName, int flags, in UserHandle user); in getShortcuts() argument
70 void pinShortcuts(String callingPackage, String packageName, in List<String> shortcutIds, in pinShortcuts() argument
DLauncherApps.java431 public ShortcutQuery setShortcutIds(@Nullable List<String> shortcutIds) { in setShortcutIds() argument
432 mShortcutIds = shortcutIds; in setShortcutIds()
957 public void pinShortcuts(@NonNull String packageName, @NonNull List<String> shortcutIds, in pinShortcuts() argument
961 mService.pinShortcuts(mContext.getPackageName(), packageName, shortcutIds, user); in pinShortcuts() local
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java2011 public void disableShortcuts(String packageName, List shortcutIds, in disableShortcuts() argument
2014 Preconditions.checkNotNull(shortcutIds, "shortcutIds must be provided"); in disableShortcuts()
2021 ps.ensureImmutableShortcutsNotIncludedWithIds((List<String>) shortcutIds, in disableShortcuts()
2027 for (int i = shortcutIds.size() - 1; i >= 0; i--) { in disableShortcuts()
2028 final String id = Preconditions.checkStringNotEmpty((String) shortcutIds.get(i)); in disableShortcuts()
2047 public void enableShortcuts(String packageName, List shortcutIds, @UserIdInt int userId) { in enableShortcuts() argument
2049 Preconditions.checkNotNull(shortcutIds, "shortcutIds must be provided"); in enableShortcuts()
2056 ps.ensureImmutableShortcutsNotIncludedWithIds((List<String>) shortcutIds, in enableShortcuts()
2059 for (int i = shortcutIds.size() - 1; i >= 0; i--) { in enableShortcuts()
2060 final String id = Preconditions.checkStringNotEmpty((String) shortcutIds.get(i)); in enableShortcuts()
[all …]
DLauncherAppsService.java657 String packageName, List shortcutIds, ComponentName componentName, int flags, in getShortcuts() argument
663 if (shortcutIds != null && packageName == null) { in getShortcuts()
671 callingPackage, changedSince, packageName, shortcutIds, in getShortcuts()
DShortcutPackage.java234 public void ensureImmutableShortcutsNotIncludedWithIds(@NonNull List<String> shortcutIds, in ensureImmutableShortcutsNotIncludedWithIds() argument
236 for (int i = shortcutIds.size() - 1; i >= 0; i--) { in ensureImmutableShortcutsNotIncludedWithIds()
237 ensureNotImmutable(shortcutIds.get(i), ignoreInvisible); in ensureImmutableShortcutsNotIncludedWithIds()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java1962 String packageName, List<String> shortcutIds, ComponentName componentName,
1967 q.setShortcutIds(shortcutIds);