Home
last modified time | relevance | path

Searched refs:list1 (Results 1 – 3 of 3) 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/robotests/src/com/android/car/settings/location/
DRecentLocationRequestsPreferenceControllerTest.java92 List<RecentLocationApps.Request> list1 = Arrays.asList( in refreshUi_newRecentRequests_listIsUpdated() local
96 when(mRecentLocationApps.getAppListSorted(true)).thenReturn(list1); in refreshUi_newRecentRequests_listIsUpdated()
98 List<RecentLocationApps.Request> list2 = new ArrayList<>(list1); in refreshUi_newRecentRequests_listIsUpdated()
102 assertThat(mScreen.getPreferenceCount()).isEqualTo(list1.size()); in refreshUi_newRecentRequests_listIsUpdated()
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java640 List<String> list1 = Arrays.asList(); in testAll() local
645 assertTrue(InitialConfiguration.all(list1, (x) -> false)); in testAll()
654 List<String> list1 = Arrays.asList(); in testAny() local
659 assertFalse(InitialConfiguration.any(list1, (x) -> true)); in testAny()
668 List<String> list1 = Arrays.asList(); in testFindAll() local
672 assertEquals(list1, IpClient.findAll(list1, (x) -> true)); in testFindAll()
673 assertEquals(list1, IpClient.findAll(list3, (x) -> false)); in testFindAll()