Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DShortcutManager.java254 public void removeDynamicShortcuts(@NonNull List<String> shortcutIds) { in removeDynamicShortcuts() argument
256 getFutureOrThrow(mService.removeDynamicShortcuts(mContext.getPackageName(), shortcutIds, in removeDynamicShortcuts() local
282 public void removeLongLivedShortcuts(@NonNull List<String> shortcutIds) { in removeLongLivedShortcuts() argument
285 shortcutIds, injectMyUserId())); in removeLongLivedShortcuts() local
342 public void disableShortcuts(@NonNull List<String> shortcutIds) { in disableShortcuts() argument
344 getFutureOrThrow(mService.disableShortcuts(mContext.getPackageName(), shortcutIds, in disableShortcuts() local
355 public void disableShortcuts(@NonNull List<String> shortcutIds, int disabledMessageResId) { in disableShortcuts() argument
357 getFutureOrThrow(mService.disableShortcuts(mContext.getPackageName(), shortcutIds, in disableShortcuts() local
368 public void disableShortcuts(@NonNull List<String> shortcutIds, String disabledMessage) { in disableShortcuts() argument
369 disableShortcuts(shortcutIds, (CharSequence) disabledMessage); in disableShortcuts()
[all …]
DIShortcutService.aidl35 AndroidFuture removeDynamicShortcuts(String packageName, in List shortcutIds, int userId); in removeDynamicShortcuts() argument
48 AndroidFuture disableShortcuts(String packageName, in List shortcutIds, in disableShortcuts() argument
51 AndroidFuture enableShortcuts(String packageName, in List shortcutIds, int userId); in enableShortcuts() argument
79 AndroidFuture removeLongLivedShortcuts(String packageName, in List shortcutIds, int userId); in removeLongLivedShortcuts() argument
DShortcutQueryWrapper.java138 List<String> shortcutIds = null; in ShortcutQueryWrapper() local
140 shortcutIds = new ArrayList<>(); in ShortcutQueryWrapper()
141 in.readStringList(shortcutIds); in ShortcutQueryWrapper()
154 this.mShortcutIds = shortcutIds; in ShortcutQueryWrapper()
DShortcutServiceInternal.java49 @Nullable String packageName, @Nullable List<String> shortcutIds, in getShortcuts() argument
59 @NonNull List<String> shortcutIds, int userId); in pinShortcuts() argument
102 @NonNull List<String> shortcutIds, int userId, int cacheFlags); in cacheShortcuts() argument
105 @NonNull List<String> shortcutIds, int userId, int cacheFlags); in uncacheShortcuts() argument
DILauncherApps.aidl76 void pinShortcuts(String callingPackage, String packageName, in List<String> shortcutIds, in pinShortcuts() argument
106 void cacheShortcuts(String callingPackage, String packageName, in List<String> shortcutIds, in cacheShortcuts() argument
108 void uncacheShortcuts(String callingPackage, String packageName, in List<String> shortcutIds, in uncacheShortcuts() argument
DLauncherApps.java508 public ShortcutQuery setShortcutIds(@Nullable List<String> shortcutIds) { in setShortcutIds() argument
509 mShortcutIds = shortcutIds; in setShortcutIds()
1185 public void pinShortcuts(@NonNull String packageName, @NonNull List<String> shortcutIds, in pinShortcuts() argument
1189 mService.pinShortcuts(mContext.getPackageName(), packageName, shortcutIds, user); in pinShortcuts() local
1222 public void cacheShortcuts(@NonNull String packageName, @NonNull List<String> shortcutIds, in cacheShortcuts() argument
1227 mContext.getPackageName(), packageName, shortcutIds, user, cacheFlags); in cacheShortcuts() local
1253 public void uncacheShortcuts(@NonNull String packageName, @NonNull List<String> shortcutIds, in uncacheShortcuts() argument
1258 mContext.getPackageName(), packageName, shortcutIds, user, cacheFlags); in uncacheShortcuts() local
/frameworks/base/services/core/java/com/android/server/notification/
DShortcutHelper.java110 final Set<String> shortcutIds = new HashSet<>(shortcutBubbles.keySet());
114 for (String shortcutId : shortcutIds) {
269 final Set<String> shortcutIds = new HashSet<>(packageBubbles.keySet()); in maybeListenForShortcutChangesForBubbles() local
272 for (String pkgShortcutId : shortcutIds) { in maybeListenForShortcutChangesForBubbles()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DConversationStoreTest.java121 Set<String> shortcutIds = new ArraySet<>(); in testForAllConversations() local
124 conversationInfo -> shortcutIds.add(conversationInfo.getShortcutId())); in testForAllConversations()
125 assertTrue(shortcutIds.contains("a")); in testForAllConversations()
126 assertTrue(shortcutIds.contains("b")); in testForAllConversations()
127 assertTrue(shortcutIds.contains("c")); in testForAllConversations()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java2353 public AndroidFuture disableShortcuts(String packageName, List shortcutIds, in disableShortcuts() argument
2361 Objects.requireNonNull(shortcutIds, "shortcutIds must be provided"); in disableShortcuts()
2371 ps.ensureImmutableShortcutsNotIncludedWithIds((List<String>) shortcutIds, in disableShortcuts()
2377 for (int i = shortcutIds.size() - 1; i >= 0; i--) { in disableShortcuts()
2379 (String) shortcutIds.get(i)); in disableShortcuts()
2421 String packageName, List shortcutIds, @UserIdInt int userId) { in enableShortcuts() argument
2428 Objects.requireNonNull(shortcutIds, "shortcutIds must be provided"); in enableShortcuts()
2437 ps.ensureImmutableShortcutsNotIncludedWithIds((List<String>) shortcutIds, in enableShortcuts()
2440 for (int i = shortcutIds.size() - 1; i >= 0; i--) { in enableShortcuts()
2442 (String) shortcutIds.get(i)); in enableShortcuts()
[all …]
DLauncherAppsService.java831 final List<String> shortcutIds = query.getShortcutIds(); in getShortcuts() local
835 if (shortcutIds != null && packageName == null) { in getShortcuts()
850 callingPackage, changedSince, packageName, shortcutIds, locusIds, in getShortcuts()
1376 final List<String> shortcutIds = query.getShortcutIds(); in filterShortcutsByQuery() local
1405 if (shortcutIds != null && !shortcutIds.contains(si.getId())) { in filterShortcutsByQuery()
DShortcutPackage.java300 public void ensureImmutableShortcutsNotIncludedWithIds(@NonNull List<String> shortcutIds, in ensureImmutableShortcutsNotIncludedWithIds() argument
302 for (int i = shortcutIds.size() - 1; i >= 0; i--) { in ensureImmutableShortcutsNotIncludedWithIds()
303 ensureNotImmutable(shortcutIds.get(i), ignoreInvisible); in ensureImmutableShortcutsNotIncludedWithIds()
2432 final List<String> shortcutIds = new ArrayList<>(1); in getShortcutById() local
2435 shortcutIds.add(id); in getShortcutById()
2442 if (shortcutIds.contains(si.getId())) { in getShortcutById()
2456 .addIds(shortcutIds).build(), in getShortcutById()
/frameworks/base/services/people/java/com/android/server/people/data/
DDataManager.java740 @Nullable List<String> shortcutIds) { in getShortcuts() argument
744 if (DEBUG) Log.d(TAG, " Get shortcuts with IDs: " + shortcutIds); in getShortcuts()
747 /*changedSince=*/ 0, packageName, shortcutIds, /*locusIds=*/ null, in getShortcuts()
1117 Set<String> shortcutIds = new HashSet<>(); in onShortcutsRemoved() local
1123 shortcutIds.add(shortcutInfo.getId()); in onShortcutsRemoved()
1127 packageName, uid, shortcutIds); in onShortcutsRemoved()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java2368 String packageName, List<String> shortcutIds, List<LocusId> locusIds,
2373 q.setShortcutIds(shortcutIds);