HomeSort by relevance Sort by last modified time
    Searched refs:Arrays (Results 26 - 50 of 1910) sorted by null

12 3 4 5 6 7 8 91011>>

  /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...]
SSLServerSocketTest.java 22 import java.util.Arrays;
36 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(socket.getEnabledCipherSuites()));
54 assertEquals(Arrays.asList(protocols), Arrays.asList(socket.getEnabledProtocols()));
  /external/junit/src/org/junit/internal/runners/
InitializationError.java 3 import java.util.Arrays;
20 this(Arrays.asList(errors));
  /external/junit/src/org/junit/runners/model/
InitializationError.java 3 import java.util.Arrays;
22 this(Arrays.asList(error));
  /libcore/dalvik/src/main/java/dalvik/system/profiler/
PortableThreadSampler.java 19 import java.util.Arrays;
39 stackFrames = Arrays.copyOfRange(stackFrames, 0, depth);
  /packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
FakeInputStream.java 20 import java.util.Arrays;
45 Arrays.checkOffsetAndCount(buffer.length, offset, length);
  /external/protobuf/java/src/main/java/com/google/protobuf/nano/
FieldData.java 35 import java.util.Arrays;
125 return Arrays.equals((byte[]) value, (byte[]) other.value);
127 return Arrays.equals((int[]) value, (int[]) other.value);
129 return Arrays.equals((long[]) value, (long[]) other.value);
131 return Arrays.equals((float[]) value, (float[]) other.value);
133 return Arrays.equals((double[]) value, (double[]) other.value);
135 return Arrays.equals((boolean[]) value, (boolean[]) other.value);
137 return Arrays.deepEquals((Object[]) value, (Object[]) other.value);
141 // If both objects have byte arrays compare those directly.
145 // As a last resort, serialize and compare the resulting byte arrays
    [all...]
