Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DLazyStringArrayListTest.java129 LazyStringArrayList list2 = new LazyStringArrayList(list1); in testCopyConstructorCopiesByReference() local
130 assertEquals(3, list2.size()); in testCopyConstructorCopiesByReference()
131 assertSame(STRING_A, list2.get(0)); in testCopyConstructorCopiesByReference()
132 assertSame(BYTE_STRING_B, list2.getByteString(1)); in testCopyConstructorCopiesByReference()
133 assertSame(BYTE_STRING_C, list2.getByteString(2)); in testCopyConstructorCopiesByReference()
142 LazyStringArrayList list2 = new LazyStringArrayList(list1); in testListCopyConstructor() local
143 assertEquals(3, list2.size()); in testListCopyConstructor()
144 assertSame(STRING_A, list2.get(0)); in testListCopyConstructor()
145 assertSame(STRING_B, list2.get(1)); in testListCopyConstructor()
146 assertSame(STRING_C, list2.get(2)); in testListCopyConstructor()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DLazyStringArrayListTest.java145 LazyStringArrayList list2 = new LazyStringArrayList(list1); in testCopyConstructorCopiesByReference() local
146 assertEquals(3, list2.size()); in testCopyConstructorCopiesByReference()
147 assertSame(STRING_A, list2.get(0)); in testCopyConstructorCopiesByReference()
148 assertSame(BYTE_STRING_B, list2.getByteString(1)); in testCopyConstructorCopiesByReference()
149 assertSame(BYTE_STRING_C, list2.getByteString(2)); in testCopyConstructorCopiesByReference()
158 LazyStringArrayList list2 = new LazyStringArrayList(list1); in testListCopyConstructor() local
159 assertEquals(3, list2.size()); in testListCopyConstructor()
160 assertSame(STRING_A, list2.get(0)); in testListCopyConstructor()
161 assertSame(STRING_B, list2.get(1)); in testListCopyConstructor()
162 assertSame(STRING_C, list2.get(2)); in testListCopyConstructor()
[all …]
DRepeatedFieldBuilderV3Test.java66 List<TestAllTypes> list2 = builder.build(); in testBasicUse() local
67 assertSame(list, list2); in testBasicUse()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DUtils.java128 public static boolean hasCommonString(List<String> list1, List<String> list2) { in hasCommonString() argument
129 HashSet<String> set2 = new HashSet<>(list2); in hasCommonString()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarIconListTest.java164 private boolean listsEqual(List<StatusBarIconHolder> list1, List<StatusBarIconHolder> list2) { in listsEqual() argument
165 if (list1.size() != list2.size()) return false; in listsEqual()
168 if (!list1.get(i).equals(list2.get(i))) { in listsEqual()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/
DPasspointConfiguration.java684 Map<String, byte[]> list2) { in isTrustRootCertListEquals() argument
685 if (list1 == null || list2 == null) { in isTrustRootCertListEquals()
686 return list1 == list2; in isTrustRootCertListEquals()
688 if (list1.size() != list2.size()) { in isTrustRootCertListEquals()
692 if (!Arrays.equals(entry.getValue(), list2.get(entry.getKey()))) { in isTrustRootCertListEquals()
/frameworks/base/tests/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/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DAbstractMessage.java251 List list2 = (List) value2; in compareFields() local
252 if (list1.size() != list2.size()) { in compareFields()
256 if (!compareBytes(list1.get(i), list2.get(i))) { in compareFields()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMotionEventInjectorTest.java735 List<GestureStep> combineGestureSteps(List<GestureStep> list1, List<GestureStep> list2) { in combineGestureSteps() argument
736 assertEquals(list1.size(), list2.size()); in combineGestureSteps()
740 int numPoints2 = list2.get(i).numTouchPoints; in combineGestureSteps()
748 touchPoints[numPoints1 + j].copyFrom(list2.get(i).touchPoints[j]); in combineGestureSteps()