Home
last modified time | relevance | path

Searched refs:list2 (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/location/
DRecentLocationRequestsPreferenceControllerTest.java98 List<RecentLocationApps.Request> list2 = new ArrayList<>(list1); in refreshUi_newRecentRequests_listIsUpdated() local
99 list2.add(mock(RecentLocationApps.Request.class)); in refreshUi_newRecentRequests_listIsUpdated()
104 when(mRecentLocationApps.getAppListSorted(true)).thenReturn(list2); in refreshUi_newRecentRequests_listIsUpdated()
107 assertThat(mScreen.getPreferenceCount()).isEqualTo(list2.size()); in refreshUi_newRecentRequests_listIsUpdated()
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java641 List<String> list2 = Arrays.asList("foo"); in testAll() local
646 assertFalse(InitialConfiguration.all(list2, (x) -> false)); in testAll()
648 assertTrue(InitialConfiguration.all(list2, (x) -> x.charAt(0) == 'f')); in testAll()
655 List<String> list2 = Arrays.asList("foo"); in testAny() local
660 assertTrue(InitialConfiguration.any(list2, (x) -> true)); in testAny()
661 assertTrue(InitialConfiguration.any(list2, (x) -> x.charAt(0) == 'f')); in testAny()
669 List<String> list2 = Arrays.asList("foo"); in testFindAll() local
675 assertEquals(list2, IpClient.findAll(list3, (x) -> x.charAt(0) == 'f')); in testFindAll()