/libcore/luni/src/test/java/tests/security/cert/ |
CertificateCertificateRepTest.java | 11 import java.util.Arrays; 36 assertTrue(Arrays.equals(new byte[] { (byte) 1, (byte) 2, (byte) 3 }, 50 assertTrue(Arrays.equals(TestUtils.getX509Certificate_v3(), rep1.getData()));
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
MockAccountTypeManager.java | 27 import java.util.Arrays; 65 return Arrays.asList(mAccounts); 70 return Arrays.asList(mAccounts);
|
/packages/apps/Exchange/tests/src/com/android/exchange/utility/ |
WbxmlResponseLoggerTests.java | 26 import java.util.Arrays; 72 assertEquals(true, Arrays.equals(testArray, outputBytes)); 81 assertEquals(true, Arrays.equals(testArray, outputBytes));
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
MimeRecord.java | 32 import java.util.Arrays; 45 mContent = Arrays.copyOf(content, content.length); 55 return Arrays.copyOf(mContent, mContent.length);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
AbstractContainerTester.java | 20 import java.util.Arrays; 87 expectContents(Arrays.asList(elements)); 140 expected.addAll(Arrays.asList(elements)); 145 expectAdded(index, Arrays.asList(elements));
|
/external/jarjar/src/test/com/tonicsystems/jarjar/ |
GenericsTest.java | 31 RemappingClassTransformer t = new RemappingClassTransformer(new PackageRemapper(Arrays.asList(rule), false));
|
/external/mockito/src/org/mockito/internal/util/collections/ |
Sets.java | 12 import static java.util.Arrays.asList;
|
/frameworks/base/core/java/android/bluetooth/le/ |
BluetoothLeUtils.java | 22 import java.util.Arrays; 48 buffer.append(array.keyAt(i)).append("=").append(Arrays.toString(array.valueAt(i))); 70 buffer.append(key).append("=").append(Arrays.toString(map.get(key))); 96 !Arrays.equals(array.valueAt(i), otherArray.valueAt(i))) {
|
/frameworks/base/core/java/android/nfc/ |
NdefMessage.java | 20 import java.util.Arrays; 233 return Arrays.hashCode(mRecords); 246 return Arrays.equals(mRecords, other.mRecords); 251 return "NdefMessage " + Arrays.toString(mRecords);
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
MacAuthenticatedInputStreamTest.java | 22 import java.util.Arrays; 75 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); 86 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); 97 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is)));
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListGetCheckItemIdsTest.java | 24 import java.util.Arrays; 44 // Sort the two arrays since we are actually doing a set equality. 48 Arrays.sort(sortedCheckItemsIds); 52 Arrays.sort(sortedExpectedIds); 54 assertTrue(message, Arrays.equals(sortedExpectedIds, sortedCheckItemsIds));
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
TimerRecordingAction.java | 29 import java.util.Arrays; 121 Slog.i(TAG, "Received [Timer Status Data]:" + Arrays.toString(timerStatusData)); 123 Slog.w(TAG, "Invalid [Timer Status Data]:" + Arrays.toString(timerStatusData)); 152 throw new IllegalArgumentException("Invalid data size:" + Arrays.toString(data));
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardProperty.java | 21 import java.util.Arrays; 115 mValueList = Arrays.asList(propertyValues); 124 mValueList = Arrays.asList(propertyValues); 126 mValueList.addAll(Arrays.asList(propertyValues));
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
DalvikThreadSampler.java | 20 import java.util.Arrays;
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
AbstractQueueTest.java | 13 import java.util.Arrays; 138 q.addAll(Arrays.asList(ints)); 153 q.addAll(Arrays.asList(ints)); 167 q.addAll(Arrays.asList(ints));
|
CopyOnWriteArraySetTest.java | 13 import java.util.Arrays; 59 CopyOnWriteArraySet a = new CopyOnWriteArraySet(Arrays.asList(ints)); 183 Collections.shuffle(Arrays.asList(elements)); 262 assertTrue(Arrays.equals(new Object[0], a)); 268 Collections.shuffle(Arrays.asList(elements)); 271 assertTrue(Arrays.equals(elements, full.toArray())); 287 Arrays.fill(a, 42); 296 Collections.shuffle(Arrays.asList(elements)); 299 Arrays.fill(a, 42); 300 assertTrue(Arrays.equals(elements, full.toArray(a))) [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
OldPriorityQueueTest.java | 19 import java.util.Arrays; 57 List<Integer> list = Arrays.asList(array); 75 Arrays.asList(2, 45, 7, -12, 9, 23, 17, 1118, 10, 16, 39)); 78 return Arrays.equals(a.toArray(), b.toArray());
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
Fingerprint.java | 24 import java.util.Arrays; 158 return Arrays.equals(mMd5Digest, other.mMd5Digest); 162 return Arrays.equals(mMd5Digest, md5Digest); 167 return Arrays.hashCode(mMd5Digest);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableListMultimapTest.java | 30 import java.util.Arrays; 47 assertEquals(Arrays.asList(1), multimap.get("one")); 84 assertEquals(Arrays.asList(1), builder.build().get("one")); 90 builder.putAll("foo", Arrays.asList(1, 2, 3)); 91 builder.putAll("bar", Arrays.asList(4, 5)); 92 builder.putAll("foo", Arrays.asList(6, 7)); 94 assertEquals(Arrays.asList(1, 2, 3, 6, 7), multimap.get("foo")); 95 assertEquals(Arrays.asList(4, 5), multimap.get("bar")); 106 assertEquals(Arrays.asList(1, 2, 3, 6, 7), multimap.get("foo")); 107 assertEquals(Arrays.asList(4, 5), multimap.get("bar")) [all...] |
/libcore/luni/src/test/java/libcore/java/util/beans/ |
PropertyChangeSupportTest.java | 25 import java.util.Arrays; 42 assertEquals(Arrays.<PropertyChangeEvent>asList(nullToNull), listener.log); 53 assertEquals(Arrays.<PropertyChangeEvent>asList(), listener.log); 93 assertEquals(Arrays.asList(eventA, eventB, eventC), all.log); 94 assertEquals(Arrays.asList(eventA), proxiedA.log); 95 assertEquals(Arrays.asList(eventA), addA.log); 96 assertEquals(Arrays.<PropertyChangeEvent>asList(), addAProxiedB.log); 97 assertEquals(Arrays.<PropertyChangeEvent>asList(), proxiedAB.log); 98 assertEquals(Arrays.<PropertyChangeEvent>asList(eventA), proxiedAA.log); 99 assertEquals(Arrays.<PropertyChangeEvent>asList(), proxiedAAC.log) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaDrmMockTest.java | 29 import java.util.Arrays; 112 assertTrue(Arrays.equals(md.getPropertyByteArray("test-array"), testArray)); 244 assertTrue(Arrays.equals(request.getData(), testRequest)); 247 assertTrue(Arrays.equals(initData, md.getPropertyByteArray("mock-initdata"))); 275 assertTrue(Arrays.equals(request.getData(), testRequest)); 278 assertTrue(Arrays.equals(initData, md.getPropertyByteArray("mock-initdata"))); 305 assertTrue(Arrays.equals(request.getData(), testRequest)); 308 assertTrue(Arrays.equals(initData, md.getPropertyByteArray("mock-initdata"))); 333 assertTrue(Arrays.equals(request.getData(), testRequest)); 355 assertTrue(Arrays.equals(testResponse, md.getPropertyByteArray("mock-response"))) [all...] |
/external/doclava/src/com/google/doclava/ |
Converter.java | 41 import java.util.Arrays; 118 new ArrayList<ClassInfo>(Arrays.asList(Converter.convertClasses(c.interfaces()))), 119 new ArrayList<TypeInfo>(Arrays.asList(Converter.convertTypes(c.interfaceTypes()))), 120 new ArrayList<ClassInfo>(Arrays.asList(Converter.convertClasses(c.innerClasses()))), 121 new ArrayList<MethodInfo>(Arrays.asList( 123 new ArrayList<MethodInfo>(Arrays.asList(Converter.convertMethods(c.methods(false)))), 124 new ArrayList<MethodInfo>(Arrays.asList(Converter.convertMethods(annotationElements))), 125 new ArrayList<FieldInfo>(Arrays.asList(Converter.convertFields(c.fields(false)))), 126 new ArrayList<FieldInfo>(Arrays.asList(Converter.convertFields(c.enumConstants()))), 130 new ArrayList<AnnotationInstanceInfo>(Arrays.asList [all...] |
/art/test/044-proxy/src/ |
NarrowingTest.java | 17 import java.util.Arrays; 50 System.out.println("Proxy methods: " + Arrays.deepToString(methods));
|
/art/test/061-out-of-memory/src/ |
Main.java | 17 import java.util.Arrays; 37 Arrays.fill(tooBig, 0xdd);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/ |
MifareUltralightTagTester.java | 23 import java.util.Arrays; 73 Arrays.equals(fourPages, actualFourPages));
|