/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | LazyStringArrayListTest.java | 129 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/ |
D | LazyStringArrayListTest.java | 145 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 …]
|
D | RepeatedFieldBuilderV3Test.java | 66 List<TestAllTypes> list2 = builder.build(); in testBasicUse() local 67 assertSame(list, list2); in testBasicUse()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | Utils.java | 128 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/ |
D | StatusBarIconListTest.java | 164 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/ |
D | PasspointConfiguration.java | 684 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/ |
D | ViewLayersActivity.java | 43 setupList(R.id.list2); in onCreate() 50 final View middleList = findViewById(R.id.list2); in onCreate()
|
D | ViewLayersActivity2.java | 39 setupList(R.id.list2); in onCreate()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | AbstractMessage.java | 251 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/ |
D | MotionEventInjectorTest.java | 735 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()
|