Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipUtils.kt112 fun remoteActionsChanged(list1: List<RemoteAction?>?, list2: List<RemoteAction?>?): Boolean { in remoteActionsChanged()
113 if (list1 == null && list2 == null) { in remoteActionsChanged()
116 if (list1 == null || list2 == null) { in remoteActionsChanged()
119 if (list1.size != list2.size) { in remoteActionsChanged()
123 if (!remoteActionsMatch(list1[i], list2[i])) { in remoteActionsChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ui/
DStatusBarIconListTest.java199 private boolean listsEqual(List<StatusBarIconHolder> list1, List<StatusBarIconHolder> list2) { in listsEqual() argument
200 if (list1.size() != list2.size()) return false; in listsEqual()
203 if (!list1.get(i).equals(list2.get(i))) { in listsEqual()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DViewLayersActivity.java43 setupList(R.id.list2); in onCreate()
50 final View middleList = findViewById(R.id.list2); in onCreate()
DViewLayersActivity2.java39 setupList(R.id.list2); in onCreate()
/frameworks/layoutlib/bridge/tests/src/com/android/tools/idea/validator/
DAccessibilityValidatorTests.java348 private void checkEquals(List<Issue> list1, List<Issue> list2) { in checkEquals() argument
349 assertEquals(list1.size(), list2.size()); in checkEquals()
351 assertEquals(list1.get(i), list2.get(i)); in checkEquals()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataUtils.java451 .sorted((list1, list2) -> Integer.compare(
452 list2.get(0).getPriority(), list1.get(0).getPriority()))
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiUtilsTest.java152 List<CodecSad> list2 = new ArrayList(list1); in testEqualsDeviceConfig() local
153 list2.add(expectedCodec4); in testEqualsDeviceConfig()
159 .addEqualityGroup(new HdmiUtils.DeviceConfig(name, list2)) in testEqualsDeviceConfig()
161 .addEqualityGroup(new HdmiUtils.DeviceConfig("my" + name, list2)) in testEqualsDeviceConfig()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMotionEventInjectorTest.java758 List<GestureStep> combineGestureSteps(List<GestureStep> list1, List<GestureStep> list2) { in combineGestureSteps() argument
759 assertEquals(list1.size(), list2.size()); in combineGestureSteps()
763 int numPoints2 = list2.get(i).numTouchPoints; in combineGestureSteps()
771 touchPoints[numPoints1 + j].copyFrom(list2.get(i).touchPoints[j]); in combineGestureSteps()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java1586 @NonNull List<AudioDeviceAttributes> list2) {
1587 if (list1.size() != list2.size()) {
1593 for (AudioDeviceAttributes d2 : list2) {