/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
StreamHandlerTest.java | 30 import java.util.Arrays; 627 assertTrue(Arrays.equals(bytes, aos.toByteArray())); 642 assertTrue(Arrays.equals(aos.toByteArray(), encoder.encode( 651 assertFalse(Arrays.equals(aos.toByteArray(), encoder.encode( 663 assertTrue(Arrays.equals(b0, b3));
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
PriorityQueueTest.java | 20 import java.util.Arrays; 53 Arrays.sort(array); 54 Arrays.sort(resultArray); 55 assertTrue(Arrays.equals(array, resultArray)); 131 Arrays.sort(newArray); 257 List<Integer> list = Arrays.asList(array); 268 List<Integer> list = Arrays.asList(array); 272 Arrays.sort(array); 361 Arrays.sort(array); 471 Arrays.sort(array) [all...] |
/external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/ |
CharsetEncoderTest.java | 29 import java.util.Arrays; 97 assertTrue(Arrays.equals(encoder.replacement(), defaultReplacement)); 99 assertTrue(Arrays.equals(encoder.replacement(), 689 assertTrue(Arrays.equals(ba, expected)); [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
SSLEngineImplTest.java | 21 import java.util.Arrays; [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
JDKKeyStore.java | 55 import org.bouncycastle.util.Arrays; 837 Arrays.fill(passKey, (byte)0); 853 if (!Arrays.constantTimeAreEqual(mac, oldMac)) 993 if (!Arrays.constantTimeAreEqual(hash, oldHash))
|
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/ |
PhoneNumberMatcherTest.java | 25 import java.util.Arrays; 437 testCases.addAll(Arrays.asList(STRICT_GROUPING_CASES)); 438 testCases.addAll(Arrays.asList(EXACT_GROUPING_CASES)); 445 testCases.addAll(Arrays.asList(POSSIBLE_ONLY_CASES)); 446 testCases.addAll(Arrays.asList(VALID_CASES)); 452 testCases.addAll(Arrays.asList(EXACT_GROUPING_CASES)); 458 testCases.addAll(Arrays.asList(POSSIBLE_ONLY_CASES)); 459 testCases.addAll(Arrays.asList(VALID_CASES)); 460 testCases.addAll(Arrays.asList(STRICT_GROUPING_CASES)); [all...] |
/external/protobuf/java/src/test/java/com/google/protobuf/ |
DescriptorsTest.java | 61 import java.util.Arrays; 96 assertEquals(Arrays.asList(UnittestImport.getDescriptor()), 113 assertEquals(Arrays.asList(ImportEnum.getDescriptor()),
|
/libcore/dalvik/src/test/java/dalvik/system/profiler/ |
SamplingProfilerTest.java | 36 import java.util.Arrays; 130 assertEquals(Arrays.asList(start1), hprofData.getThreadHistory()); 136 assertEquals(Arrays.asList(start1, end2), hprofData.getThreadHistory()); 142 assertEquals(Arrays.asList(start1, end2, end1), hprofData.getThreadHistory()); 151 assertEquals(Arrays.asList(start1, end2, end1), hprofData.getThreadHistory());
|
/libcore/luni/src/main/java/java/util/ |
HashMap.java | 666 Arrays.fill(table, null); [all...] |
Hashtable.java | 582 Arrays.fill(table, null); [all...] |
/libcore/luni/src/main/java/libcore/io/ |
DiskLruCache.java | 37 import java.util.Arrays; 271 entry.setLengths(Arrays.copyOfRange(parts, 2, parts.length)); 793 throw new IOException("unexpected journal line: " + Arrays.toString(strings));
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
OpenSSLSocketImpl.java | 35 import java.util.Arrays; 667 Arrays.checkOffsetAndCount(buf.length, offset, byteCount); 709 Arrays.checkOffsetAndCount(buf.length, offset, byteCount); [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
CookiesTest.java | 33 import java.util.Arrays; 445 assertEquals(Arrays.asList(cookieA), cookieStore.getCookies()); 450 assertEquals(Arrays.asList(cookieA, cookieB), cookieStore.getCookies()); 460 assertEquals(Arrays.asList(cookieB), cookieStore.getCookies()); 483 assertEquals(Arrays.asList(cookieA), cookieStore.getCookies()); 492 assertEquals(Arrays.asList(cookieA), cookieStore.getCookies()); 498 assertEquals(Arrays.asList(new URI("http://a.com")), cookieStore.getURIs()); 504 assertEquals(Arrays.asList(new URI("http://a.com")), cookieStore.getURIs()); 510 assertEquals(Arrays.asList(new URI("http://b.com")), cookieStore.getURIs()); 516 assertEquals(Arrays.asList(new URI("http://a.com")), cookieStore.getURIs()) [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
OldFileChannelTest.java | 36 import java.util.Arrays; 155 assertTrue(Arrays.equals(CONTENT_AS_BYTES, readBuffer)); 164 assertTrue(Arrays.equals(CONTENT_AS_BYTES, readBuffer)); 779 assertTrue(Arrays.equals(test.getBytes(), inputBuffer)); 865 assertTrue(Arrays.equals(CONTENT_AS_BYTES, inputBuffer)); [all...] |
/libcore/luni/src/test/java/libcore/java/sql/ |
OldStatementTest.java | 682 assertTrue(java.util.Arrays.equals(result, resArray)); [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
OldCollectionsTest.java | 24 import java.util.Arrays; 283 List<String> strings = Arrays.asList(new String[] { "1", "2", "3", "1", "1" }); 297 List<Object> objects = Arrays.asList(new Object[] { new Integer(1), null, null, 322 Arrays.sort(numbers, roc); 323 assertTrue("Assert 2: the arrays are not equal, the sort failed", 324 Arrays.equals(fixtureDesc, numbers)); 340 Arrays.sort(numbers, roc); 341 assertTrue("Assert 2: the arrays are not equal, the sort failed", 342 Arrays.equals(fixtureDesc, numbers)); 351 Arrays.sort(numbers, roc) [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
NormalizeTest.java | 45 import java.util.Arrays; 584 assertEquals(Arrays.asList(texts), actual);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyStore2Test.java | 47 import java.util.Arrays; 391 assertTrue(Arrays.equals(retB, priB)); 779 assertTrue(Arrays.equals(chain, pkeActual1.getCertificateChain())); [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
VectorTest.java | 20 import java.util.Arrays; 199 v.addAll(3, Arrays.asList(new String[] { "two", "three" })); 219 tVector.addAll(-5, Arrays.asList(new String[] { "two", "three" })); 226 tVector.addAll(tVector.size() + 1, Arrays.asList(new String[] { "two", "three" })); [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
MailboxTests.java | 36 import java.util.Arrays; 577 assertFalse(Arrays.equals(phony.getHashes(), unparcelled.getHashes()));
|
/packages/apps/Phone/src/com/android/phone/sip/ |
SipEditor.java | 48 import java.util.Arrays; 550 Arrays.fill(cc, SCRAMBLED);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
Suggest.java | 27 import java.util.Arrays; 299 Arrays.fill(mScores, 0); 313 Arrays.fill(mBigramScores, 0);
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/ |
AllocationPanel.java | 63 import java.util.Arrays; 114 Arrays.sort(allocs, mSorter);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidContentAssist.java | 60 import java.util.Arrays; 362 Arrays.sort(copy, new Comparator<ElementDescriptor>() { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
ExtractStringRefactoring.java | 91 import java.util.Arrays; [all...] |