Home
last modified time | relevance | path

Searched refs:ShareShortcutInfo (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DShortcutManager.java571 public List<ShareShortcutInfo> getShareTargets(@NonNull IntentFilter filter) { in getShareTargets()
586 public static final class ShareShortcutInfo implements Parcelable { class in ShortcutManager
593 public ShareShortcutInfo(@NonNull ShortcutInfo shortcutInfo, in ShareShortcutInfo() method in ShortcutManager.ShareShortcutInfo
606 private ShareShortcutInfo(@NonNull Parcel in) { in ShareShortcutInfo() method in ShortcutManager.ShareShortcutInfo
632 public static final @NonNull Parcelable.Creator<ShareShortcutInfo> CREATOR =
633 new Parcelable.Creator<ShareShortcutInfo>() {
634 public ShareShortcutInfo createFromParcel(Parcel in) {
635 return new ShareShortcutInfo(in);
638 public ShareShortcutInfo[] newArray(int size) {
639 return new ShareShortcutInfo[size];
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityTest.java56 import android.content.pm.ShortcutManager.ShareShortcutInfo;
855 List<ShareShortcutInfo> shortcuts = createShortcuts(activity); in testConvertToChooserTarget_predictionService()
865 List<ShareShortcutInfo> subset = new ArrayList<>(); in testConvertToChooserTarget_predictionService()
891 List<ShareShortcutInfo> shortcuts = createShortcuts(activity); in testConvertToChooserTarget_shortcutManager()
901 List<ShareShortcutInfo> subset = new ArrayList<>(); in testConvertToChooserTarget_shortcutManager()
1212 private List<ShareShortcutInfo> createShortcuts(Context context) { in createShortcuts()
1215 List<ShareShortcutInfo> shortcuts = new ArrayList<>(); in createShortcuts()
1216 shortcuts.add(new ShareShortcutInfo( in createShortcuts()
1220 shortcuts.add(new ShareShortcutInfo( in createShortcuts()
1224 shortcuts.add(new ShareShortcutInfo( in createShortcuts()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java688 final List<ShortcutManager.ShareShortcutInfo> shareShortcutInfos = in onCreate()
694 shareShortcutInfos.add(new ShortcutManager.ShareShortcutInfo( in onCreate()
1719 List<ShortcutManager.ShareShortcutInfo> resultList = sm.getShareTargets(filter);
1725 List<ShortcutManager.ShareShortcutInfo> resultList,
1753 List<ShortcutManager.ShareShortcutInfo> matchingShortcuts = new ArrayList<>();
1817 @NonNull List<ShortcutManager.ShareShortcutInfo> matchingShortcuts,
1818 @NonNull List<ShortcutManager.ShareShortcutInfo> allShortcuts,
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java660 public List<ShortcutManager.ShareShortcutInfo> getMatchingShareTargets( in getMatchingShareTargets()
683 final List<ShortcutManager.ShareShortcutInfo> result = new ArrayList<>(); in getMatchingShareTargets()
700 result.add(new ShortcutManager.ShareShortcutInfo(shortcuts.get(i), in getMatchingShareTargets()
DShortcutService.java2160 public ParceledListSlice<ShortcutManager.ShareShortcutInfo> getShareTargets(String packageName, in getShareTargets()
2169 final List<ShortcutManager.ShareShortcutInfo> shortcutInfoList = new ArrayList<>(); in getShareTargets()
/frameworks/base/api/
Dsystem-current.txt1942 …EDICTIONS) public java.util.List<android.content.pm.ShortcutManager.ShareShortcutInfo> getShareTar…
1946 public static final class ShortcutManager.ShareShortcutInfo implements android.os.Parcelable {
1951 … final android.os.Parcelable.Creator<android.content.pm.ShortcutManager.ShareShortcutInfo> CREATOR;
/frameworks/base/non-updatable-api/
Dsystem-current.txt1942 …EDICTIONS) public java.util.List<android.content.pm.ShortcutManager.ShareShortcutInfo> getShareTar…
1946 public static final class ShortcutManager.ShareShortcutInfo implements android.os.Parcelable {
1951 … final android.os.Parcelable.Creator<android.content.pm.ShortcutManager.ShareShortcutInfo> CREATOR;