Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextLinksTest.java78 final List<TextLinks.TextLink> resultList = new ArrayList<>(result.getLinks()); in testParcel() local
80 assertEquals(2, resultList.size()); in testParcel()
81 assertEquals(0, resultList.get(0).getStart()); in testParcel()
82 assertEquals(4, resultList.get(0).getEnd()); in testParcel()
83 assertEquals(1, resultList.get(0).getEntityCount()); in testParcel()
84 assertEquals(TextClassifier.TYPE_OTHER, resultList.get(0).getEntity(0)); in testParcel()
85 assertEquals(1.f, resultList.get(0).getConfidenceScore(TextClassifier.TYPE_OTHER), 1e-7f); in testParcel()
86 assertEquals(BUNDLE_VALUE, resultList.get(0).getExtras().getString(BUNDLE_KEY)); in testParcel()
87 assertEquals(5, resultList.get(1).getStart()); in testParcel()
88 assertEquals(12, resultList.get(1).getEnd()); in testParcel()
[all …]
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/results/
DGlobalResultsStore.java133 ArrayList<UiBenchmarkResult> resultList = new ArrayList<>(); in loadTestResults() local
179 if (resultList.size() == iteration) { in loadTestResults()
181 resultList.add(iteration, iterationResult); in loadTestResults()
183 iterationResult = resultList.get(iteration); in loadTestResults()
193 int total = resultList.get(0).getTotalFrameCount(); in loadTestResults()
195 … System.out.println(""+ resultList.get(0).getMetricAtIndex(0, FrameMetrics.TOTAL_DURATION)); in loadTestResults()
198 return resultList; in loadTestResults()
228 ArrayList<UiBenchmarkResult> resultList = results.get(name); in loadDetailedResults() local
229 if (resultList == null) { in loadDetailedResults()
230 resultList = new ArrayList<>(); in loadDetailedResults()
[all …]
/frameworks/base/services/core/java/com/android/server/search/
DSearchables.java465 final ArrayList<SearchableInfo> resultList = new ArrayList<>(list.size()); in createFilterdSearchableInfoList() local
471 resultList.add(info); in createFilterdSearchableInfoList()
474 return resultList; in createFilterdSearchableInfoList()
481 final ArrayList<ResolveInfo> resultList = new ArrayList<>(list.size()); in createFilterdResolveInfoList() local
488 resultList.add(info); in createFilterdResolveInfoList()
491 return resultList; in createFilterdResolveInfoList()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiTracker.java481 List<ScanResult> resultList; in updateScanResultCache() local
483 resultList = scanResultsByApKey.get(apKey); in updateScanResultCache()
485 resultList = new ArrayList<>(); in updateScanResultCache()
486 scanResultsByApKey.put(apKey, resultList); in updateScanResultCache()
489 resultList.add(result); in updateScanResultCache()
/frameworks/base/services/core/java/com/android/server/
DIntentResolver.java381 ArrayList<R> resultList = new ArrayList<R>(); in queryIntentFromList() local
391 listCut.get(i), resultList, userId); in queryIntentFromList()
393 filterResults(resultList); in queryIntentFromList()
394 sortResults(resultList); in queryIntentFromList()
395 return resultList; in queryIntentFromList()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java673 mAppPredictorCallback = resultList -> { in onCreate()
681 if (resultList.isEmpty()) { in onCreate()
690 for (AppTarget appTarget : resultList) { in onCreate()
699 sendShareShortcutInfoList(shareShortcutInfos, driList, resultList); in onCreate()
1719 List<ShortcutManager.ShareShortcutInfo> resultList = sm.getShareTargets(filter);
1720 sendShareShortcutInfoList(resultList, driList, null);
1725 List<ShortcutManager.ShareShortcutInfo> resultList,
1728 if (appTargets != null && appTargets.size() != resultList.size()) {
1730 + " resultList.size()=" + resultList.size()
1734 for (int i = resultList.size() - 1; i >= 0; i--) {
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java10590 ArrayList<PackageParser.Package> resultList = null;
10611 if (resultList == null) {
10612 resultList = new ArrayList<>();
10614 resultList.add(pkg);
10643 return resultList;