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

1 2 3 4 5 6 7 8 91011>>

  /external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
XMLChar.java 21 import java.util.Arrays;
104 Arrays.fill(CHARS, 35, 38, (byte) 49 ); // Fill 3 of value (byte) 49
106 Arrays.fill(CHARS, 39, 45, (byte) 49 ); // Fill 6 of value (byte) 49
107 Arrays.fill(CHARS, 45, 47, (byte) -71 ); // Fill 2 of value (byte) -71
109 Arrays.fill(CHARS, 48, 58, (byte) -71 ); // Fill 10 of value (byte) -71
115 Arrays.fill(CHARS, 63, 65, (byte) 49 ); // Fill 2 of value (byte) 49
116 Arrays.fill(CHARS, 65, 91, (byte) -3 ); // Fill 26 of value (byte) -3
117 Arrays.fill(CHARS, 91, 93, (byte) 33 ); // Fill 2 of value (byte) 33
122 Arrays.fill(CHARS, 97, 123, (byte) -3 ); // Fill 26 of value (byte) -3
123 Arrays.fill(CHARS, 123, 183, (byte) 33 ); // Fill 60 of value (byte) 33
    [all...]
XML11Char.java 21 import java.util.Arrays;
91 Arrays.fill(XML11CHARS, 1, 9, (byte) 17 ); // Fill 8 of value (byte) 17
94 Arrays.fill(XML11CHARS, 11, 13, (byte) 17 ); // Fill 2 of value (byte) 17
96 Arrays.fill(XML11CHARS, 14, 32, (byte) 17 ); // Fill 18 of value (byte) 17
98 Arrays.fill(XML11CHARS, 33, 38, (byte) 33 ); // Fill 5 of value (byte) 33
100 Arrays.fill(XML11CHARS, 39, 45, (byte) 33 ); // Fill 6 of value (byte) 33
101 Arrays.fill(XML11CHARS, 45, 47, (byte) -87 ); // Fill 2 of value (byte) -87
103 Arrays.fill(XML11CHARS, 48, 58, (byte) -87 ); // Fill 10 of value (byte) -87
107 Arrays.fill(XML11CHARS, 61, 65, (byte) 33 ); // Fill 4 of value (byte) 33
108 Arrays.fill(XML11CHARS, 65, 91, (byte) -19 ); // Fill 26 of value (byte) -19
    [all...]
  /frameworks/support/room/migration/src/test/java/androidx/room/migration/bundle/
ForeignKeyBundleTest.java 26 import java.util.Arrays;
33 "onUpdate", Arrays.asList("col1", "col2"),
34 Arrays.asList("target1", "target2"));
36 "onUpdate", Arrays.asList("col1", "col2"),
37 Arrays.asList("target1", "target2"));
44 "onUpdate", Arrays.asList("col1", "col2"),
45 Arrays.asList("target1", "target2"));
47 "onUpdate", Arrays.asList("col1", "col2"),
48 Arrays.asList("target1", "target2"));
55 "onUpdate", Arrays.asList("col1", "col2")
    [all...]
IndexBundleTest.java 26 import java.util.Arrays;
33 Arrays.asList("col1", "col2"), "sql");
35 Arrays.asList("col1", "col2"), "sql");
42 Arrays.asList("col1", "col2"), "sql");
44 Arrays.asList("col1", "col2"), "sql");
51 Arrays.asList("col1", "col2"), "sql");
53 Arrays.asList("col1", "col2"), "sql");
60 Arrays.asList("col1", "col2"), "sql");
62 Arrays.asList("col1", "col2"), "sql");
69 Arrays.asList("col1", "col2"), "sql")
    [all...]
PrimaryKeyBundleTest.java 26 import java.util.Arrays;
33 Arrays.asList("foo", "bar"));
35 Arrays.asList("foo", "bar"));
42 Arrays.asList("foo", "bar"));
44 Arrays.asList("foo", "bar"));
51 Arrays.asList("foo", "baz"));
53 Arrays.asList("foo", "bar"));
60 Arrays.asList("foo", "bar"));
62 Arrays.asList("bar", "foo"));
  /cts/tests/tests/telephony/src/android/telephony/cts/
