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

1 2 3 4 5 6 78 91011>>

  /tools/loganalysis/src/com/android/loganalysis/item/
AppVersionItem.java 18 import java.util.Arrays;
31 new HashSet<String>(Arrays.asList(VERSION_CODE, VERSION_NAME));
BatteryStatsSummaryInfoItem.java 18 import java.util.Arrays;
32 private static final Set<String> ATTRIBUTES = new HashSet<String>(Arrays.asList(
LatencyItem.java 3 import java.util.Arrays;
18 private static final Set<String> ATTRIBUTES = new HashSet<String>(Arrays.asList(
NativeCrashItem.java 20 import java.util.Arrays;
32 private static final Set<String> ATTRIBUTES = new HashSet<String>(Arrays.asList(
SELinuxItem.java 21 import java.util.Arrays;
37 private static final Set<String> ATTRIBUTES = new HashSet<String>(Arrays.asList(
  /tools/loganalysis/tests/src/com/android/loganalysis/parser/
DumpsysParserTest.java 22 import java.util.Arrays;
35 Arrays.asList(
  /tools/tradefederation/core/tests/src/com/android/tradefed/command/
CommandFileParserTest.java 30 import java.util.Arrays;
79 List<String> expectedArgs = Arrays.asList("--foo", "config");
120 List<String> expectedArgs = Arrays.asList(
159 List<String> expectedArgs = Arrays.asList("verify");
171 List<String> expectedArgs = Arrays.asList("value", "2");
181 List<String> expectedArgs = Arrays.asList("verify varify vorify");
191 List<String> expectedArgs = Arrays.asList("verify");
201 List<String> expectedArgs = Arrays.asList("verify");
241 List<String> expectedArgs = Arrays.asList("verify");
263 List<String> expectedArgs1 = Arrays.asList("one", "two", "three")
    [all...]
  /tools/tradefederation/core/tests/src/com/android/tradefed/testtype/metricregression/
MetricsTest.java 34 import java.util.Arrays;
53 data.put("metric1", Arrays.asList("1.0", "1.1", "1.2"));
54 data.put("metric2", Arrays.asList("2.0", "2.1", "2.2"));
63 Arrays.asList("1.0", "1.1", "1.2").forEach(e -> mMetrics.addTestMetric(id1, "metric1", e));
65 Arrays.asList("2.0", "2.1", "2.2").forEach(e -> mMetrics.addTestMetric(id2, "metric1", e));
66 Arrays.asList("3.0", "3.1", "3.2").forEach(e -> mMetrics.addTestMetric(id2, "metric2", e));
82 data.put("metric1", Arrays.asList("1.0", "1.1", "1.2"));
83 data.put("metric2", Arrays.asList("2.0", "2.1"));
86 Arrays.asList("1.0", "1.1", "1.2").forEach(e -> mMetrics.addTestMetric(id1, "metric1", e));
88 Arrays.asList("2.0", "2.1", "2.2").forEach(e -> mMetrics.addTestMetric(id2, "metric1", e))
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
CharsTest.java 24 import java.util.Arrays;
201 assertTrue(Arrays.equals(EMPTY, Chars.concat()));
202 assertTrue(Arrays.equals(EMPTY, Chars.concat(EMPTY)));
203 assertTrue(Arrays.equals(EMPTY, Chars.concat(EMPTY, EMPTY, EMPTY)));
204 assertTrue(Arrays.equals(ARRAY1, Chars.concat(ARRAY1)));
206 assertTrue(Arrays.equals(ARRAY1, Chars.concat(EMPTY, ARRAY1, EMPTY)));
207 assertTrue(Arrays.equals(
210 assertTrue(Arrays.equals(
219 assertTrue(Arrays.equals(
246 List<char[]> ordered = Arrays.asList
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
LocaleLanguageRangeTest.java 22 import java.util.Arrays;
161 Collections.singletonMap("en-US", Arrays.asList("en-US", "en-AU", "en-UK"))));
165 List<LanguageRange> inputRanges = Collections.unmodifiableList(Arrays.asList(
182 map.put("zh", Collections.unmodifiableList(Arrays.asList("zh", "zh-Hans")));
186 List<LanguageRange> inputPriorityList = Arrays.asList(
193 List<LanguageRange> expectedOutput = Arrays.asList(
221 List<LanguageRange> priorityList = Collections.unmodifiableList(Arrays.asList(
230 List<LanguageRange> expected = Arrays.asList(
236 map.put("fr", Arrays.asList("de-DE"));
237 map.put("en", Arrays.asList("en-US", "en-AU"))
    [all...]
  /libcore/jsr166-tests/src/test/java/jsr166/
CopyOnWriteArraySetTest.java 12 import java.util.Arrays;
69 CopyOnWriteArraySet a = new CopyOnWriteArraySet(Arrays.asList(ints));
79 assertTrue(full.addAll(Arrays.asList(three, four, five)));
81 assertFalse(full.addAll(Arrays.asList(three, four, five)));
91 assertTrue(full.addAll(Arrays.asList(three, four, one)));
93 assertFalse(full.addAll(Arrays.asList(three, four, one)));
173 CopyOnWriteArraySet empty1 = new CopyOnWriteArraySet(Arrays.asList());
174 CopyOnWriteArraySet empty2 = new CopyOnWriteArraySet(Arrays.asList());
190 assertTrue(full.containsAll(Arrays.asList()));
191 assertTrue(full.containsAll(Arrays.asList(one)))
    [all...]
  /libcore/luni/src/test/java/libcore/javax/crypto/spec/
AlgorithmParametersTestPBES2.java 20 import java.util.Arrays;
49 // System.out.println("Encoded: " + Arrays.toString(ap.getEncoded()));
173 Arrays.toString(GET_ENCODED_KNOWN_ANSWERS[i]),
174 Arrays.toString(ap.getEncoded()));
188 assertEquals(Arrays.toString(TEST_PBE_PARAMETER_SPEC.getSalt()),
189 Arrays.toString(encodedSpec.getSalt()));
193 Arrays.toString(
195 Arrays.toString(((IvParameterSpec) encodedSpec.getParameterSpec()).getIV()));
215 Arrays.toString(ENCRYPT_KNOWN_ANSWERS[i]),
216 Arrays.toString(encrypted))
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/pm/
AppsQueryHelperTests.java 25 import java.util.Arrays;
41 assertEqualsIgnoreOrder(Arrays.asList("sys_app1", "sys_app2", "sys_app3"), apps);
44 assertEqualsIgnoreOrder(Arrays.asList("sys_app1", "sys_app2", "sys_app3", "app4"), apps);
50 assertEqualsIgnoreOrder(Arrays.asList("sys_app1", "sys_app3"), apps);
54 assertEqualsIgnoreOrder(Arrays.asList("sys_app1", "sys_app3"), apps);
60 assertEqualsIgnoreOrder(Arrays.asList("sys_app1"), apps);
64 assertEqualsIgnoreOrder(Arrays.asList("sys_app1"), apps);
72 assertEqualsIgnoreOrder(Arrays.asList("sys_app1", "sys_app3"), apps);
78 assertEqualsIgnoreOrder(Arrays.asList("sys_app1", "sys_app3"), apps);
85 assertEqualsIgnoreOrder(Arrays.asList("sys_app1"), apps)
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/concurrent/
CopyOnWriteArrayListTest.java 20 import java.util.Arrays;
38 list.addAll(Arrays.asList("a", "b", "c", "d", "e"));
55 list.addAll(Arrays.asList("a", "b", "c", "d", "e"));
67 list.addAll(Arrays.asList("a", "b", "c", "d", "e"));
79 list.addAll(Arrays.asList("a", "b", "c", "d", "e"));
82 list.addAll(Arrays.asList("A", "B", "C", "D", "E"));
92 list.addAll(Arrays.asList("a", "b", "c", "d", "e"));
94 list.removeAll(Arrays.asList());
95 assertEquals(Arrays.asList("a", "b", "c", "d", "e"), list);
97 list.removeAll(Arrays.asList("e"))
    [all...]
  /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DragAndDropManagerTests.java 58 import java.util.Arrays;
151 Arrays.asList(TestEnv.FILE_APK, TestEnv.FILE_JPG),
153 Arrays.asList(TestEnv.FOLDER_0.derivedUri, TestEnv.FILE_APK.derivedUri,
166 Arrays.asList(TestEnv.FILE_APK, TestEnv.FILE_JPG),
168 Arrays.asList(TestEnv.FOLDER_0.derivedUri, TestEnv.FILE_APK.derivedUri,
181 Arrays.asList(TestEnv.FILE_APK),
183 Arrays.asList(TestEnv.FOLDER_0.derivedUri, TestEnv.FILE_APK.derivedUri),
196 Arrays.asList(TestEnv.FILE_APK, TestEnv.FILE_JPG),
198 Arrays.asList(TestEnv.FOLDER_0.derivedUri, TestEnv.FILE_APK.derivedUri,
213 Arrays.asList(TestEnv.FOLDER_1, TestEnv.FILE_JPG)
    [all...]
  /art/test/1901-get-bytecodes/src/art/
Test1901.java 22 import java.util.Arrays;
127 if (Arrays.equals(pos, real_codes)) {
132 System.out.println("Received: " + Arrays.toString(real_codes));
135 System.out.println("\t" + Arrays.toString(pos));
  /art/test/948-change-annotations/src/
Main.java 18 import java.util.Arrays;
65 Arrays.sort(annos, Comparator.comparing((v) -> v.toString()));
80 + Arrays.toString(sortedAnno(transform.getAnnotations())));
83 + Arrays.toString(sortedAnno(m.getDeclaredAnnotations())));
  /cts/tests/tests/bluetooth/src/android/bluetooth/cts/
TestUtils.java 27 import java.util.Arrays;
49 * Assert two byte arrays are equal.
52 if (!Arrays.equals(expected, actual)) {
53 Assert.fail("expected:<" + Arrays.toString(expected) +
54 "> but was:<" + Arrays.toString(actual) + ">");
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/
OCSPUtils.java 4 import java.util.Arrays;
41 return Collections.unmodifiableSet(new HashSet(Arrays.asList(extensions.getCriticalExtensionOIDs())));
52 return Collections.unmodifiableSet(new HashSet(Arrays.asList(extensions.getNonCriticalExtensionOIDs())));
62 return Collections.unmodifiableList(Arrays.asList(extensions.getExtensionOIDs()));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DERGeneralString.java 5 import org.bouncycastle.util.Arrays;
111 return Arrays.clone(string);
132 return Arrays.hashCode(string);
143 return Arrays.areEqual(string, s.string);
DERVisibleString.java 5 import org.bouncycastle.util.Arrays;
108 return Arrays.clone(string);
136 return Arrays.areEqual(string, ((DERVisibleString)o).string);
141 return Arrays.hashCode(string);
  /external/brotli/java/org/brotli/wrapper/common/
BrotliCommon.java 12 import java.util.Arrays;
43 return Arrays.equals(RFC_DICTIONARY_MD5, digest);
50 return Arrays.equals(RFC_DICTIONARY_SHA_1, digest);
57 return Arrays.equals(RFC_DICTIONARY_SHA_256, digest);
  /external/capstone/bindings/java/capstone/
Sparc.java 10 import java.util.Arrays;
23 return Arrays.asList("base", "index", "disp");
50 return Arrays.asList("type", "value");
76 return Arrays.asList("cc", "hint", "op_count", "op");
Systemz.java 10 import java.util.Arrays;
24 return Arrays.asList("base", "index", "length", "disp");
53 return Arrays.asList("type", "value");
77 return Arrays.asList("cc", "op_count", "op");
Xcore.java 10 import java.util.Arrays;
24 return Arrays.asList("base", "index", "disp", "direct");
51 return Arrays.asList("type", "value");
72 return Arrays.asList("op_count", "op");

Completed in 1775 milliseconds

1 2 3 4 5 6 78 91011>>