Home
last modified time | relevance | path

Searched refs:list1 (Results 1 – 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DDiff.java158 final ArrayList<WeightedString> list1) { in hasAttributesDifferencesAndPrintThemIfAny() argument
159 if (null == list1) { in hasAttributesDifferencesAndPrintThemIfAny()
172 if (!list1.contains(attribute0)) { in hasAttributesDifferencesAndPrintThemIfAny()
176 for (final WeightedString attribute1 : list1) { in hasAttributesDifferencesAndPrintThemIfAny()
181 list1.remove(attribute1); in hasAttributesDifferencesAndPrintThemIfAny()
192 list1.remove(attribute0); in hasAttributesDifferencesAndPrintThemIfAny()
198 for (final WeightedString attribute1 : list1) { in hasAttributesDifferencesAndPrintThemIfAny()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/location/
DRecentLocationRequestsPreferenceControllerTest.java108 List<RecentLocationApps.Request> list1 = Arrays.asList( in refreshUi_newRecentRequests_listIsUpdated() local
112 when(mRecentLocationApps.getAppListSorted(true)).thenReturn(list1); in refreshUi_newRecentRequests_listIsUpdated()
114 List<RecentLocationApps.Request> list2 = new ArrayList<>(list1); in refreshUi_newRecentRequests_listIsUpdated()
118 assertThat(mPreferenceGroup.getPreferenceCount()).isEqualTo(list1.size()); in refreshUi_newRecentRequests_listIsUpdated()
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java718 List<String> list1 = Arrays.asList(); in testAll() local
723 assertTrue(InitialConfiguration.all(list1, (x) -> false)); in testAll()
732 List<String> list1 = Arrays.asList(); in testAny() local
737 assertFalse(InitialConfiguration.any(list1, (x) -> true)); in testAny()
746 List<String> list1 = Arrays.asList(); in testFindAll() local
750 assertEquals(list1, IpClient.findAll(list1, (x) -> true)); in testFindAll()
751 assertEquals(list1, IpClient.findAll(list3, (x) -> false)); in testFindAll()
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/
DPasspointConfiguration.java1043 private static boolean isTrustRootCertListEquals(Map<String, byte[]> list1, in isTrustRootCertListEquals() argument
1045 if (list1 == null || list2 == null) { in isTrustRootCertListEquals()
1046 return list1 == list2; in isTrustRootCertListEquals()
1048 if (list1.size() != list2.size()) { in isTrustRootCertListEquals()
1051 for (Map.Entry<String, byte[]> entry : list1.entrySet()) { in isTrustRootCertListEquals()