Home
last modified time | relevance | path

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

/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
DCallHistoryLiveData.java110 List<PhoneCallLog> resultList = new ArrayList<>(); in convertToEntity() local
114 PhoneCallLog previousCallLog = resultList.isEmpty() ? null : resultList.get( in convertToEntity()
115 resultList.size() - 1); in convertToEntity()
118 resultList.add(phoneCallLog); in convertToEntity()
121 return resultList; in convertToEntity()
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DWifiScanWorker.java154 final List<WifiSliceItem> resultList = new ArrayList<>(); in updateResults() local
158 resultList.add(new WifiSliceItem(getContext(), connectedWifiEntry)); in updateResults()
161 if (resultList.size() >= getApRowCount()) { in updateResults()
166 resultList.add(new WifiSliceItem(getContext(), wifiEntry)); in updateResults()
169 super.updateResults(resultList); in updateResults()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/
DBluetoothFavoriteContactsLiveData.java53 List<Contact> resultList = new ArrayList<>(); in convertToEntity() local
60 for (Contact contact : resultList) { in convertToEntity()
68 resultList.add(favoriteEntry); in convertToEntity()
71 return resultList; in convertToEntity()
/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/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/apps/Settings/src/com/android/settings/fuelgauge/
DConvertUtils.java320 final List<BatteryDiffEntry> resultList = new ArrayList<>(resultMap.values()); in insert24HoursData() local
322 for (BatteryDiffEntry entry : resultList) { in insert24HoursData()
325 indexedUsageMap.put(Integer.valueOf(desiredIndex), resultList); in insert24HoursData() local
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java1341 private static void appendDistinctNameIdList(ArrayList<String> resultList, String defaultName, in appendDistinctNameIdList() argument
1356 if (!resultList.contains(newString)) { in appendDistinctNameIdList()
1357 resultList.add(newString); in appendDistinctNameIdList()
1361 for (String nameId : resultList) { in appendDistinctNameIdList()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java1309 List<byte[]> expectedList, List<byte[]> resultList) { in assertByteArrayListEquals() argument
1310 assertEquals(expectedList.size(), resultList.size()); in assertByteArrayListEquals()
1312 assertArrayEquals(expectedList.get(i), resultList.get(i)); in assertByteArrayListEquals()