/external/proguard/src/proguard/optimize/peephole/ |
RetargetedInnerClassAttributeRemover.java | 31 import java.util.Arrays; 75 Arrays.fill(attributes, newAtributesCount, attributesCount, null); 117 Arrays.fill(classes, newClassesCount, classesCount, null);
|
/frameworks/base/core/java/android/content/pm/ |
ManifestDigest.java | 30 import java.util.Arrays; 103 return this == other || Arrays.equals(mDigest, other.mDigest); 108 return Arrays.hashCode(mDigest);
|
/frameworks/base/core/tests/coretests/src/android/database/ |
CursorWindowTest.java | 23 import java.util.Arrays; 105 Arrays.fill(blob, value); 107 assertTrue(Arrays.equals(blob, window.getBlob(0, 6)));
|
/frameworks/base/nfc-extras/tests/src/com/android/nfc_extras/tests/ |
BasicNfcEeTest.java | 29 import java.util.Arrays; 62 byte[] trailing = Arrays.copyOfRange(out, 80 byte[] trailing = Arrays.copyOfRange(out,
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
Frame.java | 19 import java.util.Arrays; 163 return dim != null ? Arrays.copyOf(dim, dim.length) : null; 192 } else if (newDims != null && !Arrays.equals(oldDims, newDims)) {
|
/frameworks/volley/tests/src/com/android/volley/ |
NetworkDispatcherTest.java | 27 import java.util.Arrays; 73 assertTrue(Arrays.equals((byte[])response.result, CANNED_DATA)); 99 assertTrue(Arrays.equals(mCache.entryPut.data, CANNED_DATA));
|
/libcore/benchmarks/src/benchmarks/ |
DeepArrayOpsBenchmark.java | 24 import java.util.Arrays; 84 Arrays.deepHashCode(array); 90 Arrays.deepEquals(array, array2);
|
/libcore/luni/src/main/java/java/io/ |
PushbackInputStream.java | 20 import java.util.Arrays; 170 Arrays.checkOffsetAndCount(buffer.length, byteOffset, byteCount); 276 Arrays.checkOffsetAndCount(buffer.length, offset, length);
|
PushbackReader.java | 20 import java.util.Arrays; 175 Arrays.checkOffsetAndCount(buffer.length, offset, count); 299 Arrays.checkOffsetAndCount(buffer.length, offset, length);
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1Choice.java | 26 import java.util.Arrays; 297 return Arrays.binarySearch(identifiers[0], identifier) >= 0; 301 int index = Arrays.binarySearch(identifiers[0], in.tag);
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
AlgorithmIdentifier.java | 25 import java.util.Arrays; 129 : Arrays.equals(parameters, algid.parameters)); 133 return algorithm.hashCode() * 37 + (parameters != null ? Arrays.hashCode(parameters) : 0);
|
/libcore/luni/src/test/java/libcore/javax/net/ |
ServerSocketFactoryTest.java | 27 import java.util.Arrays; 82 assertEquals(Arrays.toString(data), Arrays.toString(out.toByteArray()));
|
/libcore/luni/src/test/java/libcore/xml/ |
NamespacedAttributesLookupTest.java | 28 import java.util.Arrays; 49 List<String> expected = Arrays.asList( 73 List<String> expected = Arrays.asList(
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
DESedeKeySpecTest.java | 27 import java.util.Arrays; 116 + "in constructor.", Arrays.equals(key, res)); 135 + "in constructor.", Arrays.equals(exp, res));
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
ResizableIntArray.java | 19 import java.util.Arrays; 73 mArray = Arrays.copyOf(mArray, newCapacity); 129 Arrays.fill(mArray, startPos, endPos, value);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
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/common/host-side/java-scanner/src/com/android/compatibility/common/scanner/ |
JavaScanner.java | 26 import java.util.Arrays; 96 final ArrayList<String> sourcePath = new ArrayList<String>(Arrays.asList(SOURCE_PATHS)); 102 return join(Arrays.asList(CLASS_PATHS), ":"); 144 System.err.println("Arguments: " + Arrays.toString(args));
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
FeatureTest.java | 27 import java.util.Arrays;
|
/cts/tests/tests/security/src/android/security/cts/ |
ClonedSecureRandomTest.java | 33 import java.util.Arrays; 192 + ", output=" + Arrays.toString(output) + ", outputs[pid]=" 193 + Arrays.toString(outputs[pid]) + ")", 194 Arrays.equals(output, outputs[pid]));
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
ImplicitTest.java | 26 import java.util.Arrays; 180 assertTrue("Test case: " + i, Arrays.equals( 213 assertTrue(Arrays.equals(array, (byte[]) type2 217 assertTrue(Arrays.equals(primitiveEncoding, type2.encode(array)));
|
IntegerTest.java | 27 import java.util.Arrays; 95 Arrays.equals((byte[]) validTestcase[i][1], // expected 104 Arrays.equals((byte[]) validTestcase[i][1], //expected 112 Arrays.equals((byte[]) validTestcase[i][2], //expected
|
OidTest.java | 25 import java.util.Arrays; 131 Arrays.equals((int[]) oid[i][1], // expected array 142 Arrays.equals((byte[]) oid[i][2], // expected encoding 184 Arrays.equals((byte[]) oid[i][2], // expected encoding
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/ |
EDIPartyNameTest.java | 24 import java.util.Arrays; 74 if (!Arrays.equals(encoded, _encoded)) { 96 if (!Arrays.equals(encoded, _encoded)) { 120 if (!Arrays.equals(encoded, _encoded)) {
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
ClientKeyExchangeTest.java | 22 import java.util.Arrays; 46 assertTrue("incorrect ClientKeyExchange", Arrays.equals( 60 assertTrue("Incorrect message decoding", Arrays.equals( 121 assertTrue("Incorrect message decoding", Arrays.equals(
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
CertBlacklist.java | 26 import java.util.Arrays; 126 Set<BigInteger> bl = new HashSet<BigInteger>(Arrays.asList( 163 Set<byte[]> bl = new HashSet<byte[]>(Arrays.asList( 217 if (Arrays.equals(blacklisted, Hex.encode(out))) {
|