InternalNano.java 34 import java.util.Arrays;
138 return Arrays.equals(field1, field2);
150 return Arrays.equals(field1, field2);
162 return Arrays.equals(field1, field2);
174 return Arrays.equals(field1, field2);
186 return Arrays.equals(field1, field2);
211 // no more non-null elements to test in both arrays
214 // one of the arrays have extra non-null elements
216 } else if (!Arrays.equals(field1[index1], field2[index2])) {
246 // no more non-null elements to test in both arrays
    [all...]
UnknownFieldData.java 34 import java.util.Arrays;
74 return tag == other.tag && Arrays.equals(bytes, other.bytes);
81 result = 31 * result + Arrays.hashCode(bytes);
  /external/guava/guava-tests/test/com/google/common/primitives/
BytesTest.java 26 import java.util.Arrays;
125 assertTrue(Arrays.equals(EMPTY, Bytes.concat()));
126 assertTrue(Arrays.equals(EMPTY, Bytes.concat(EMPTY)));
127 assertTrue(Arrays.equals(EMPTY, Bytes.concat(EMPTY, EMPTY, EMPTY)));
128 assertTrue(Arrays.equals(ARRAY1, Bytes.concat(ARRAY1)));
130 assertTrue(Arrays.equals(ARRAY1, Bytes.concat(EMPTY, ARRAY1, EMPTY)));
131 assertTrue(Arrays.equals(
134 assertTrue(Arrays.equals(
143 assertTrue(Arrays.equals(
164 List<Byte> none = Arrays.<Byte>asList()
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
IncludeFinderTest.java 18 import java.util.Arrays;
63 finder.setIncluded("bar", Arrays.<String>asList("foo", "baz"), false);
64 finder.setIncluded("baz", Arrays.<String>asList("foo"), false);
65 assertEquals(Arrays.asList("bar", "baz"), finder.getIncludedBy("foo"));
67 assertEquals(Arrays.asList("baz"), finder.getIncludedBy("foo"));
99 assertEquals(Arrays.asList("layout3", "layout4"), includes);
124 assertEquals(Arrays.asList("myfragment"), includes);
  /external/conscrypt/src/test/java/org/conscrypt/
MacTest.java 21 import java.util.Arrays;
54 assertEquals(Arrays.toString(secret.getBytes()), Arrays.toString(key2.getEncoded()));
67 assertEquals(Arrays.toString(output2), Arrays.toString(output1));
  /frameworks/base/core/tests/coretests/src/com/android/internal/os/
LoggingPrintStreamTest.java 24 import java.util.Arrays;
47 assertEquals(Arrays.asList(lines), out.lines);
56 assertEquals(Arrays.asList("4" + o + "2"), out.lines);
65 assertEquals(Arrays.asList("4" + o, "2"), out.lines);
70 assertEquals(Arrays.asList("Name: Bob"), out.lines);
72 assertEquals(Arrays.asList("Name: Bob", "Employer: Google"), out.lines);
86 assertEquals(Arrays.asList("4", "2"), out.lines);
91 assertEquals(Arrays.asList("Foo", "Bar"), out.lines);
93 assertEquals(Arrays.asList("Foo", "Bar", "Tee"), out.lines);
98 assertEquals(Arrays.asList("Foo", "Bar"), out.lines)
    [all...]
  /frameworks/opt/vcard/java/com/android/vcard/
VCardParser_V21.java 22 import java.util.Arrays;
49 Arrays.asList("BEGIN", "END", "LOGO", "PHOTO", "LABEL", "FN", "TITLE", "SOUND",
58 Arrays.asList("DOM", "INTL", "POSTAL", "PARCEL", "HOME", "WORK",
72 Arrays.asList("INLINE", "URL", "CONTENT-ID", "CID")));
85 Arrays.asList(VCardConstants.PARAM_ENCODING_7BIT,
  /libcore/luni/src/main/java/libcore/reflect/
WildcardTypeImpl.java 22 import java.util.Arrays;
49 return Arrays.equals(getLowerBounds(), that.getLowerBounds()) &&
50 Arrays.equals(getUpperBounds(), that.getUpperBounds());
55 return 31 * Arrays.hashCode(getLowerBounds()) +
56 Arrays.hashCode(getUpperBounds());
AnnotationMember.java 28 import java.util.Arrays;
67 * Tag description of all value types except arrays and Throwables.
215 * Returns true if the contained value and a passed object are equal arrays,
216 * false otherwise. Appropriate overloaded method of Arrays.equals()
218 * @see java.util.Arrays#equals(java.lang.Object[], java.lang.Object[])
224 return Arrays.equals((Object[])value, (Object[])otherValue);
231 return Arrays.equals((int[])value, (int[])otherValue);
233 return Arrays.equals((byte[])value, (byte[])otherValue);
235 return Arrays.equals((short[])value, (short[])otherValue);
237 return Arrays.equals((long[])value, (long[])otherValue)
    [all...]
  /cts/tools/signature-tools/test/signature/converter/util/
AbstractTestSourceConverter.java 20 import java.util.Arrays;
33 return convert(Visibility.PROTECTED, new HashSet<CompilationUnit>(Arrays.asList(units)));
36 return convert(visibility, new HashSet<CompilationUnit>(Arrays.asList(units)));
  /dalvik/dx/tests/117-modified-utf8/com/android/dx/util/
Mutf8Test.java 23 import java.util.Arrays;
37 assertEquals(Arrays.toString(new byte[] { 'B', 'C', (byte) 0xc0, (byte) 0x80 }),
38 Arrays.toString(Mutf8.encode("BC\u0000")));
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
AnyTest.java 25 import java.util.Arrays;
46 assertTrue(Arrays.equals(encoded, (byte[]) ASN1Any.getInstance()
53 assertTrue("False", Arrays.equals(encoded, out.encoded));
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
ListToArrayTester.java 23 import java.util.Arrays;
58 assertEquals(message, Arrays.asList(expected), Arrays.asList(actual));
  /libcore/benchmarks/src/benchmarks/
ArrayCopyBenchmark.java 23 import java.util.Arrays;
47 char[] dst = Arrays.copyOf(src, 8192);
54 char[] dst = Arrays.copyOfRange(src, 0, 8192);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
RetentionPolicyTest.java 21 import java.util.Arrays;
57 Arrays.sort(values);
58 assertTrue(Arrays.binarySearch(values, RetentionPolicy.RUNTIME) >= 0);
  /libcore/luni/src/main/java/javax/crypto/spec/
GCMParameterSpec.java 20 import java.util.Arrays;
76 Arrays.checkOffsetAndCount(iv.length, offset, byteCount);
81 this.iv = Arrays.copyOfRange(iv, offset, offset + byteCount);
  /libcore/luni/src/test/java/libcore/io/
Base64Test.java 20 import java.util.Arrays;
26 assertEquals("[]", Arrays.toString(Base64.decode(new byte[0])));
41 Arrays.fill(data, 0xff);
  /cts/tools/dex-tools/src/dex/reader/
DexFileImpl.java 27 import java.util.Arrays;
74 b.append("StringPool:\n").append(Arrays.toString(stringPool));
79 b.append("\nProtos:\n").append(Arrays.toString(protoIdItems));
80 b.append("\nFields:\n").append(Arrays.toString(fieldIdItems));
81 b.append("\nMethods:\n").append(Arrays.toString(methodIdItems));
82 b.append("\nClasses:\n").append(Arrays.toString(classDefItems));

Completed in 2393 milliseconds

12 3 4 5 6 7 8 91011>>