Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest12.java88 Set<String> shortcutIds = in testSetDynamicShortcuts_PersistsShortcutsToDisk() local
90 assertTrue(shortcutIds.contains("s1")); in testSetDynamicShortcuts_PersistsShortcutsToDisk()
91 assertTrue(shortcutIds.contains("s2")); in testSetDynamicShortcuts_PersistsShortcutsToDisk()
92 assertTrue(shortcutIds.contains("s3")); in testSetDynamicShortcuts_PersistsShortcutsToDisk()
116 final Set<String> shortcutIds = in testAddDynamicShortcuts_PersistsShortcutsToDisk() local
118 assertTrue(shortcutIds.contains("s1")); in testAddDynamicShortcuts_PersistsShortcutsToDisk()
119 assertTrue(shortcutIds.contains("s2")); in testAddDynamicShortcuts_PersistsShortcutsToDisk()
120 assertTrue(shortcutIds.contains("s3")); in testAddDynamicShortcuts_PersistsShortcutsToDisk()
121 assertTrue(shortcutIds.contains("s4")); in testAddDynamicShortcuts_PersistsShortcutsToDisk()
122 assertTrue(shortcutIds.contains("s5")); in testAddDynamicShortcuts_PersistsShortcutsToDisk()
[all …]
DBaseShortcutManagerTest.java2177 String packageName, List<String> shortcutIds, List<LocusId> locusIds,
2182 q.setShortcutIds(shortcutIds);
/frameworks/base/core/java/android/content/pm/
DShortcutManager.java254 public void removeDynamicShortcuts(@NonNull List<String> shortcutIds) { in removeDynamicShortcuts() argument
256 mService.removeDynamicShortcuts(mContext.getPackageName(), shortcutIds, in removeDynamicShortcuts() local
281 public void removeLongLivedShortcuts(@NonNull List<String> shortcutIds) { in removeLongLivedShortcuts() argument
283 mService.removeLongLivedShortcuts(mContext.getPackageName(), shortcutIds, in removeLongLivedShortcuts() local
341 public void disableShortcuts(@NonNull List<String> shortcutIds) { in disableShortcuts() argument
343 mService.disableShortcuts(mContext.getPackageName(), shortcutIds, in disableShortcuts() local
354 public void disableShortcuts(@NonNull List<String> shortcutIds, int disabledMessageResId) { in disableShortcuts() argument
356 mService.disableShortcuts(mContext.getPackageName(), shortcutIds, in disableShortcuts() local
367 public void disableShortcuts(@NonNull List<String> shortcutIds, String disabledMessage) { in disableShortcuts() argument
368 disableShortcuts(shortcutIds, (CharSequence) disabledMessage); in disableShortcuts()
[all …]
DIShortcutService.aidl35 void removeDynamicShortcuts(String packageName, in List<String> shortcutIds, int userId); in removeDynamicShortcuts() argument
47 void disableShortcuts(String packageName, in List<String> shortcutIds, in disableShortcuts() argument
50 void enableShortcuts(String packageName, in List<String> shortcutIds, int userId); in enableShortcuts() argument
77 void removeLongLivedShortcuts(String packageName, in List<String> shortcutIds, int userId); in removeLongLivedShortcuts() argument
DShortcutServiceInternal.java51 @Nullable String packageName, @Nullable List<String> shortcutIds, in getShortcuts() argument
63 @Nullable String packageName, @Nullable List<String> shortcutIds, in getShortcutsAsync() argument
74 @NonNull List<String> shortcutIds, int userId); in pinShortcuts() argument
137 @NonNull List<String> shortcutIds, int userId, int cacheFlags); in cacheShortcuts() argument
140 @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.aidl88 void pinShortcuts(String callingPackage, String packageName, in List<String> shortcutIds, in pinShortcuts() argument
118 void cacheShortcuts(String callingPackage, String packageName, in List<String> shortcutIds, in cacheShortcuts() argument
120 void uncacheShortcuts(String callingPackage, String packageName, in List<String> shortcutIds, in uncacheShortcuts() argument
DLauncherApps.java529 public ShortcutQuery setShortcutIds(@Nullable List<String> shortcutIds) { in setShortcutIds() argument
530 mShortcutIds = shortcutIds; in setShortcutIds()
1547 public void pinShortcuts(@NonNull String packageName, @NonNull List<String> shortcutIds, in pinShortcuts() argument
1551 mService.pinShortcuts(mContext.getPackageName(), packageName, shortcutIds, user); in pinShortcuts() local
1584 public void cacheShortcuts(@NonNull String packageName, @NonNull List<String> shortcutIds, in cacheShortcuts() argument
1589 mContext.getPackageName(), packageName, shortcutIds, user, cacheFlags); in cacheShortcuts() local
1615 public void uncacheShortcuts(@NonNull String packageName, @NonNull List<String> shortcutIds, in uncacheShortcuts() argument
1620 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.java2385 public void disableShortcuts(String packageName, List shortcutIds,
2388 Objects.requireNonNull(shortcutIds, "shortcutIds must be provided");
2395 ps.ensureImmutableShortcutsNotIncludedWithIds((List<String>) shortcutIds,
2399 for (int i = shortcutIds.size() - 1; i >= 0; i--) {
2400 final String id = Preconditions.checkStringNotEmpty((String) shortcutIds.get(i));
2428 public void enableShortcuts(String packageName, List shortcutIds, @UserIdInt int userId) {
2430 Objects.requireNonNull(shortcutIds, "shortcutIds must be provided");
2436 ps.ensureImmutableShortcutsNotIncludedWithIds((List<String>) shortcutIds,
2438 for (int i = shortcutIds.size() - 1; i >= 0; i--) {
2439 final String id = Preconditions.checkStringNotEmpty((String) shortcutIds.get(i));
[all …]
DLauncherAppsService.java1250 final List<String> shortcutIds = query.getShortcutIds(); in getShortcuts() local
1254 if (shortcutIds != null && packageName == null) { in getShortcuts()
1269 callingPackage, changedSince, packageName, shortcutIds, locusIds, in getShortcuts()
1286 final List<String> shortcutIds = query.getShortcutIds(); in getShortcutsAsync() local
1290 if (shortcutIds != null && packageName == null) { in getShortcutsAsync()
1303 callingPackage, changedSince, packageName, shortcutIds, locusIds, in getShortcutsAsync() local
2363 final List<String> shortcutIds = query.getShortcutIds(); in filterShortcutsByQuery() local
2392 if (shortcutIds != null && !shortcutIds.contains(si.getId())) { in filterShortcutsByQuery()
DShortcutPackage.java307 public void ensureImmutableShortcutsNotIncludedWithIds(@NonNull List<String> shortcutIds, in ensureImmutableShortcutsNotIncludedWithIds() argument
309 for (int i = shortcutIds.size() - 1; i >= 0; i--) { in ensureImmutableShortcutsNotIncludedWithIds()
310 ensureNotImmutable(shortcutIds.get(i), ignoreInvisible); in ensureImmutableShortcutsNotIncludedWithIds()
/frameworks/base/services/people/java/com/android/server/people/data/
DDataManager.java753 @Nullable List<String> shortcutIds) { in getShortcuts() argument
757 if (DEBUG) Log.d(TAG, " Get shortcuts with IDs: " + shortcutIds); in getShortcuts()
760 /*changedSince=*/ 0, packageName, shortcutIds, /*locusIds=*/ null, in getShortcuts()
1136 HashSet<String> shortcutIds = new HashSet<>(); in onShortcutsRemoved() local
1138 shortcutIds.add(shortcutInfo.getId()); in onShortcutsRemoved()
1140 removeConversations(packageName, user.getIdentifier(), shortcutIds); in onShortcutsRemoved()
1146 @NonNull String packageName, @NonNull int userId, @NonNull Set<String> shortcutIds) { in removeConversations() argument
1149 for (String shortcutId : shortcutIds) { in removeConversations()
1157 mNotificationManagerInternal.onConversationRemoved(packageName, uid, shortcutIds); in removeConversations()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...