/frameworks/base/core/java/android/content/pm/ |
D | ShortcutManager.java | 174 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 …]
|
D | IShortcutService.aidl | 39 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
|
D | ShortcutServiceInternal.java | 47 @Nullable String packageName, @Nullable List<String> shortcutIds, in getShortcuts() argument 57 @NonNull List<String> shortcutIds, int userId); in pinShortcuts() argument
|
D | ILauncherApps.aidl | 69 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
|
D | LauncherApps.java | 431 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/ |
D | ShortcutService.java | 2011 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 …]
|
D | LauncherAppsService.java | 657 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()
|
D | ShortcutPackage.java | 234 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/ |
D | BaseShortcutManagerTest.java | 1962 String packageName, List<String> shortcutIds, ComponentName componentName, 1967 q.setShortcutIds(shortcutIds);
|