Home
last modified time | relevance | path

Searched refs:resultList (Results 1 – 8 of 8) 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/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/main/java/com/google/protobuf/nano/
DExtension.java191 List<Object> resultList = new ArrayList<Object>(); in getRepeatedValueFrom() local
195 readDataInto(data, resultList); in getRepeatedValueFrom()
199 int resultSize = resultList.size(); in getRepeatedValueFrom()
205 Array.set(result, i, resultList.get(i)); in getRepeatedValueFrom()
247 protected void readDataInto(UnknownFieldData data, List<Object> resultList) { in readDataInto() argument
249 resultList.add(readData(CodedInputByteBufferNano.newInstance(data.bytes))); in readDataInto()
367 protected void readDataInto(UnknownFieldData data, List<Object> resultList) { in readDataInto() argument
371 resultList.add(readData(CodedInputByteBufferNano.newInstance(data.bytes))); in readDataInto()
381 resultList.add(readData(buffer)); in readDataInto()
/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.java479 List<ScanResult> resultList; in updateScanResultCache() local
481 resultList = scanResultsByApKey.get(apKey); in updateScanResultCache()
483 resultList = new ArrayList<>(); in updateScanResultCache()
484 scanResultsByApKey.put(apKey, resultList); in updateScanResultCache()
487 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.java623 mAppPredictorCallback = resultList -> { in onCreate()
631 if (resultList.isEmpty()) { in onCreate()
640 for (AppTarget appTarget : resultList) { in onCreate()
649 sendShareShortcutInfoList(shareShortcutInfos, driList, resultList); in onCreate()
1502 List<ShortcutManager.ShareShortcutInfo> resultList = sm.getShareTargets(filter);
1503 sendShareShortcutInfoList(resultList, driList, null);
1508 List<ShortcutManager.ShareShortcutInfo> resultList,
1511 if (appTargets != null && appTargets.size() != resultList.size()) {
1513 + " resultList.size()=" + resultList.size()
1517 for (int i = resultList.size() - 1; i >= 0; i--) {
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java10643 ArrayList<PackageParser.Package> resultList = null;
10664 if (resultList == null) {
10665 resultList = new ArrayList<>();
10667 resultList.add(pkg);
10696 return resultList;