Home
last modified time | relevance | path

Searched refs:TargetData (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DShareTargetInfo.java48 static class TargetData { class in ShareTargetInfo
57 TargetData(String scheme, String host, String port, String path, String pathPattern, in TargetData() method in ShareTargetInfo.TargetData
100 final TargetData[] mTargetData;
104 ShareTargetInfo(TargetData[] data, String targetClass, String[] categories) { in ShareTargetInfo()
155 final ArrayList<ShareTargetInfo.TargetData> targetData = new ArrayList<>(); in loadFromXml()
177 targetData.toArray(new ShareTargetInfo.TargetData[targetData.size()]), in loadFromXml()
181 private static ShareTargetInfo.TargetData parseTargetData(XmlPullParser parser) { in parseTargetData()
190 return new ShareTargetInfo.TargetData(scheme, host, port, path, pathPattern, pathPrefix, in parseTargetData()
DShortcutParser.java147 final ArrayList<ShareTargetInfo.TargetData> dataList = new ArrayList<>(); in parseShortcutsOneFile()
230 dataList.toArray(new ShareTargetInfo.TargetData[dataList.size()]), in parseShortcutsOneFile()
335 final ShareTargetInfo.TargetData data = parseShareTargetData(service, attrs); in parseShortcutsOneFile()
487 private static ShareTargetInfo.TargetData parseShareTargetData(ShortcutService service, in parseShareTargetData()
503 return new ShareTargetInfo.TargetData(scheme, host, port, path, pathPattern, pathPrefix, in parseShareTargetData()
DShortcutPackage.java665 for (ShareTargetInfo.TargetData data : target.mTargetData) { in getMatchingShareTargets()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java8054 new ShareTargetInfo.TargetData[]{new ShareTargetInfo.TargetData( in testParseShareTargetsFromManifest()
8058 expectedValues.add(new ShareTargetInfo(new ShareTargetInfo.TargetData[]{ in testParseShareTargetsFromManifest()
8059 new ShareTargetInfo.TargetData(null, null, null, null, null, null, "video/mp4"), in testParseShareTargetsFromManifest()
8060 new ShareTargetInfo.TargetData("content", null, null, null, null, null, "video/*")}, in testParseShareTargetsFromManifest()
8105 new ShareTargetInfo.TargetData[]{new ShareTargetInfo.TargetData( in testShareTargetInfo_saveToXml()
8109 expectedValues.add(new ShareTargetInfo(new ShareTargetInfo.TargetData[]{ in testShareTargetInfo_saveToXml()
8110 new ShareTargetInfo.TargetData(null, null, null, null, null, null, "video/mp4"), in testShareTargetInfo_saveToXml()
8111 new ShareTargetInfo.TargetData("content", null, null, null, null, null, "video/*")}, in testShareTargetInfo_saveToXml()