CarrierCapability.java 19 import java.util.Arrays;
26 Arrays.asList(
98 Arrays.asList(
138 Arrays.asList(
  /external/testng/src/test/java/org/testng/remote/strprotocol/
TestResultMessageTest.java 3 import java.util.Arrays;
20 { null, new Class[] { null }, Arrays.asList() },
22 new Class[] { byte[].class }, Arrays.asList("[1]") },
24 new Class[] { short[].class }, Arrays.asList("[1]") },
26 new Class[] { long[].class }, Arrays.asList("[1]") },
28 new Class[] { int[].class }, Arrays.asList("[1,2,3]") },
31 Arrays.asList("[true,false]") },
33 new Class[] { int[].class }, Arrays.asList("[a,b,c]") },
36 Arrays.asList("[1.1,2.2,3.3]") },
39 Arrays.asList("[1.1,2.2,3.3]") }
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
Arrays2Test.java 21 import java.util.Arrays;
35 * java.util.Arrays#binarySearch(double[], double)
44 int result = Arrays.binarySearch(specials, specials[i]);
49 -4, Arrays.binarySearch(specials, -1d));
51 -8, Arrays.binarySearch(specials, 1d));
55 * java.util.Arrays#binarySearch(float[], float)
64 int result = Arrays.binarySearch(specials, specials[i]);
69 -4, Arrays.binarySearch(specials, -1f));
71 -8, Arrays.binarySearch(specials, 1f));
75 * java.util.Arrays#equals(double[], double[]
    [all...]
ArraysTest.java 23 import java.util.Arrays;
80 * java.util.Arrays#asList(java.lang.Object[])
84 // java.util.Arrays.asList(java.lang.Object [])
85 List convertedList = Arrays.asList(objectArray);
100 convertedList = Arrays.asList(myArray);
108 Arrays.asList((Object[]) null);
116 * java.util.Arrays#binarySearch(byte[], byte)
119 // Test for method int java.util.Arrays.binarySearch(byte [], byte)
122 Arrays.binarySearch(byteArray, counter) == counter);
124 -1, Arrays.binarySearch(intArray, (byte) -1))
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/model/
HRDParameters.java 23 import java.util.Arrays;
44 ", bit_rate_value_minus1=" + Arrays.toString(bit_rate_value_minus1) +
45 ", cpb_size_value_minus1=" + Arrays.toString(cpb_size_value_minus1) +
46 ", cbr_flag=" + Arrays.toString(cbr_flag) +
ScalingMatrix.java 23 import java.util.Arrays;
33 "ScalingList4x4=" + (ScalingList4x4 == null ? null : Arrays.asList(ScalingList4x4)) + "\n" +
34 ", ScalingList8x8=" + (ScalingList8x8 == null ? null : Arrays.asList(ScalingList8x8)) + "\n" +
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/spec/
UserKeyingMaterialSpec.java 5 import org.bouncycastle.util.Arrays;
14 this.userKeyingMaterial = Arrays.clone(userKeyingMaterial);
19 return Arrays.clone(userKeyingMaterial);
AEADParameterSpec.java 5 import org.bouncycastle.util.Arrays;
41 this.associatedData = Arrays.clone(associatedData);
61 return Arrays.clone(associatedData);
  /external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/
CommandLineSupportTest.java 16 import java.util.Arrays;
52 assertEquals("", CommandLineSupport.quote(Arrays.<String> asList()));
57 assertEquals("a", CommandLineSupport.quote(Arrays.asList("a")));
63 CommandLineSupport.quote(Arrays.asList("a", "b", "c")));
69 CommandLineSupport.quote(Arrays.asList("a", "b b", "c")));
74 assertEquals(Arrays.asList(), CommandLineSupport.split(null));
79 assertEquals(Arrays.asList(), CommandLineSupport.split(""));
84 assertEquals(Arrays.asList("abc"), CommandLineSupport.split("abc"));
89 assertEquals(Arrays.asList("aa", "bbbb", "cccccc"),
95 assertEquals(Arrays.asList("a a", "b b ")
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/field/
GF2Polynomial.java 3 import org.bouncycastle.util.Arrays;
11 this.exponents = Arrays.clone(exponents);
21 return Arrays.clone(exponents);
35 return Arrays.areEqual(exponents, other.exponents);
40 return Arrays.hashCode(exponents);
  /packages/services/Car/tests/carservice_unit_test/src/com/android/car/
VmsSubscriptionStateTest.java 29 import java.util.Arrays;
62 new HashSet<>(Arrays.asList(PUBLISHER_ID_1)));
68 new HashSet<>(Arrays.asList()),
69 new HashSet<>(Arrays.asList()));
82 new HashSet<>(Arrays.asList(VMS_LAYER)),
83 new HashSet<>(Arrays.asList(VMS_ASSOCIATED_LAYER)));
96 new HashSet<>(Arrays.asList()),
97 new HashSet<>(Arrays.asList()));
102 new HashSet<>(Arrays.asList()),
103 new HashSet<>(Arrays.asList()))
    [all...]
  /external/easymock/src/org/easymock/internal/matchers/
