Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DShortcutManager.java244 public void removeDynamicShortcuts(@NonNull List<String> shortcutIds) { in removeDynamicShortcuts() argument
246 mService.removeDynamicShortcuts(mContext.getPackageName(), shortcutIds, in removeDynamicShortcuts() local
271 public void removeLongLivedShortcuts(@NonNull List<String> shortcutIds) { in removeLongLivedShortcuts() argument
273 mService.removeLongLivedShortcuts(mContext.getPackageName(), shortcutIds, in removeLongLivedShortcuts() local
329 public void disableShortcuts(@NonNull List<String> shortcutIds) { in disableShortcuts() argument
331 mService.disableShortcuts(mContext.getPackageName(), shortcutIds, in disableShortcuts() local
342 public void disableShortcuts(@NonNull List<String> shortcutIds, int disabledMessageResId) { in disableShortcuts() argument
344 mService.disableShortcuts(mContext.getPackageName(), shortcutIds, in disableShortcuts() local
355 public void disableShortcuts(@NonNull List<String> shortcutIds, String disabledMessage) { in disableShortcuts() argument
356 disableShortcuts(shortcutIds, (CharSequence) disabledMessage); in disableShortcuts()
[all …]
DIShortcutService.aidl35 void removeDynamicShortcuts(String packageName, in List shortcutIds, int userId); in removeDynamicShortcuts() argument
46 void disableShortcuts(String packageName, in List shortcutIds, CharSequence disabledMessage, in disableShortcuts() argument
49 void enableShortcuts(String packageName, in List shortcutIds, int userId); in enableShortcuts() argument
76 void removeLongLivedShortcuts(String packageName, in List shortcutIds, int userId); in removeLongLivedShortcuts() argument
DShortcutServiceInternal.java49 @Nullable String packageName, @Nullable List<String> shortcutIds, in getShortcuts() argument
59 @NonNull List<String> shortcutIds, int userId); in pinShortcuts() argument
95 @NonNull List<String> shortcutIds, int userId, int cacheFlags); in cacheShortcuts() argument
98 @NonNull List<String> shortcutIds, int userId, int cacheFlags); in uncacheShortcuts() 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()
DILauncherApps.aidl73 void pinShortcuts(String callingPackage, String packageName, in List<String> shortcutIds, in pinShortcuts() argument
101 void cacheShortcuts(String callingPackage, String packageName, in List<String> shortcutIds, in cacheShortcuts() argument
103 void uncacheShortcuts(String callingPackage, String packageName, in List<String> shortcutIds, in uncacheShortcuts() argument
DLauncherApps.java478 public ShortcutQuery setShortcutIds(@Nullable List<String> shortcutIds) { in setShortcutIds() argument
479 mShortcutIds = shortcutIds; in setShortcutIds()
1109 public void pinShortcuts(@NonNull String packageName, @NonNull List<String> shortcutIds, in pinShortcuts() argument
1113 mService.pinShortcuts(mContext.getPackageName(), packageName, shortcutIds, user); in pinShortcuts() local
1145 public void cacheShortcuts(@NonNull String packageName, @NonNull List<String> shortcutIds, in cacheShortcuts() argument
1150 mContext.getPackageName(), packageName, shortcutIds, user, cacheFlags); in cacheShortcuts() local
1175 public void uncacheShortcuts(@NonNull String packageName, @NonNull List<String> shortcutIds, in uncacheShortcuts() argument
1180 mContext.getPackageName(), packageName, shortcutIds, user, cacheFlags); in uncacheShortcuts() local
/frameworks/base/services/core/java/com/android/server/notification/
DShortcutHelper.java107 final Set<String> shortcutIds = new HashSet<>(shortcutBubbles.keySet());
111 for (String shortcutId : shortcutIds) {
259 final Set<String> shortcutIds = new HashSet<>(packageBubbles.keySet()); in maybeListenForShortcutChangesForBubbles() local
262 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.java2191 public void disableShortcuts(String packageName, List shortcutIds, in disableShortcuts() argument
2194 Objects.requireNonNull(shortcutIds, "shortcutIds must be provided"); in disableShortcuts()
2204 ps.ensureImmutableShortcutsNotIncludedWithIds((List<String>) shortcutIds, in disableShortcuts()
2210 for (int i = shortcutIds.size() - 1; i >= 0; i--) { in disableShortcuts()
2211 final String id = Preconditions.checkStringNotEmpty((String) shortcutIds.get(i)); in disableShortcuts()
2244 public void enableShortcuts(String packageName, List shortcutIds, @UserIdInt int userId) { in enableShortcuts() argument
2246 Objects.requireNonNull(shortcutIds, "shortcutIds must be provided"); in enableShortcuts()
2255 ps.ensureImmutableShortcutsNotIncludedWithIds((List<String>) shortcutIds, in enableShortcuts()
2258 for (int i = shortcutIds.size() - 1; i >= 0; i--) { in enableShortcuts()
2259 final String id = Preconditions.checkStringNotEmpty((String) shortcutIds.get(i)); in enableShortcuts()
[all …]
DLauncherAppsService.java718 final List<String> shortcutIds = query.getShortcutIds(); in getShortcuts() local
722 if (shortcutIds != null && packageName == null) { in getShortcuts()
734 callingPackage, changedSince, packageName, shortcutIds, locusIds, in getShortcuts()
1156 final List<String> shortcutIds = query.getShortcutIds(); in filterShortcutsByQuery() local
1185 if (shortcutIds != null && !shortcutIds.contains(si.getId())) { in filterShortcutsByQuery()
DShortcutPackage.java246 public void ensureImmutableShortcutsNotIncludedWithIds(@NonNull List<String> shortcutIds, in ensureImmutableShortcutsNotIncludedWithIds() argument
248 for (int i = shortcutIds.size() - 1; i >= 0; i--) { in ensureImmutableShortcutsNotIncludedWithIds()
249 ensureNotImmutable(shortcutIds.get(i), ignoreInvisible); in ensureImmutableShortcutsNotIncludedWithIds()
/frameworks/base/services/people/java/com/android/server/people/data/
DDataManager.java467 @Nullable List<String> shortcutIds) { in getShortcuts() argument
472 /*changedSince=*/ 0, packageName, shortcutIds, /*locusIds=*/ null, in getShortcuts()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java2027 String packageName, List<String> shortcutIds, List<LocusId> locusIds,
2032 q.setShortcutIds(shortcutIds);
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...