HomeSort by relevance Sort by last modified time
    Searched refs:Arrays (Results 201 - 225 of 4955) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/conscrypt/common/src/main/java/org/conscrypt/
X509PublicKey.java 20 import java.util.Arrays;
55 return "X509PublicKey [algorithm=" + algorithm + ", encoded=" + Arrays.toString(encoded)
64 result = prime * result + Arrays.hashCode(encoded);
82 if (!Arrays.equals(encoded, other.encoded))
  /external/dexmaker/dexmaker/src/main/java/com/android/dx/
TypeList.java 20 import java.util.Arrays;
43 return Collections.unmodifiableList(Arrays.asList(types));
48 return o instanceof TypeList && Arrays.equals(((TypeList) o).types, types);
53 return Arrays.hashCode(types);
  /external/guava/guava-testlib/test/com/google/common/collect/testing/
OpenJdk6ListTests.java 33 import java.util.Arrays;
49 return Arrays.asList(
54 return Arrays.asList(
62 return Arrays.asList(
OpenJdk6MapTests.java 32 import java.util.Arrays;
52 return Arrays.asList(
74 return Arrays.asList(
82 return Arrays.asList(
  /external/guava/guava-tests/benchmark/com/google/common/primitives/
UnsignedBytesBenchmark.java 23 import java.util.Arrays;
50 ba2 = Arrays.copyOf(ba1, ba1.length);
52 ba3 = Arrays.copyOf(ba1, ba1.length);
53 ba4 = Arrays.copyOf(ba1, ba1.length);
  /external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/
IsArrayContainingInAnyOrder.java 8 import java.util.Arrays;
25 return iterableMatcher.matches(Arrays.asList(item));
30 iterableMatcher.describeMismatch(Arrays.asList(item), mismatchDescription);
41 * Creates an order agnostic matcher for arrays that matches when each item in the
60 return arrayContainingInAnyOrder((List) Arrays.asList(itemMatchers));
65 * Creates an order agnostic matcher for arrays that matches when each item in the
78 * <pre>assertThat(new String[]{"foo", "bar"}, arrayContainingInAnyOrder(Arrays.asList(equalTo("bar"), equalTo("foo"))))</pre>
88 * <p>Creates an order agnostic matcher for arrays that matches when each item in the
  /external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/observer/
PropagatingAstObserverTest.java 31 import java.util.Arrays;
50 assertEquals(Arrays.asList(), changes);
53 assertEquals(Arrays.asList(), changes);
57 assertEquals(Arrays.asList("VariableDeclarator.name changed from foo to Bar"), changes);
  /external/mockito/src/test/java/org/mockito/internal/invocation/
InvocationMarkerTest.java 13 import java.util.Arrays;
28 InvocationMarker.markVerified(Arrays.asList(i), im);
45 InvocationMarker.markVerified(Arrays.asList(i), c);
62 InvocationMarker.markVerifiedInOrder(Arrays.asList(i), im, context);
  /external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/
Shape.java 18 import java.util.Arrays;
82 return Arrays.hashCode(shape);
91 if (obj instanceof Shape && Arrays.equals(this.shape, ((Shape) obj).shape)) {
104 return Arrays.toString(shape).replace("-1", "?");
  /frameworks/base/core/java/android/hardware/camera2/params/
BlackLevelPattern.java 19 import java.util.Arrays;
54 mCfaOffsets = Arrays.copyOf(offsets, COUNT);
114 return Arrays.equals(other.mCfaOffsets, mCfaOffsets);
124 return Arrays.hashCode(mCfaOffsets);
  /frameworks/base/core/java/android/net/metrics/
DnsEvent.java 23 import java.util.Arrays;
40 // the eventTypes, returnCodes, and latenciesMs arrays have the same length and the i-th event
81 eventTypes = Arrays.copyOf(eventTypes, newLength);
82 returnCodes = Arrays.copyOf(returnCodes, newLength);
83 latenciesMs = Arrays.copyOf(latenciesMs, newLength);
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
RatRatcheterTest.java 26 import java.util.Arrays;
46 assertTrue(Arrays.equals(mServiceState.getCellBandwidths(), bandwidths));
58 assertTrue(Arrays.equals(mServiceState.getCellBandwidths(), originalBandwidths));
69 assertTrue(Arrays.equals(mServiceState.getCellBandwidths(), originalBandwidths));
  /frameworks/support/work/workmanager/src/main/java/androidx/work/
WorkContinuation.java 23 import java.util.Arrays;
40 return then(Arrays.asList(work));
83 return combine(Arrays.asList(continuations));
115 return combine(work, Arrays.asList(continuations));
  /libcore/luni/src/test/java/libcore/java/lang/
StringBufferTest.java 21 import java.util.Arrays;
31 assertTrue(Arrays.equals(expected, s.chars().toArray()));
36 assertTrue(Arrays.equals(new int[]{high, low, low}, surrogateCP.chars().toArray()));
45 assertTrue(Arrays.equals(expected, s.codePoints().toArray()));
  /libcore/luni/src/test/java/libcore/java/util/
TimSortTest.java 20 import java.util.Arrays;
48 Arrays.sort(array);
55 Arrays.sort(array, NATURAL_ORDER_COMPARATOR);
63 fail("Array not sorted at element " + i + ": " + Arrays.toString(arrayToSort));
  /libcore/luni/src/test/java/tests/security/spec/
PKCS8EncodedKeySpecTest.java 29 import java.util.Arrays;
71 assertTrue(Arrays.equals(encodedKey, ek));
107 assertTrue(Arrays.equals(encodedKey, ek));
133 assertTrue(Arrays.equals(encodedKey, ek1));
X509EncodedKeySpecTest.java 30 import java.util.Arrays;
72 assertTrue(Arrays.equals(encodedKey, ek));
108 assertTrue(Arrays.equals(encodedKey, ek));
134 assertTrue(Arrays.equals(encodedKey, ek1));
  /packages/services/Car/tests/carservice_unit_test/src/com/android/car/
VmsPublishersInfoTest.java 22 import java.util.Arrays;
45 assertTrue(Arrays.equals(MOCK_INFO_0, info));
71 assertTrue(Arrays.equals(MOCK_INFO_0, info0));
72 assertTrue(Arrays.equals(MOCK_INFO_1, info1));
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/resources/platform/
AttrsXmlParserManifestTest.java 22 import java.util.Arrays;
72 Arrays.toString(styleableList.keySet().toArray()));
86 Arrays.toString(newElement.getParents()));
91 Arrays.toString(newParent.getParents()));
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
IncludeOverlayTest.java 20 import java.util.Arrays;
33 checkSubtract(new Rectangle(0, 0, 100, 80), Arrays.asList(new Rectangle(50, 50, 20, 20)));
35 checkSubtract(new Rectangle(0, 0, 100, 80), Arrays.asList(new Rectangle(50, 50, 20, 20),
38 checkSubtract(new Rectangle(0, 0, 100, 80), Arrays.asList(new Rectangle(50, 50, 20, 20),
  /tools/loganalysis/tests/src/com/android/loganalysis/parser/
LocationServiceParserTest.java 23 import java.util.Arrays;
35 List<String> inputBlock = Arrays.asList(
58 List<String> inputBlock = Arrays.asList(
79 List<String> inputBlock = Arrays.asList(
ProcrankParserTest.java 23 import java.util.Arrays;
35 List<String> inputBlock = Arrays.asList(
68 List<String> inputBlock = Arrays.asList(
101 ProcrankItem item = new ProcrankParser().parse(Arrays.asList(""));
TopParserTest.java 23 import java.util.Arrays;
35 List<String> inputBlock = Arrays.asList(
59 List<String> inputBlock = Arrays.asList(
80 TopItem item = new TopParser().parse(Arrays.asList(""));
  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
VectorialCovariance.java 20 import java.util.Arrays;
117 Arrays.fill(sums, 0.0);
118 Arrays.fill(productsSums, 0.0);
128 result = prime * result + Arrays.hashCode(productsSums);
129 result = prime * result + Arrays.hashCode(sums);
145 if (!Arrays.equals(productsSums, other.productsSums))
147 if (!Arrays.equals(sums, other.sums))
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/selector/
X509CertificateHolderSelector.java 10 import org.bouncycastle.util.Arrays;
73 return Arrays.clone(subjectKeyId);
78 int code = Arrays.hashCode(subjectKeyId);
103 return Arrays.areEqual(subjectKeyId, id.subjectKeyId)
132 return Arrays.areEqual(subjectKeyId, MSOutlookKeyIdCalculator.calculateKeyId(certHldr.getSubjectPublicKeyInfo()));
137 return Arrays.areEqual(subjectKeyId, subKeyID);
142 return Arrays.areEqual(subjectKeyId, (byte[])obj);

Completed in 5065 milliseconds

1 2 3 4 5 6 7 891011>>