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

<<11121314151617181920>>

  /libcore/luni/src/test/java/libcore/java/io/
DataOutputStreamTest.java 22 import java.util.Arrays;
93 Arrays.fill(chars, 0, chars.length, 'a');
108 Arrays.fill(expected, 7, expected.length, (byte) 'a');
109 assertEquals(Arrays.toString(expected), Arrays.toString(bytes.toByteArray()));
  /packages/apps/Exchange/tests/src/com/android/exchange/eas/
EasProvisionTests.java 31 import java.util.Arrays;
67 assertTrue(Arrays.equals(generatedResult.toByteArray(), expectedBytes));
98 assertTrue(Arrays.equals(generatedResult.toByteArray(), expectedBytes));
126 assertTrue(Arrays.equals(generatedResult.toByteArray(), expectedBytes));
158 assertTrue(Arrays.equals(generatedResult.toByteArray(), expectedBytes));
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
CurrencyTest.java 21 import java.util.Arrays;
208 Set<Locale> availableLocales = new HashSet<Locale>(Arrays.asList(Locale.getAvailableLocales()));
253 + Arrays.toString(euro), flag);
269 + Arrays.toString(yen), flag);
285 + Arrays.toString(dollar), flag);
301 + Arrays.toString(cDollar), flag);
343 final Collection<Locale> locVal = Arrays.asList(
360 final Collection<String> locDat = Arrays.asList("CAD", "CAD", "CNY", "EUR", "EUR", "EUR",
378 final Collection<Locale> locVal = Arrays.asList(
395 final Collection<String> locDat = Arrays.asList("CAD", "CAD", "CNY", "EUR", "EUR", "EUR"
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
BitSetTest.java 21 import java.util.Arrays;
139 assertEquals("[]", Arrays.toString(BitSet.valueOf(new long[0]).toLongArray()));
140 assertEquals("[1]", Arrays.toString(BitSet.valueOf(new long[] { 1 }).toLongArray()));
141 assertEquals("[1, 2]", Arrays.toString(BitSet.valueOf(new long[] { 1, 2 }).toLongArray()));
144 assertEquals("[]", Arrays.toString(new BitSet(128).toLongArray()));
149 assertEquals("[1]", Arrays.toString(bs.toLongArray()));
153 assertEquals("[]", Arrays.toString(BitSet.valueOf(new long[0]).toByteArray()));
154 assertEquals("[1]", Arrays.toString(BitSet.valueOf(new long[] { 1 }).toByteArray()));
156 Arrays.toString(BitSet.valueOf(new long[] { 0x1234567890abcdefL }).toByteArray()));
158 Arrays.toString(BitSet.valueOf(new long[] { 1, 2 }).toByteArray()))
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
SecurityTest.java 28 import java.util.Arrays;
243 assertTrue(filter, Arrays.equals(new Provider[] { p }, Security
247 assertTrue(filter, Arrays.equals(new Provider[] { p }, Security
255 assertTrue(filter, Arrays.equals(new Provider[] { p }, Security
258 assertTrue(filter, Arrays.equals(new Provider[] { p }, Security
261 assertTrue(filter, Arrays.equals(new Provider[] { p }, Security
309 assertTrue("MyService.MyAlgorithm", Arrays.equals(
315 assertTrue("MyService.MyAlgorithm KeySize:512", Arrays.equals(
327 assertTrue(Arrays.equals(new Provider[] { p }, Security
331 assertTrue(Arrays.equals(new Provider[] { p }, Securit
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DomUtilitiesTest.java 24 import java.util.Arrays;
104 assertTrue(DomUtilities.isContiguous(Arrays.asList(foo)));
105 assertTrue(DomUtilities.isContiguous(Arrays.asList(foo, bar)));
106 assertTrue(DomUtilities.isContiguous(Arrays.asList(foo, bar, baz)));
107 assertTrue(DomUtilities.isContiguous(Arrays.asList(foo, bar, baz)));
108 assertTrue(DomUtilities.isContiguous(Arrays.asList(bar, baz, foo)));
109 assertTrue(DomUtilities.isContiguous(Arrays.asList(baz, bar, foo)));
110 assertTrue(DomUtilities.isContiguous(Arrays.asList(baz, foo, bar)));
112 assertFalse(DomUtilities.isContiguous(Arrays.asList(foo, baz)));
113 assertFalse(DomUtilities.isContiguous(Arrays.asList(root, baz)))
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ParcelTest.java 23 import java.util.Arrays;
105 assertTrue(Arrays.equals(ints, ints2));
115 assertTrue(Arrays.equals(longs, longs2));
133 assertTrue(Arrays.equals(floats, floats2));
143 assertTrue(Arrays.equals(doubles, doubles2));
153 assertTrue(Arrays.equals(strings, strings2));
346 assertTrue(Arrays.equals(strings, strings2));
351 final List<String> strings = Arrays.asList( "foo", "bar" );
361 final List<String> strings = Arrays.asList( "foo", "bar" );
375 assertTrue(Arrays.equals(bytes, bytes2))
    [all...]
  /external/proguard/src/proguard/util/
ArrayUtil.java 24 import java.util.Arrays;
27 * This class contains utility methods operating on arrays.
32 * Returns whether the elements of the two given arrays are the same.
35 * @param size the size of the arrays to be checked.
53 * Returns whether the elements of the two given arrays are the same.
56 * @param size the size of the arrays to be checked.
74 * Returns whether the elements of the two given arrays are the same.
77 * @param size the size of the arrays to be checked.
95 * Returns whether the elements of the two given arrays are the same.
98 * @param size the size of the arrays to be checked
    [all...]
  /libcore/support/src/test/java/libcore/java/security/
StandardNames.java 28 import java.util.Arrays;
127 modes.addAll(Arrays.asList(newModes));
135 paddings.addAll(Arrays.asList(newPaddings));
539 public static final Set<String> SSL_CONTEXT_PROTOCOLS = new HashSet<String>(Arrays.asList(
550 public static final Set<String> KEY_TYPES = new HashSet<String>(Arrays.asList(
566 public static final Set<String> SSL_SOCKET_PROTOCOLS = new HashSet<String>(Arrays.asList(
573 new HashSet<String>(Arrays.asList(
579 new HashSet<String>(Arrays.asList(
600 public static final Set<String> CLIENT_AUTH_TYPES = new HashSet<String>(Arrays.asList(
611 public static final Set<String> SERVER_AUTH_TYPES = new HashSet<String>(Arrays.asList
    [all...]
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
BitStringTest.java 26 import java.util.Arrays;
73 assertTrue("Testcase: " + i, Arrays.equals(expected.bytes,
88 assertTrue("Testcase: " + i, Arrays.equals(expected.bytes,
96 assertTrue("Testcase: " + i, Arrays.equals(
162 assertTrue("Testcase: " + i, Arrays.equals(
204 assertTrue("Testcase: " + i, Arrays.equals(
242 assertTrue("Testcase: " + i, Arrays.equals(
  /external/guava/guava-tests/test/com/google/common/collect/
SynchronizedMultimapTest.java 22 import java.util.Arrays;
174 multimap.putAll("foo", Arrays.asList(3, -1, 2, 4, 1));
175 multimap.putAll("bar", Arrays.asList(1, 2, 3, 1));
178 ASSERT.that(multimap.replaceValues("bar", Arrays.asList(6, 5)))
187 multimap.putAll("foo", Arrays.asList(3, -1, 2, 4, 1));
188 multimap.putAll("bar", Arrays.asList(1, 2, 3, 1));
191 ASSERT.that(multimap.replaceValues("bar", Arrays.asList(6, 5)))
ImmutableMultimapTest.java 27 import java.util.Arrays;
42 assertEquals(Arrays.asList(1), multimap.get("one"));
79 assertEquals(Arrays.asList(1), builder.build().get("one"));
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
SecurityTest.java 31 import java.util.Arrays;
212 assertTrue(filter, Arrays.equals(new Provider[] { p }, Security
216 assertTrue(filter, Arrays.equals(new Provider[] { p }, Security
224 assertTrue(filter, Arrays.equals(new Provider[] { p }, Security
227 assertTrue(filter, Arrays.equals(new Provider[] { p }, Security
274 assertTrue("MyService.MyAlgorithm", Arrays.equals(
280 assertTrue("MyService.MyAlgorithm KeySize:512", Arrays.equals(
292 assertTrue(Arrays.equals(new Provider[] { p }, Security
296 assertTrue(Arrays.equals(new Provider[] { p }, Security
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
MoreKeySpecTests.java 26 import java.util.Arrays;
62 assertEquals(message, Arrays.toString(expected), Arrays.toString(actual));
66 assertEquals(message + " [length]", Arrays.toString(expected), Arrays.toString(actual));
71 Arrays.toString(expected), Arrays.toString(actual));
303 final String[] actual = Arrays.copyOf(moreKeys, moreKeys.length);
342 final String[] actual = Arrays.copyOf(moreKeys, moreKeys.length);
  /cts/libs/commonutil/src/com/android/cts/util/
Stat.java 19 import java.util.Arrays;
76 double[] dataCopied = Arrays.copyOf(data, data.length);
77 Arrays.sort(dataCopied);
  /dalvik/dexgen/src/com/android/dexgen/util/
FixedSizeList.java 19 import java.util.Arrays;
59 return Arrays.equals(arr, list.arr);
65 return Arrays.hashCode(arr);
  /dalvik/dx/src/com/android/dx/util/
FixedSizeList.java 19 import java.util.Arrays;
59 return Arrays.equals(arr, list.arr);
65 return Arrays.hashCode(arr);
  /developers/build/prebuilts/gradle/CardReader/Application/src/main/java/com/example/android/cardreader/
LoyaltyCardReader.java 26 import java.util.Arrays;
87 byte[] payload = Arrays.copyOf(result, resultLength-2);
88 if (Arrays.equals(SELECT_OK_SW, statusWord)) {
  /developers/samples/android/connectivity/nfc/CardReader/Application/src/main/java/com/example/android/cardreader/
LoyaltyCardReader.java 26 import java.util.Arrays;
87 byte[] payload = Arrays.copyOf(result, resultLength-2);
88 if (Arrays.equals(SELECT_OK_SW, statusWord)) {
  /development/samples/browseable/CardReader/src/com.example.android.cardreader/
LoyaltyCardReader.java 26 import java.util.Arrays;
87 byte[] payload = Arrays.copyOf(result, resultLength-2);
88 if (Arrays.equals(SELECT_OK_SW, statusWord)) {
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DESedeKeySpecTest.java 26 import java.util.Arrays;
116 + "in constructor.", Arrays.equals(key, res));
135 + "in constructor.", Arrays.equals(exp, res));
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/
TSTInfoTest.java 22 import java.util.Arrays;
69 assertTrue("Decoded messageImprint is incorrect", Arrays.equals(
76 assertTrue("Decoded accuracy is incorrect", Arrays.equals(accuracy,
  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
CertificateMessageTest.java 26 import java.util.Arrays;
92 assertTrue("incorrect cert encoding", Arrays.equals(message.certs[0]
104 assertTrue("incorrect cert encoding", Arrays.equals(message.certs[0]
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLX509CRLEntry.java 23 import java.util.Arrays;
54 return new HashSet<String>(Arrays.asList(critOids));
79 return new HashSet<String>(Arrays.asList(critOids));
  /external/dexmaker/src/dx/java/com/android/dx/util/
FixedSizeList.java 19 import java.util.Arrays;
59 return Arrays.equals(arr, list.arr);
65 return Arrays.hashCode(arr);

Completed in 1557 milliseconds

<<11121314151617181920>>