ArrayEquals.java 18 import java.util.Arrays;
35 return Arrays.equals((boolean[]) expected, (boolean[]) actual);
38 return Arrays.equals((byte[]) expected, (byte[]) actual);
41 return Arrays.equals((char[]) expected, (char[]) actual);
44 return Arrays.equals((double[]) expected, (double[]) actual);
47 return Arrays.equals((float[]) expected, (float[]) actual);
50 return Arrays.equals((int[]) expected, (int[]) actual);
53 return Arrays.equals((long[]) expected, (long[]) actual);
56 return Arrays.equals((short[]) expected, (short[]) actual);
59 return Arrays.equals((Object[]) expected, (Object[]) actual);
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DataCallResponseTest.java 32 import java.util.Arrays;
39 Arrays.asList(new LinkAddress(NetworkUtils.numericToInetAddress(FAKE_ADDRESS), 0)),
40 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_DNS)),
41 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_GATEWAY)),
42 Arrays.asList(FAKE_PCSCF_ADDRESS),
56 Arrays.asList(new LinkAddress(NetworkUtils.numericToInetAddress(FAKE_ADDRESS), 0)),
57 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_DNS)),
58 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_GATEWAY)),
59 Arrays.asList(FAKE_PCSCF_ADDRESS),
63 Arrays.asList(new LinkAddress(NetworkUtils.numericToInetAddress(FAKE_ADDRESS), 0))
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/utils/
XML11Char.java 21 import java.util.Arrays;
86 Arrays.fill(XML11CHARS, 1, 9, (byte) 17 ); // Fill 8 of value (byte) 17
89 Arrays.fill(XML11CHARS, 11, 13, (byte) 17 ); // Fill 2 of value (byte) 17
91 Arrays.fill(XML11CHARS, 14, 32, (byte) 17 ); // Fill 18 of value (byte) 17
93 Arrays.fill(XML11CHARS, 33, 38, (byte) 33 ); // Fill 5 of value (byte) 33
95 Arrays.fill(XML11CHARS, 39, 45, (byte) 33 ); // Fill 6 of value (byte) 33
96 Arrays.fill(XML11CHARS, 45, 47, (byte) -87 ); // Fill 2 of value (byte) -87
98 Arrays.fill(XML11CHARS, 48, 58, (byte) -87 ); // Fill 10 of value (byte) -87
102 Arrays.fill(XML11CHARS, 61, 65, (byte) 33 ); // Fill 4 of value (byte) 33
103 Arrays.fill(XML11CHARS, 65, 91, (byte) -19 ); // Fill 26 of value (byte) -1
    [all...]
  /external/conscrypt/common/src/main/java/org/conscrypt/
ByteArray.java 19 import java.util.Arrays;
30 this.hashCode = Arrays.hashCode(bytes);
44 return Arrays.equals(bytes, lhs.bytes);
  /art/test/931-agent-thread/src/art/
Test931.java 19 import java.util.Arrays;
  /external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/
IsIterableWithSizeTest.java 6 import java.util.Arrays;
23 assertMatches("Single item iterable", iterableWithSize(1), Arrays.<Object>asList(1));
27 assertMatches("Multiple item iterable", iterableWithSize(3), Arrays.<Object>asList(1, 2, 3));
31 assertDoesNotMatch("Incorrect size", iterableWithSize(3), Arrays.<Object>asList(1));
  /libcore/ojluni/src/main/java/java/security/spec/
ECField.java 28 import java.util.Arrays;
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
BaseViewRuleTest.java 19 import java.util.Arrays;
37 assertEquals("foo", BaseViewRule.join('|', Arrays.asList("foo")));
39 assertEquals("foo,bar", BaseViewRule.join(',', Arrays.asList("foo", "bar")));
40 assertEquals("foo|bar", BaseViewRule.join('|', Arrays.asList("foo", "bar")));
  /libcore/luni/src/test/java/libcore/java/util/
ArraysTest.java 19 import java.util.Arrays;
25 * java.util.Arrays#setAll(int[], java.util.function.IntUnaryOperator)
33 Arrays.setAll(list, x -> x + 1);
39 Arrays.setAll(list, null);
45 Arrays.setAll((int[]) null, (x -> x + 1));
52 * java.util.Arrays#parallelSetAll(int[], java.util.function.IntUnaryOperator)
60 Arrays.parallelSetAll(list, x -> x + 1);
66 Arrays.parallelSetAll(list, null);
72 Arrays.parallelSetAll((int[]) null, (x -> x + 1));
79 * java.util.Arrays#setAll(long[], java.util.function.IntToLongFunction
    [all...]

Completed in 1672 milliseconds

1 2 3 4 5 6 7 8 91011>>