Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/wifi/slice/
DWifiScanWorker.java157 final List<WifiSliceItem> resultList = new ArrayList<>(); in updateResults() local
161 resultList.add(new WifiSliceItem(getContext(), connectedWifiEntry)); in updateResults()
164 if (resultList.size() >= getApRowCount()) { in updateResults()
169 resultList.add(new WifiSliceItem(getContext(), wifiEntry)); in updateResults()
172 super.updateResults(resultList); in updateResults()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/
DAppSearchHelper.java220 List<SearchResult> resultList = results.getNextPage(); in collectUpdatedTimestampFromAllPages() local
222 while (!resultList.isEmpty()) { in collectUpdatedTimestampFromAllPages()
223 for (int i = 0; i < resultList.size(); i++) { in collectUpdatedTimestampFromAllPages()
224 SearchResult result = resultList.get(i); in collectUpdatedTimestampFromAllPages()
232 resultList = results.getNextPage(); in collectUpdatedTimestampFromAllPages()
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunDiscover.java70 List<HdHomeRunDiscoverDevice> resultList = new ArrayList<>(); in findDevices() local
73 retry < HDHOMERUN_DISCOVER_RETRY_LIMIT && resultList.isEmpty(); in findDevices()
101 if (resultList.contains(result)) { in findDevices()
105 resultList.add(result); in findDevices()
106 if (resultList.size() >= maxCount) { in findDevices()
111 return resultList; in findDevices()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DDataProcessorTest.java746 final List<Long> resultList = in getTimestampSlots_emptyRawList_returnEmptyList() local
749 assertThat(resultList).isEmpty(); in getTimestampSlots_emptyRawList_returnEmptyList()
2228 final List<AppUsagePeriod> resultList = in excludePowerConnectedTime_startEndNotCharging_returnExpectedResult() local
2232 assertThat(resultList).hasSize(2); in excludePowerConnectedTime_startEndNotCharging_returnExpectedResult()
2233 assertAppUsagePeriod(resultList.get(0), 100, 166); in excludePowerConnectedTime_startEndNotCharging_returnExpectedResult()
2234 assertAppUsagePeriod(resultList.get(1), 188, 200); in excludePowerConnectedTime_startEndNotCharging_returnExpectedResult()
2268 final List<AppUsagePeriod> resultList = in excludePowerConnectedTime_startEndInCharging_returnExpectedResult() local
2272 assertThat(resultList).hasSize(2); in excludePowerConnectedTime_startEndInCharging_returnExpectedResult()
2273 assertAppUsagePeriod(resultList.get(0), 120, 150); in excludePowerConnectedTime_startEndInCharging_returnExpectedResult()
2274 assertAppUsagePeriod(resultList.get(1), 160, 180); in excludePowerConnectedTime_startEndInCharging_returnExpectedResult()
[all …]
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
DDatabaseResultTask.java157 List<SearchResult> resultList = new ArrayList<>(resultSet); in query() local
158 Collections.sort(resultList); in query()
159 return resultList; in query()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DAppSearchHelper.java636 List<SearchResult> resultList = callback.getResultValue();
637 for (int i = 0; i < resultList.size(); i++) {
638 SearchResult result = resultList.get(i);
641 future.complete(!resultList.isEmpty());
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DDataProcessor.java831 final List<AppUsagePeriod> resultList = new ArrayList<>(); in excludePowerConnectedTimeFromAppUsagePeriodList() local
858 resultList.add( in excludePowerConnectedTimeFromAppUsagePeriodList()
870 resultList.add( in excludePowerConnectedTimeFromAppUsagePeriodList()
877 return resultList; in excludePowerConnectedTimeFromAppUsagePeriodList()
955 final List<AppUsageEvent> resultList = new ArrayList<>(); in getAppUsageEventListWithinTimeRangeWithBuffer() local
965 resultList.add(event); in getAppUsageEventListWithinTimeRangeWithBuffer()
968 return resultList; in getAppUsageEventListWithinTimeRangeWithBuffer()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DCustomAudienceBlob.java772 List<String> resultList = new ArrayList<>();
777 resultList.add(
799 return resultList;
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertDialog.java1335 ArrayList<SmsCbMessage> resultList = new ArrayList<>(dialogMessageList); in getNewMessageListIfNeeded() local
1336 resultList.addAll(clonedNewMessageList); in getNewMessageListIfNeeded()
1347 Collections.sort(resultList, comparator); in getNewMessageListIfNeeded()
1348 return resultList; in getNewMessageListIfNeeded()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java1450 ArrayList<String> resultList, String defaultName, Cursor cursor) { in appendDistinctNameIdList() argument
1464 if (!resultList.contains(newString)) { in appendDistinctNameIdList()
1465 resultList.add(newString); in appendDistinctNameIdList()
1468 for (String nameId : resultList) { in appendDistinctNameIdList()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgSelector.java460 List<Map.Entry<String, List<InetAddress>>> resultList = null; in getIP() local
462 resultList = allFuturesResult.get(timeout, TimeUnit.SECONDS); in getIP()
471 if (resultList == null) { in getIP()
474 for (Map.Entry<String, List<InetAddress>> entry : resultList) { in getIP()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java1390 List<Integer> resultList; in testCollectAllowedAcsChannels() local
1393 resultList = ApConfigUtil.collectAllowedAcsChannels(SoftApConfiguration.BAND_2GHZ, "", in testCollectAllowedAcsChannels()
1396 resultList.stream().mapToInt(x->x).toArray()); in testCollectAllowedAcsChannels()
1399 resultList = ApConfigUtil.collectAllowedAcsChannels(SoftApConfiguration.BAND_2GHZ, in testCollectAllowedAcsChannels()
1402 resultList.stream().mapToInt(x->x).toArray()); in testCollectAllowedAcsChannels()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DApplicationQosPolicyRequestHandler.java184 public boolean matchesResults(List<SupplicantStaIfaceHal.QosPolicyStatus> resultList) { in matchesResults() argument
186 for (SupplicantStaIfaceHal.QosPolicyStatus status : resultList) { in matchesResults()
DWifiNative.java3705 List<ScanResult> resultList = new ArrayList<ScanResult>();
3709 resultList.add(scanResult);
3712 return resultList.toArray(new ScanResult[0]);
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.cpp1525 LogEventFilter::AtomIdSet resultList(std::move(StatsLogProcessor::getDefaultAtomIdSet())); in CreateAtomIdSetDefault() local
1526 StateManager::getInstance().addAllAtomIds(resultList); in CreateAtomIdSetDefault()
1527 return resultList; in CreateAtomIdSetDefault()
1531 LogEventFilter::AtomIdSet resultList(std::move(StatsLogProcessor::getDefaultAtomIdSet())); in CreateAtomIdSetFromConfig() local
1540 resultList.insert(matcher.simple_atom_matcher().atom_id()); in CreateAtomIdSetFromConfig()
1547 resultList.insert(state.atom_id()); in CreateAtomIdSetFromConfig()
1550 return resultList; in CreateAtomIdSetFromConfig()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java1430 List<byte[]> expectedList, List<byte[]> resultList) { in assertByteArrayListEquals() argument
1431 assertEquals(expectedList.size(), resultList.size()); in assertByteArrayListEquals()
1433 assertArrayEquals(expectedList.get(i), resultList.get(i)); in assertByteArrayListEquals()
/packages/apps/TV/libs/m2/
Djavac-shaded-9-dev-r4023-3.jarorg/openjdk/tools/sjavac/server/log/LoggingOutputStream.class LoggingOutputStream.java package ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...