Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DShareTargetInfo.java32 class ShareTargetInfo { class
105 ShareTargetInfo(TargetData[] data, String targetClass, String[] categories) { in ShareTargetInfo() method in ShareTargetInfo
153 static ShareTargetInfo loadFromXml(TypedXmlPullParser parser) in loadFromXml()
156 final ArrayList<ShareTargetInfo.TargetData> targetData = new ArrayList<>(); in loadFromXml()
177 return new ShareTargetInfo( in loadFromXml()
178 targetData.toArray(new ShareTargetInfo.TargetData[targetData.size()]), in loadFromXml()
182 private static ShareTargetInfo.TargetData parseTargetData(TypedXmlPullParser parser) { in parseTargetData()
191 return new ShareTargetInfo.TargetData(scheme, host, port, path, pathPattern, pathPrefix, in parseTargetData()
DShortcutParser.java65 @UserIdInt int userId, @NonNull List<ShareTargetInfo> outShareTargets) in parseShortcuts()
108 List<ShortcutInfo> result, @NonNull List<ShareTargetInfo> outShareTargets) in parseShortcutsOneFile()
138 ShareTargetInfo currentShareTarget = null; in parseShortcutsOneFile()
147 final ArrayList<ShareTargetInfo.TargetData> dataList = new ArrayList<>(); in parseShortcutsOneFile()
221 final ShareTargetInfo sti = currentShareTarget; in parseShortcutsOneFile()
229 final ShareTargetInfo newShareTarget = new ShareTargetInfo( in parseShortcutsOneFile()
230 dataList.toArray(new ShareTargetInfo.TargetData[dataList.size()]), in parseShortcutsOneFile()
271 final ShareTargetInfo sti = parseShareTargetAttributes(service, attrs); in parseShortcutsOneFile()
335 final ShareTargetInfo.TargetData data = parseShareTargetData(service, attrs); in parseShortcutsOneFile()
479 private static ShareTargetInfo parseShareTargetAttributes(ShortcutService service, in parseShareTargetAttributes()
[all …]
DShortcutPackage.java171 private final ArrayList<ShareTargetInfo> mShareTargets = new ArrayList<>(0);
915 final List<ShareTargetInfo> matchedTargets = new ArrayList<>(); in getMatchingShareTargets()
917 final ShareTargetInfo target = mShareTargets.get(i); in getMatchingShareTargets()
918 for (ShareTargetInfo.TargetData data : target.mTargetData) { in getMatchingShareTargets()
945 final ShareTargetInfo target = matchedTargets.get(j); in getMatchingShareTargets()
990 final ShareTargetInfo target = mShareTargets.get(j); in getSharingShortcutCount()
1976 ret.mShareTargets.add(ShareTargetInfo.loadFromXml(parser)); in loadFromXml()
2175 List<ShareTargetInfo> getAllShareTargetsForTest() { in getAllShareTargetsForTest()
DOWNERS49 per-file ShareTargetInfo.java = omakoto@google.com, yamasani@google.com, sunnygoyal@google.com, met…
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java8677 List<ShareTargetInfo> expectedValues = new ArrayList<>(); in testParseShareTargetsFromManifest()
8678 expectedValues.add(new ShareTargetInfo( in testParseShareTargetsFromManifest()
8679 new ShareTargetInfo.TargetData[]{new ShareTargetInfo.TargetData( in testParseShareTargetsFromManifest()
8683 expectedValues.add(new ShareTargetInfo(new ShareTargetInfo.TargetData[]{ in testParseShareTargetsFromManifest()
8684 new ShareTargetInfo.TargetData(null, null, null, null, null, null, "video/mp4"), in testParseShareTargetsFromManifest()
8685 new ShareTargetInfo.TargetData("content", null, null, null, null, null, "video/*")}, in testParseShareTargetsFromManifest()
8696 List<ShareTargetInfo> shareTargets = getCallerShareTargets(); in testParseShareTargetsFromManifest()
8702 ShareTargetInfo expected = expectedValues.get(i); in testParseShareTargetsFromManifest()
8703 ShareTargetInfo actual = shareTargets.get(i); in testParseShareTargetsFromManifest()
8728 List<ShareTargetInfo> expectedValues = new ArrayList<>(); in testShareTargetInfo_saveToXml()
[all …]
DBaseShortcutManagerTest.java2232 protected List<ShareTargetInfo> getCallerShareTargets() {
/frameworks/base/services/
Dart-profile32275 HPLcom/android/server/pm/ShareTargetInfo$TargetData;-><init>(Ljava/lang/String;Ljava/lang/String;Lj…
32276 HPLcom/android/server/pm/ShareTargetInfo;-><init>([Lcom/android/server/pm/ShareTargetInfo$TargetDat…
32277 HPLcom/android/server/pm/ShareTargetInfo;->loadFromXml(Landroid/util/TypedXmlPullParser;)Lcom/andro…
32278 …Lcom/android/server/pm/ShareTargetInfo;->parseTargetData(Landroid/util/TypedXmlPullParser;)Lcom/an…
32279 HPLcom/android/server/pm/ShareTargetInfo;->saveToXml(Landroid/util/TypedXmlSerializer;)V+]Landroid/…
32557 …ist;Ljava/util/ArrayList;]Lcom/android/server/pm/ShareTargetInfo;Lcom/android/server/pm/ShareTarge…
32585 …droid/server/pm/ShortcutService;Landroid/util/AttributeSet;)Lcom/android/server/pm/ShareTargetInfo;
32586 …r/pm/ShortcutService;Landroid/util/AttributeSet;)Lcom/android/server/pm/ShareTargetInfo$TargetData;
55010 Lcom/android/server/pm/ShareTargetInfo$TargetData;
55011 Lcom/android/server/pm/ShareTargetInfo;