Home
last modified time | relevance | path

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

/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/
DDataAccessServiceImplTest.java212 HashSet<String> resultSet = in testRemoteDataKeysetWithOverride() local
214 assertNotNull(resultSet); in testRemoteDataKeysetWithOverride()
215 assertEquals(2, resultSet.size()); in testRemoteDataKeysetWithOverride()
216 assertTrue(resultSet.contains("key1")); in testRemoteDataKeysetWithOverride()
217 assertTrue(resultSet.contains("key2")); in testRemoteDataKeysetWithOverride()
230 HashSet<String> resultSet = in testRemoteDataKeyset() local
232 assertNotNull(resultSet); in testRemoteDataKeyset()
233 assertEquals(3, resultSet.size()); in testRemoteDataKeyset()
234 assertTrue(resultSet.contains("key")); in testRemoteDataKeyset()
235 assertTrue(resultSet.contains("key2")); in testRemoteDataKeyset()
[all …]
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
DDatabaseResultTask.java138 final Set<SearchResult> resultSet = new HashSet<>(); in query() local
140 resultSet.addAll(firstWordQuery(MATCH_COLUMNS_PRIMARY, BASE_RANKS[0])); in query()
141 resultSet.addAll(secondaryWordQuery(MATCH_COLUMNS_PRIMARY, BASE_RANKS[1])); in query()
142 resultSet.addAll(anyWordQuery(MATCH_COLUMNS_SECONDARY, BASE_RANKS[2])); in query()
143 resultSet.addAll(anyWordQuery(MATCH_COLUMNS_TERTIARY, BASE_RANKS[3])); in query()
151 return getDynamicRankedResults(resultSet, searchRankScores); in query()
157 List<SearchResult> resultList = new ArrayList<>(resultSet); in query()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarPropertyManagerTest.java118 Set<Integer> resultSet = new ArraySet<>(); in testGetPropertyListWithLargeNumberOfConfigs() local
120 resultSet.add(carPropertyConfigsListBeforeGenerating.get(i).getPropertyId()); in testGetPropertyListWithLargeNumberOfConfigs()
125 assertThat(i).isNotIn(resultSet); in testGetPropertyListWithLargeNumberOfConfigs()
135 resultSet = new ArraySet<>(); in testGetPropertyListWithLargeNumberOfConfigs()
137 resultSet.add(carPropertyConfigsList.get(i).getPropertyId()); in testGetPropertyListWithLargeNumberOfConfigs()
144 assertThat(i).isIn(resultSet); in testGetPropertyListWithLargeNumberOfConfigs()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/
DMainActivityTest.kt322 val resultSet = LinkedHashSet<Uri>() in getClipDataUris() constant
323 data?.let { data -> resultSet.add(data) } in getClipDataUris()
325 if (clipData == null && resultSet.isEmpty()) { in getClipDataUris()
331 resultSet.add(uri) in getClipDataUris()
335 return ArrayList(resultSet) in getClipDataUris()
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/
DRemoteDataImpl.java120 HashSet<String> resultSet = in keySet() local
122 if (null == resultSet) { in keySet()
125 return resultSet; in keySet()
DLocalDataImpl.java115 HashSet<String> resultSet = in keySet() local
117 if (null == resultSet) { in keySet()
120 return resultSet; in keySet()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgSelector.java1098 Set<String> resultSet = new LinkedHashSet<>(); in processNaptrResponse() local
1104 resultSet.add(target.mName); in processNaptrResponse()
1114 if (resultSet.contains(registeredhostName)) { in processNaptrResponse()
1116 resultSet.remove(registeredhostName); in processNaptrResponse()
1128 if (resultSet.contains(carrierConfighostName)) { in processNaptrResponse()
1130 resultSet.remove(carrierConfighostName); in processNaptrResponse()
1137 for (String result : resultSet) { in processNaptrResponse()
/packages/apps/Settings/src/com/android/settings/notification/history/
DNotificationStation.java383 for (StatusBarNotification[] resultSet in loadNotifications()
385 for (StatusBarNotification sbn : resultSet) { in loadNotifications()
389 final HistoricalNotificationInfo info = createFromSbn(sbn, resultSet == active); in loadNotifications()