/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest11.java | 68 ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_setDynamicShortcuts() local 161 ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_pinShortcuts() local 229 ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_cacheShortcuts() local 262 ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_cacheShortcuts_alreadyCached() local 291 ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_uncacheShortcuts() local 367 ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_updateShortcuts() local 395 ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_addDynamicShortcuts() local 418 ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_pushDynamicShortcut() local 448 ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_pushDynamicShortcut_existingId() local 521 ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in testShortcutChangeCallback_pushDynamicShortcut_causeDeletionButCached() local [all …]
|
D | ShortcutManagerTest1.java | 4993 ArgumentCaptor<List> shortcuts; in testHandlePackageUpdate() local
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ShortcutHelperTest.java | 243 ArrayList<ShortcutInfo> shortcuts = new ArrayList<>(); in testGetValidShortcutInfo_nullShortcut() local 260 ArrayList<ShortcutInfo> shortcuts = new ArrayList<>(); in testGetValidShortcutInfo_notLongLived() local 278 ArrayList<ShortcutInfo> shortcuts = new ArrayList<>(); in testGetValidShortcutInfo_notSharingShortcut() local 295 ArrayList<ShortcutInfo> shortcuts = new ArrayList<>(); in testGetValidShortcutInfo_notEnabled() local 313 ArrayList<ShortcutInfo> shortcuts = new ArrayList<>(); in testGetValidShortcutInfo_isValid() local 334 ArrayList<ShortcutInfo> shortcuts = new ArrayList<>(); in testGetValidShortcutInfo_isValidButUserLocked() local
|
/frameworks/base/core/java/android/content/pm/ |
D | IShortcutChangeCallback.aidl | 32 void onShortcutsAddedOrUpdated(String packageName, in List<ShortcutInfo> shortcuts, in onShortcutsAddedOrUpdated() 35 void onShortcutsRemoved(String packageName, in List<ShortcutInfo> shortcuts, in onShortcutsRemoved()
|
D | LauncherApps.java | 331 @NonNull List<ShortcutInfo> shortcuts, @NonNull UserHandle user) { in onShortcutsChanged() 574 @NonNull List<ShortcutInfo> shortcuts, @NonNull UserHandle user) {} in onShortcutsAddedOrUpdated() 593 @NonNull List<ShortcutInfo> shortcuts, @NonNull UserHandle user) {} in onShortcutsRemoved() 611 @NonNull List<ShortcutInfo> shortcuts, @NonNull UserHandle user) { in onShortcutsAddedOrUpdated() 627 @NonNull List<ShortcutInfo> shortcuts, @NonNull UserHandle user) { in onShortcutsRemoved() 1105 private List<ShortcutInfo> maybeUpdateDisabledMessage(List<ShortcutInfo> shortcuts) { in maybeUpdateDisabledMessage() 1282 final List<ShortcutInfo> shortcuts = getShortcuts(q, user); in getShortcutIconResId() local 1782 List<ShortcutInfo> shortcuts; field in LauncherApps.CallbackMessageHandler.CallbackInfo 1886 List<ShortcutInfo> shortcuts) { in postOnShortcutChanged()
|
D | IOnAppsChangedListener.aidl | 35 void onShortcutChanged(in UserHandle user, String packageName, in ParceledListSlice shortcuts); in onShortcutChanged()
|
D | IShortcutService.aidl | 39 AndroidFuture updateShortcuts(String packageName, in ParceledListSlice shortcuts, in updateShortcuts()
|
D | AppSearchShortcutInfo.java | 438 public static List<GenericDocument> toGenericDocuments( in toGenericDocuments()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerInternal.java | 38 void onConversationRemoved(String pkg, int uid, Set<String> shortcuts); in onConversationRemoved()
|
D | ShortcutHelper.java | 207 List<ShortcutInfo> shortcuts = mLauncherAppsService.getShortcuts(query, user); in getValidShortcutInfo() local
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackage.java | 307 public void ensureImmutableShortcutsNotIncluded(@NonNull List<ShortcutInfo> shortcuts, in ensureImmutableShortcutsNotIncluded() 314 public void ensureNoBitmapIconIfShortcutIsLongLived(@NonNull List<ShortcutInfo> shortcuts) { in ensureNoBitmapIconIfShortcutIsLongLived() 840 final List<ShortcutInfo> shortcuts = getShortcutById(ids); in findAllByIds() local 932 final ArrayList<ShortcutInfo> shortcuts = new ArrayList<>(); in getMatchingShareTargets() local 977 final ArrayList<ShortcutInfo> shortcuts = new ArrayList<>(); in getSharingShortcutCount() local 2321 private void saveShortcut(@NonNull final ShortcutInfo... shortcuts) { in saveShortcut() 2326 private void saveShortcut(@NonNull final Collection<ShortcutInfo> shortcuts) { in saveShortcut() 2347 private void saveToAppSearch(@NonNull final Collection<ShortcutInfo> shortcuts) { in saveToAppSearch()
|
D | LauncherAppsService.java | 1325 public void onShortcutsAddedOrUpdated(String packageName, List<ShortcutInfo> shortcuts, in onShortcutsAddedOrUpdated() 1331 public void onShortcutsRemoved(String packageName, List<ShortcutInfo> shortcuts, in onShortcutsRemoved() 1337 List<ShortcutInfo> shortcuts, UserHandle user, boolean shortcutsRemoved) { in onShortcutEvent() 1372 List<ShortcutInfo> shortcuts, ShortcutQueryWrapper query, in filterShortcutsByQuery()
|
D | ShortcutService.java | 1883 private void fillInDefaultActivity(List<ShortcutInfo> shortcuts) { in fillInDefaultActivity() 1899 private void assignImplicitRanks(List<ShortcutInfo> shortcuts) { in assignImplicitRanks() 1905 private List<ShortcutInfo> setReturnedByServer(List<ShortcutInfo> shortcuts) { in setReturnedByServer()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ChooserActivityTest.java | 1071 List<ShareShortcutInfo> shortcuts = createShortcuts(activity); in testConvertToChooserTarget_predictionService() local 1107 List<ShareShortcutInfo> shortcuts = createShortcuts(activity); in testConvertToChooserTarget_shortcutManager() local 2573 List<ShareShortcutInfo> shortcuts = new ArrayList<>(); in createShortcuts() local 2594 private void assertCorrectShortcutToChooserTargetConversion(List<ShareShortcutInfo> shortcuts, in assertCorrectShortcutToChooserTargetConversion()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationConversationInfoTest.java | 193 List<ShortcutInfo> shortcuts = Arrays.asList(mShortcutInfo); in setUp() local
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | DataManager.java | 220 List<ShortcutInfo> shortcuts = getShortcuts(packageName, userId, in getShortcut() local 1082 @NonNull List<ShortcutInfo> shortcuts, @NonNull UserHandle user) { in onShortcutsAddedOrUpdated() 1107 @NonNull List<ShortcutInfo> shortcuts, @NonNull UserHandle user) { in onShortcutsRemoved()
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 782 public static List<ShortcutInfo> sortedByRank(List<ShortcutInfo> shortcuts) { in sortedByRank() 1191 final ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in assertCallbackCalledForPackageAndUser() local
|