Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/location/
DRecentLocationRequestsPreferenceControllerTest.java114 List<RecentLocationApps.Request> list2 = new ArrayList<>(list1); in refreshUi_newRecentRequests_listIsUpdated() local
115 list2.add(mock(RecentLocationApps.Request.class)); in refreshUi_newRecentRequests_listIsUpdated()
120 when(mRecentLocationApps.getAppListSorted(true)).thenReturn(list2); in refreshUi_newRecentRequests_listIsUpdated()
123 assertThat(mPreferenceGroup.getPreferenceCount()).isEqualTo(list2.size()); in refreshUi_newRecentRequests_listIsUpdated()
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java719 List<String> list2 = Arrays.asList("foo"); in testAll() local
724 assertFalse(InitialConfiguration.all(list2, (x) -> false)); in testAll()
726 assertTrue(InitialConfiguration.all(list2, (x) -> x.charAt(0) == 'f')); in testAll()
733 List<String> list2 = Arrays.asList("foo"); in testAny() local
738 assertTrue(InitialConfiguration.any(list2, (x) -> true)); in testAny()
739 assertTrue(InitialConfiguration.any(list2, (x) -> x.charAt(0) == 'f')); in testAny()
747 List<String> list2 = Arrays.asList("foo"); in testFindAll() local
753 assertEquals(list2, IpClient.findAll(list3, (x) -> x.charAt(0) == 'f')); in testFindAll()
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/
DPasspointConfiguration.java1044 Map<String, byte[]> list2) { 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()
1052 if (!Arrays.equals(entry.getValue(), list2.get(entry.getKey()))) { in isTrustRootCertListEquals()