Home
last modified time | relevance | path

Searched refs:Collections (Results 1 – 25 of 3303) sorted by relevance

12345678910>>...133

/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/
DHlsMultivariantPlaylist.java25 import java.util.Collections;
37 /* tags= */ Collections.emptyList(),
38 /* variants= */ Collections.emptyList(),
39 /* videos= */ Collections.emptyList(),
40 /* audios= */ Collections.emptyList(),
41 /* subtitles= */ Collections.emptyList(),
42 /* closedCaptions= */ Collections.emptyList(),
44 /* muxedCaptionFormats= */ Collections.emptyList(),
46 /* variableDefinitions= */ Collections.emptyMap(),
47 /* sessionKeyDrmInitData= */ Collections.emptyList());
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/
DHlsMultivariantPlaylist.java25 import java.util.Collections;
37 /* tags= */ Collections.emptyList(),
38 /* variants= */ Collections.emptyList(),
39 /* videos= */ Collections.emptyList(),
40 /* audios= */ Collections.emptyList(),
41 /* subtitles= */ Collections.emptyList(),
42 /* closedCaptions= */ Collections.emptyList(),
44 /* muxedCaptionFormats= */ Collections.emptyList(),
46 /* variableDefinitions= */ Collections.emptyMap(),
47 /* sessionKeyDrmInitData= */ Collections.emptyList());
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DTestsForSetsInJavaUtil.java31 import java.util.Collections;
85 return Collections.emptySet(); in suppressForCheckedNavigableSet()
89 return Collections.emptySet(); in suppressForEmptySet()
93 return Collections.emptySet(); in suppressForEmptyNavigableSet()
97 return Collections.emptySet(); in suppressForEmptySortedSet()
101 return Collections.emptySet(); in suppressForSingletonSet()
105 return Collections.emptySet(); in suppressForHashSet()
109 return Collections.emptySet(); in suppressForLinkedHashSet()
113 return Collections.emptySet(); in suppressForEnumSet()
117 return Collections.emptySet(); in suppressForSynchronizedNavigableSet()
[all …]
DTestsForMapsInJavaUtil.java29 import java.util.Collections;
84 return Collections.emptySet(); in suppressForCheckedMap()
88 return Collections.emptySet(); in suppressForCheckedNavigableMap()
92 return Collections.emptySet(); in suppressForCheckedSortedMap()
96 return Collections.emptySet(); in suppressForEmptyMap()
100 return Collections.emptySet(); in suppressForEmptyNavigableMap()
104 return Collections.emptySet(); in suppressForEmptySortedMap()
108 return Collections.emptySet(); in suppressForSingletonMap()
112 return Collections.emptySet(); in suppressForHashMap()
116 return Collections.emptySet(); in suppressForHashtable()
[all …]
DTestsForListsInJavaUtil.java37 import java.util.Collections;
75 return Collections.emptySet(); in suppressForEmptyList()
79 return Collections.emptySet(); in suppressForSingletonList()
83 return Collections.emptySet(); in suppressForArraysAsList()
87 return Collections.emptySet(); in suppressForArrayList()
91 return Collections.emptySet(); in suppressForLinkedList()
105 return Collections.emptySet(); in suppressForUnmodifiableList()
109 return Collections.emptySet(); in suppressForCheckedList()
113 return Collections.emptySet(); in suppressForAbstractList()
117 return Collections.emptySet(); in suppressForAbstractSequentialList()
[all …]
DTestsForQueuesInJavaUtil.java25 import java.util.Collections;
66 return Collections.emptySet(); in suppressForCheckedQueue()
70 return Collections.emptySet(); in suppressForArrayDeque()
74 return Collections.emptySet(); in suppressForLinkedList()
78 return Collections.emptySet(); in suppressForArrayBlockingQueue()
82 return Collections.emptySet(); in suppressForConcurrentLinkedDeque()
86 return Collections.emptySet(); in suppressForConcurrentLinkedQueue()
90 return Collections.emptySet(); in suppressForLinkedBlockingDeque()
94 return Collections.emptySet(); in suppressForLinkedBlockingQueue()
98 return Collections.emptySet(); in suppressForPriorityBlockingQueue()
[all …]
/external/cronet/base/win/
Dmap.h33 typename ABI::Windows::Foundation::Collections::IMap<K, V>::K_complex;
37 typename ABI::Windows::Foundation::Collections::IMap<K, V>::V_complex;
62 ABI::Windows::Foundation::Collections::
89 ABI::Windows::Foundation::Collections::IMapChangedEventArgs<K>> {
92 ABI::Windows::Foundation::Collections::CollectionChange change, in MapChangedEventArgs()
100 ABI::Windows::Foundation::Collections::CollectionChange* value) override { in get_CollectionChange()
111 const ABI::Windows::Foundation::Collections::CollectionChange change_;
133 ABI::Windows::Foundation::Collections::IMap<internal::LogicalK<K, V>,
135 ABI::Windows::Foundation::Collections::IObservableMap<
138 ABI::Windows::Foundation::Collections::IIterable<
[all …]
Dvector.h36 typename ABI::Windows::Foundation::Collections::IVector<T>::T_complex;
53 ABI::Windows::Foundation::Collections::IIterator<VectorLogical<T>>> {
60 ABI::Windows::Foundation::Collections::IVectorView<LogicalT>> view) in VectorIterator()
109 ABI::Windows::Foundation::Collections::IVectorView<LogicalT>>
119 ABI::Windows::Foundation::Collections::IVectorChangedEventArgs> {
122 ABI::Windows::Foundation::Collections::CollectionChange change, in VectorChangedEventArgs()
130 ABI::Windows::Foundation::Collections::CollectionChange* value) override;
134 const ABI::Windows::Foundation::Collections::CollectionChange change_;
144 ABI::Windows::Foundation::Collections::IVectorView<VectorLogical<T>>,
145 ABI::Windows::Foundation::Collections::VectorChangedEventHandler<
[all …]
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/export/
DSummaryTest.java24 import java.util.Collections;
63 10L, 87.07, Collections.singletonList(ValueAtPercentile.create(99.5, 10.2))); in createAndGet_Snapshot()
74 null, null, Collections.singletonList(ValueAtPercentile.create(99.5, 10.2))); in createAndGet_Snapshot_WithNullCountAndSum()
85 Snapshot.create(-10L, 87.07, Collections.singletonList(ValueAtPercentile.create(99.5, 10.2))); in createSnapshot_NegativeCount()
92 Snapshot.create(10L, -87.07, Collections.singletonList(ValueAtPercentile.create(99.5, 10.2))); in createSnapshot_NegativeSum()
99 Snapshot.create(0L, 87.07, Collections.singletonList(ValueAtPercentile.create(99.5, 10.2))); in createSnapshot_ZeroCountAndNonZeroSum()
113 Snapshot.create(10L, 87.07, Collections.<ValueAtPercentile>singletonList(null)); in createSnapshot_OneNullValueAtPercentile()
120 10L, 87.07, Collections.singletonList(ValueAtPercentile.create(99.5, 10.2))); in createAndGet_Summary()
132 -10L, 6.6, Snapshot.create(null, null, Collections.<ValueAtPercentile>emptyList())); in createSummary_NegativeCount()
140 10L, -6.6, Snapshot.create(null, null, Collections.<ValueAtPercentile>emptyList())); in createSummary_NegativeSum()
[all …]
DMetricTest.java28 import java.util.Collections;
57 Collections.singletonList(KEY_1));
72 Arrays.asList(LABEL_VALUE_1, LABEL_VALUE_2), Collections.singletonList(POINT_1), null);
75 Arrays.asList(LABEL_VALUE_1, LABEL_VALUE_2), Collections.singletonList(POINT_2), null);
78 Collections.singletonList(LABEL_VALUE_EMPTY),
79 Collections.singletonList(POINT_3),
96 Collections.singletonList(CUMULATIVE_TIME_SERIES), in typeMismatch_GaugeDouble_Long()
104 Collections.singletonList(GAUGE_TIME_SERIES_1), in typeMismatch_CumulativeInt64_Double()
119 Metric.create(null, Collections.<TimeSeries>emptyList()); in create_WithNullMetricDescriptor()
174 .addEqualityGroup(Metric.create(METRIC_DESCRIPTOR_1, Collections.<TimeSeries>emptyList())) in testEquals()
[all …]
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/
DTestsForSetsInJavaUtil.java27 import java.util.Collections;
75 return Collections.emptySet(); in suppressForEmptySet()
79 return Collections.emptySet(); in suppressForSingletonSet()
83 return Collections.emptySet(); in suppressForHashSet()
87 return Collections.emptySet(); in suppressForLinkedHashSet()
91 return Collections.emptySet(); in suppressForEnumSet()
95 return Collections.emptySet(); in suppressForTreeSetNatural()
99 return Collections.emptySet(); in suppressForTreeSetWithComparator()
103 return Collections.emptySet(); in suppressForCopyOnWriteArraySet()
107 return Collections.emptySet(); in suppressForUnmodifiableSet()
[all …]
DTestsForListsInJavaUtil.java34 import java.util.Collections;
72 return Collections.emptySet(); in suppressForEmptyList()
76 return Collections.emptySet(); in suppressForSingletonList()
80 return Collections.emptySet(); in suppressForArraysAsList()
84 return Collections.emptySet(); in suppressForArrayList()
88 return Collections.emptySet(); in suppressForLinkedList()
100 return Collections.emptySet(); in suppressForUnmodifiableList()
104 return Collections.emptySet(); in suppressForCheckedList()
108 return Collections.emptySet(); in suppressForAbstractList()
112 return Collections.emptySet(); in suppressForAbstractSequentialList()
[all …]
DTestsForMapsInJavaUtil.java29 import java.util.Collections;
78 return Collections.emptySet(); in suppressForCheckedMap()
82 return Collections.emptySet(); in suppressForCheckedSortedMap()
86 return Collections.emptySet(); in suppressForEmptyMap()
90 return Collections.emptySet(); in suppressForSingletonMap()
94 return Collections.emptySet(); in suppressForHashMap()
98 return Collections.emptySet(); in suppressForHashtable()
102 return Collections.emptySet(); in suppressForLinkedHashMap()
106 return Collections.emptySet(); in suppressForTreeMapNatural()
110 return Collections.emptySet(); in suppressForTreeMapWithComparator()
[all …]
/external/opencensus-java/api/src/test/java/io/opencensus/trace/samplers/
DSamplersTest.java29 import java.util.Collections;
64 Collections.<Span>emptyList())) in alwaysSampleSampler_AlwaysReturnTrue()
75 Collections.<Span>emptyList())) in alwaysSampleSampler_AlwaysReturnTrue()
95 Collections.<Span>emptyList())) in neverSampleSampler_AlwaysReturnFalse()
106 Collections.<Span>emptyList())) in neverSampleSampler_AlwaysReturnFalse()
151 neverSample, notSampledSpanContext, Collections.<Span>emptyList(), 0.0); in probabilitySampler_DifferentProbabilities_NotSampledParent()
154 alwaysSample, notSampledSpanContext, Collections.<Span>emptyList(), 1.0); in probabilitySampler_DifferentProbabilities_NotSampledParent()
157 fiftyPercentSample, notSampledSpanContext, Collections.<Span>emptyList(), 0.5); in probabilitySampler_DifferentProbabilities_NotSampledParent()
160 twentyPercentSample, notSampledSpanContext, Collections.<Span>emptyList(), 0.2); in probabilitySampler_DifferentProbabilities_NotSampledParent()
163 twoThirdsSample, notSampledSpanContext, Collections.<Span>emptyList(), 2.0 / 3.0); in probabilitySampler_DifferentProbabilities_NotSampledParent()
[all …]
/external/apache-commons-io/src/test/java/org/apache/commons/io/
DIOExceptionListTest.java30 import java.util.Collections;
43 final List<EOFException> list = Collections.singletonList(cause); in testCause()
59 IOExceptionList.checkEmpty(Collections.emptyList(), ""); in testCheckEmpty()
60 IOExceptionList.checkEmpty(Collections.emptyList(), null); in testCheckEmpty()
61 …assertThrows(IOExceptionList.class, () -> IOExceptionList.checkEmpty(Collections.singletonList(new… in testCheckEmpty()
62 …assertThrows(IOExceptionList.class, () -> IOExceptionList.checkEmpty(Collections.singletonList(new… in testCheckEmpty()
67 new IOExceptionList(Collections.emptyList()); in testEmptyList()
68 new IOExceptionList("foo", Collections.emptyList()); in testEmptyList()
74 final List<EOFException> list = Collections.singletonList(cause); in testIterable()
90 final List<EOFException> list = Collections.singletonList(cause); in testMessageCause()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/
DUtilCollectionsTypesTest.java26 _verifyCollection(Collections.emptyList()); in testEmptyList()
30 _verifyCollection(Collections.emptySet()); in testEmptySet()
34 _verifyMap(Collections.emptyMap()); in testEmptyMap()
44 _verifyCollection(Collections.singletonList(Arrays.asList("TheOne"))); in testSingletonList()
48 _verifyCollection(Collections.singleton(Arrays.asList("TheOne"))); in testSingletonSet()
52 _verifyMap(Collections.singletonMap("foo", "bar")); in testSingletonMap()
62 _verifyCollection(Collections.unmodifiableList(Arrays.asList("first", "second"))); in testUnmodifiableList()
73 Collection<?> act = _writeReadCollection(Collections.unmodifiableList(input)); in testUnmodifiableListFromLinkedList()
77 … assertEquals(Collections.unmodifiableList(new ArrayList<>(input)).getClass(), act.getClass()); in testUnmodifiableListFromLinkedList()
83 _verifyCollection(Collections.unmodifiableSet(input)); in testUnmodifiableSet()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/impl/
DJavaUtilCollectionsDeserializers.java51 Set<?> set = Collections.singleton(Boolean.TRUE);
53 CLASS_UNMODIFIABLE_SET = Collections.unmodifiableSet(set).getClass();
55 List<?> list = Collections.singletonList(Boolean.TRUE);
57 CLASS_UNMODIFIABLE_LIST = Collections.unmodifiableList(list).getClass();
59 … CLASS_UNMODIFIABLE_LIST_ALIAS = Collections.unmodifiableList(new LinkedList<Object>()).getClass();
61 Map<?,?> map = Collections.singletonMap("a", "b");
63 CLASS_UNMODIFIABLE_MAP = Collections.unmodifiableMap(map).getClass();
140 return Collections.singleton(set.iterator().next()); in convert()
146 return Collections.singletonList(list.get(0)); in convert()
153 return Collections.singletonMap(entry.getKey(), entry.getValue()); in convert()
[all …]
/external/jazzer-api/agent/src/test/java/com/code_intelligence/jazzer/autofuzz/
DMetaTest.java27 import java.util.Collections;
40 consumeTestCase(5, "5", Collections.singletonList(5)); in testConsume()
41 consumeTestCase((short) 5, "(short) 5", Collections.singletonList((short) 5)); in testConsume()
42 consumeTestCase(5L, "5L", Collections.singletonList(5L)); in testConsume()
43 consumeTestCase(5.0F, "5.0F", Collections.singletonList(5.0F)); in testConsume()
44 consumeTestCase('\n', "'\\\\n'", Collections.singletonList('\n')); in testConsume()
45 consumeTestCase('\'', "'\\\\''", Collections.singletonList('\'')); in testConsume()
46 consumeTestCase('\\', "'\\\\'", Collections.singletonList('\\')); in testConsume()
55 consumeTestCase(null, "null", Collections.singletonList((byte) 0)); in testConsume()
117 Collections.singletonList((byte) 1)); in testConsume()
[all …]
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/
DMethodAnalyzerTest.java56 import java.util.Collections;
78Collections.singletonList(new ImmutableMethodParameter("Ljava/lang/Object;", null, null)), "V", in testInstanceOfNarrowingEqz_art()
81 null, null, null, Collections.singletonList(method)); in testInstanceOfNarrowingEqz_art()
82 … DexFile dexFile = new ImmutableDexFile(forArtVersion(56), Collections.singletonList(classDef)); in testInstanceOfNarrowingEqz_art()
109Collections.singletonList(new ImmutableMethodParameter("Ljava/lang/Object;", null, null)), "V", in testInstanceOfNarrowingEqz_dalvik()
112 null, null, null, Collections.singletonList(method)); in testInstanceOfNarrowingEqz_dalvik()
113 … DexFile dexFile = new ImmutableDexFile(Opcodes.forApi(19), Collections.singletonList(classDef)); in testInstanceOfNarrowingEqz_dalvik()
141Collections.singletonList(new ImmutableMethodParameter("Ljava/lang/Object;", null, null)), "V", in testInstanceOfNarrowingNez_art()
144 null, null, null, Collections.singletonList(method)); in testInstanceOfNarrowingNez_art()
145 … DexFile dexFile = new ImmutableDexFile(forArtVersion(56), Collections.singletonList(classDef)); in testInstanceOfNarrowingNez_art()
[all …]
/external/testng/src/main/java/org/testng/
DTestListenerAdapter.java8 import java.util.Collections;
29 Collections.synchronizedList(Lists.<ITestNGMethod>newArrayList());
30 …private List<ITestResult> m_passedTests = Collections.synchronizedList(Lists.<ITestResult>newArray…
31 …private List<ITestResult> m_failedTests = Collections.synchronizedList(Lists.<ITestResult>newArray…
32 …private List<ITestResult> m_skippedTests = Collections.synchronizedList(Lists.<ITestResult>newArra…
33 …private List<ITestResult> m_failedButWSPerTests = Collections.synchronizedList(Lists.<ITestResult>…
34 …private List<ITestContext> m_testContexts= Collections.synchronizedList(new ArrayList<ITestContext…
35 …private List<ITestResult> m_failedConfs= Collections.synchronizedList(Lists.<ITestResult>newArrayL…
36 …private List<ITestResult> m_skippedConfs= Collections.synchronizedList(Lists.<ITestResult>newArray…
37 …private List<ITestResult> m_passedConfs= Collections.synchronizedList(Lists.<ITestResult>newArrayL…
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
DBundleCoverageImplTest.java21 import java.util.Collections;
36 Collection<IClassCoverage> classes = Collections.emptySet(); in testProperties()
37 Collection<ISourceFileCoverage> sourcefiles = Collections.emptySet(); in testProperties()
38 Collection<IPackageCoverage> packages = Collections in testProperties()
50 Collection<IClassCoverage> classes = Collections.emptySet(); in testCounters()
51 Collection<ISourceFileCoverage> sourcefiles = Collections.emptySet(); in testCounters()
99 assertEquals(Collections.singletonList(ca), p1.getClasses()); in testGroupByPackage()
104 assertEquals(Collections.singletonList(cb), p2.getClasses()); in testGroupByPackage()
105 assertEquals(Collections.singletonList(sb), p2.getSourceFiles()); in testGroupByPackage()
110 assertEquals(Collections.singletonList(sc), p3.getSourceFiles()); in testGroupByPackage()
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/
DPreMain.java16 import java.util.Collections;
95 Collections.emptySet(), // extraReads in redefineJavaBaseModule()
96 Collections.emptyMap(), // extraExports in redefineJavaBaseModule()
97 Collections.singletonMap("java.lang", in redefineJavaBaseModule()
98 Collections.singleton( in redefineJavaBaseModule()
100 Collections.emptySet(), // extraUses in redefineJavaBaseModule()
101 Collections.emptyMap() // extraProvides in redefineJavaBaseModule()
/external/google-smali/dexlib2/src/test/java/com/android/tools/smali/dexlib2/analysis/
DMethodAnalyzerTest.java59 import java.util.Collections;
81Collections.singletonList(new ImmutableMethodParameter("Ljava/lang/Object;", null, null)), "V", in testInstanceOfNarrowingEqz_art()
84 null, null, null, Collections.singletonList(method)); in testInstanceOfNarrowingEqz_art()
85 … DexFile dexFile = new ImmutableDexFile(forArtVersion(56), Collections.singletonList(classDef)); in testInstanceOfNarrowingEqz_art()
112Collections.singletonList(new ImmutableMethodParameter("Ljava/lang/Object;", null, null)), "V", in testInstanceOfNarrowingEqz_dalvik()
115 null, null, null, Collections.singletonList(method)); in testInstanceOfNarrowingEqz_dalvik()
116 … DexFile dexFile = new ImmutableDexFile(Opcodes.forApi(19), Collections.singletonList(classDef)); in testInstanceOfNarrowingEqz_dalvik()
144Collections.singletonList(new ImmutableMethodParameter("Ljava/lang/Object;", null, null)), "V", in testInstanceOfNarrowingNez_art()
147 null, null, null, Collections.singletonList(method)); in testInstanceOfNarrowingNez_art()
148 … DexFile dexFile = new ImmutableDexFile(forArtVersion(56), Collections.singletonList(classDef)); in testInstanceOfNarrowingNez_art()
[all …]
/external/robolectric/resources/src/main/java/org/robolectric/res/android/
DLocaleDataTables.java3 import java.util.Collections;
1464 LIKELY_SCRIPTS = Collections.unmodifiableMap(buildMap);
2204 REPRESENTATIVE_LOCALES = Collections.unmodifiableSet(buildSet);
2222 ARAB_PARENTS = Collections.unmodifiableMap(buildMap);
2236 HANT_PARENTS = Collections.unmodifiableMap(buildMap);
2373 LATN_PARENTS = Collections.unmodifiableMap(buildMap);
2383 SCRIPT_PARENTS = Collections.unmodifiableMap(buildMap);
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DLocaleDataTables.java3 import java.util.Collections;
1464 LIKELY_SCRIPTS = Collections.unmodifiableMap(buildMap);
2204 REPRESENTATIVE_LOCALES = Collections.unmodifiableSet(buildSet);
2222 ARAB_PARENTS = Collections.unmodifiableMap(buildMap);
2236 HANT_PARENTS = Collections.unmodifiableMap(buildMap);
2373 LATN_PARENTS = Collections.unmodifiableMap(buildMap);
2383 SCRIPT_PARENTS = Collections.unmodifiableMap(buildMap);

12345678910>>...133