/libcore/luni/src/main/java/java/io/ |
PushbackReader.java | 20 import java.util.Arrays; 186 Arrays.checkOffsetAndCount(buffer.length, offset, count); 310 Arrays.checkOffsetAndCount(buffer.length, offset, length);
|
StringReader.java | 20 import java.util.Arrays; 158 Arrays.checkOffsetAndCount(buf.length, offset, len);
|
/libcore/luni/src/main/java/libcore/net/ |
RawSocket.java | 24 import java.util.Arrays; 71 Arrays.checkOffsetAndCount(packet.length, offset, byteCount); 97 Arrays.checkOffsetAndCount(packet.length, offset, byteCount);
|
/libcore/luni/src/main/java/libcore/net/http/ |
ChunkedInputStream.java | 22 import java.util.Arrays; 40 Arrays.checkOffsetAndCount(buffer.length, offset, count);
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
SHA1_MessageDigestImpl.java | 24 import java.util.Arrays; 114 Arrays.fill(buffer, i, 14, 0);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OutputStreamWriterTest.java | 20 import java.util.Arrays; 37 Arrays.fill(chars, 'x'); 56 Arrays.fill(cs, 'x');
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
DeflaterInputStreamTest.java | 23 import java.util.Arrays; 42 assertEquals(Arrays.toString(data), Arrays.toString(inflate(out.toByteArray()))); 76 assertEquals(Arrays.toString(data), Arrays.toString(inflate(out.toByteArray())));
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
CipherInputStreamTest.java | 23 import java.util.Arrays; 47 assertEquals(Arrays.toString(cipherText), Arrays.toString(bytes));
|
SecretKeyFactoryTest.java | 21 import java.util.Arrays; 167 assertTrue(Arrays.equals(expected, key.getEncoded()));
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
SSLParametersTest.java | 19 import java.util.Arrays; 38 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(p.getCipherSuites())); 52 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(p.getCipherSuites())); 53 assertEquals(Arrays.asList(protocols), Arrays.asList(p.getProtocols())); 67 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(p.getCipherSuites())); 82 assertEquals(Arrays.asList(protocols), Arrays.asList(p.getProtocols())) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyRepTypeTest.java | 20 import java.util.Arrays; 65 assertTrue(Arrays.equals(types, KeyRep.Type.values()));
|
/libcore/luni/src/test/java/tests/security/ |
SecureRandomTest.java | 20 import java.util.Arrays; 59 assertFalse(Arrays.equals(testRandom1, testRandom2));
|
/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()));
|
PolicyQualifierInfoTest.java | 28 import java.util.Arrays; 131 assertTrue(Arrays.equals(encoding, encodingRet)); 138 assertTrue(Arrays.equals(encoding, encodingRet1)); 156 assertTrue(Arrays.equals(encoding, encodingRet)); 179 assertTrue(Arrays.equals(encoding, encodingRet1)); 200 assertTrue(Arrays.equals(pqEncoding, pqEncodingRet)); 227 assertTrue(Arrays.equals(pqEncoding, pqEncodingRet1));
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
CursorBackedSuggestionExtras.java | 22 import java.util.Arrays; 34 DEFAULT_COLUMNS.addAll(Arrays.asList(SuggestionCursorBackedCursor.COLUMNS));
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
TextRecord.java | 42 import java.util.Arrays; 91 Preconditions.checkArgument(Arrays.equals(record.getType(), NdefRecord.RTD_TEXT));
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
NameDistance.java | 18 import java.util.Arrays; 43 * @param maxLength byte arrays are truncated if longer than this number 62 * Computes a string distance between two normalized strings passed as byte arrays. 102 Arrays.fill(mMatchFlags1, 0, length1, false); 103 Arrays.fill(mMatchFlags2, 0, length2, false);
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageInfoTest.java | 33 import java.util.Arrays; 107 assertTrue(Arrays.equals(expected.gids, actual.gids)); 114 assertTrue(Arrays.equals(expected.requestedPermissions, actual.requestedPermissions));
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
AnnotationItem.java | 29 import java.util.Arrays; 94 Arrays.sort(array, TYPE_ID_SORTER);
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
ClassPathOpener.java | 27 import java.util.Arrays; 183 Arrays.sort(files, new Comparator<File>() {
|
/dalvik/dx/src/com/android/dx/dex/file/ |
AnnotationItem.java | 27 import java.util.Arrays; 92 Arrays.sort(array, TYPE_ID_SORTER);
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/module/ |
LoginModuleUtilsTest.java | 22 import java.util.Arrays; 40 assertTrue(Arrays.equals(PASSWORD_AS_CHARS, password)); 45 assertTrue(Arrays.equals(PASSWORD_AS_CHARS, password)); 50 assertTrue(Arrays.equals(PASSWORD_AS_CHARS, password)); 55 assertTrue(Arrays.equals(PASSWORD_AS_CHARS, password)); 61 assertTrue(Arrays.equals(expectedString.toCharArray(), password));
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
PolicyQualifierInfoTest.java | 25 import java.util.Arrays; 137 assertTrue(Arrays.equals(encoding, encodingRet)); 144 assertTrue(Arrays.equals(encoding, encodingRet1)); 162 assertTrue(Arrays.equals(encoding, encodingRet)); 185 assertTrue(Arrays.equals(encoding, encodingRet1)); 206 assertTrue(Arrays.equals(pqEncoding, pqEncodingRet)); 233 assertTrue(Arrays.equals(pqEncoding, pqEncodingRet1));
|
TrustAnchorTest.java | 30 import java.util.Arrays; 110 assertTrue(Arrays.equals(nc, ta.getNameConstraints())); 222 assertTrue(Arrays.equals(nc, ta.getNameConstraints()));
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/pkcs10/ |
CertificationRequestInfoTest.java | 22 import java.util.Arrays; 62 assertTrue(Arrays.equals(spki.getEncoded(), certReqInfo 76 assertTrue(Arrays.equals(certReqInfo.getSubjectPublicKeyInfo()
|