Home
last modified time | relevance | path

Searched refs:emptyList (Results 1 – 25 of 655) sorted by relevance

12345678910>>...27

/external/opencensus-java/api/src/test/java/io/opencensus/trace/samplers/
DSamplersTest.java64 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()
170 neverSample, sampledSpanContext, Collections.<Span>emptyList(), 1.0); in probabilitySampler_DifferentProbabilities_SampledParent()
[all …]
/external/testng/src/test/java/org/testng/internal/
DUtilsTest.java8 import static java.util.Collections.emptyList;
31 List<String> emptyList = emptyList(); in createEmptyStringWhenJoiningEmptyListWithJoin() local
32 assertEquals("", join(emptyList, ",")); in createEmptyStringWhenJoiningEmptyListWithJoin()
43 List<String> emptyList = emptyList(); in createEmptyStringWhenJoiningEmptyListWithJoinStrings() local
44 assertEquals("", Utils.join(emptyList, ",")); in createEmptyStringWhenJoiningEmptyListWithJoinStrings()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/
DHlsMasterPlaylist.java36 /* tags= */ Collections.emptyList(),
37 /* variants= */ Collections.emptyList(),
38 /* videos= */ Collections.emptyList(),
39 /* audios= */ Collections.emptyList(),
40 /* subtitles= */ Collections.emptyList(),
41 /* closedCaptions= */ Collections.emptyList(),
43 /* muxedCaptionFormats= */ Collections.emptyList(),
46 /* sessionKeyDrmInitData= */ Collections.emptyList());
230 /* videos= */ Collections.emptyList(), in copy()
234 /* closedCaptions= */ Collections.emptyList(), in copy()
[all …]
/external/protobuf/java/lite/src/test/java/com/google/protobuf/
DLiteTest.java33 import static java.util.Collections.emptyList;
515 assertEquals(emptyList(), message.getRepeatedBoolList()); in testSanityCopyOnWrite()
517 assertEquals(emptyList(), message.getRepeatedBoolList()); in testSanityCopyOnWrite()
520 assertEquals(emptyList(), builder.getRepeatedBoolList()); in testSanityCopyOnWrite()
525 assertEquals(emptyList(), message.getRepeatedBytesList()); in testSanityCopyOnWrite()
527 assertEquals(emptyList(), message.getRepeatedBytesList()); in testSanityCopyOnWrite()
530 assertEquals(emptyList(), builder.getRepeatedBytesList()); in testSanityCopyOnWrite()
536 assertEquals(emptyList(), message.getRepeatedCordList()); in testSanityCopyOnWrite()
538 assertEquals(emptyList(), message.getRepeatedCordList()); in testSanityCopyOnWrite()
541 assertEquals(emptyList(), builder.getRepeatedCordList()); in testSanityCopyOnWrite()
[all …]
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DProtobufLists.java46 return ProtobufArrayList.emptyList(); in emptyProtobufList()
56 return BooleanArrayList.emptyList(); in emptyBooleanList()
64 return IntArrayList.emptyList(); in emptyIntList()
72 return LongArrayList.emptyList(); in emptyLongList()
80 return FloatArrayList.emptyList(); in emptyFloatList()
88 return DoubleArrayList.emptyList(); in emptyDoubleList()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DLongArrayListTest.java59 assertSame(LongArrayList.emptyList(), LongArrayList.emptyList()); in testEmptyListReturnsSameInstance()
63 assertImmutable(LongArrayList.emptyList()); in testEmptyListIsImmutable()
143 assertEquals(0, LongArrayList.emptyList().size()); in testSize()
265 assertFalse(list.addAll(Collections.<Long>emptyList())); in testAddAll()
266 assertFalse(list.addAll(LongArrayList.emptyList())); in testAddAll()
305 LongList toRemove = LongArrayList.emptyList().mutableCopyWithCapacity(1); in testRemoveEnd_listAtCapacity()
312 LongList toRemove = LongArrayList.emptyList().mutableCopyWithCapacity(2); in testRemove_listAtCapacity()
321 LongList toRemove = LongArrayList.emptyList().mutableCopyWithCapacity(1); in testSublistRemoveEndOfCapacity()
347 list.addAll(Collections.<Long>emptyList()); in assertImmutable()
389 list.addAll(0, Collections.<Long>emptyList()); in assertImmutable()
[all …]
DDoubleArrayListTest.java59 assertSame(DoubleArrayList.emptyList(), DoubleArrayList.emptyList()); in testEmptyListReturnsSameInstance()
63 assertImmutable(DoubleArrayList.emptyList()); in testEmptyListIsImmutable()
143 assertEquals(0, DoubleArrayList.emptyList().size()); in testSize()
265 assertFalse(list.addAll(Collections.<Double>emptyList())); in testAddAll()
266 assertFalse(list.addAll(DoubleArrayList.emptyList())); in testAddAll()
307 DoubleList toRemove = DoubleArrayList.emptyList().mutableCopyWithCapacity(1); in testRemoveEnd_listAtCapacity()
314 DoubleList toRemove = DoubleArrayList.emptyList().mutableCopyWithCapacity(2); in testRemove_listAtCapacity()
323 DoubleList toRemove = DoubleArrayList.emptyList().mutableCopyWithCapacity(1); in testSublistRemoveEndOfCapacity()
349 list.addAll(Collections.<Double>emptyList()); in assertImmutable()
391 list.addAll(0, Collections.<Double>emptyList()); in assertImmutable()
[all …]
DFloatArrayListTest.java59 assertSame(FloatArrayList.emptyList(), FloatArrayList.emptyList()); in testEmptyListReturnsSameInstance()
63 assertImmutable(FloatArrayList.emptyList()); in testEmptyListIsImmutable()
143 assertEquals(0, FloatArrayList.emptyList().size()); in testSize()
265 assertFalse(list.addAll(Collections.<Float>emptyList())); in testAddAll()
266 assertFalse(list.addAll(FloatArrayList.emptyList())); in testAddAll()
307 FloatList toRemove = FloatArrayList.emptyList().mutableCopyWithCapacity(1); in testRemoveEnd_listAtCapacity()
314 FloatList toRemove = FloatArrayList.emptyList().mutableCopyWithCapacity(2); in testRemove_listAtCapacity()
323 FloatList toRemove = FloatArrayList.emptyList().mutableCopyWithCapacity(1); in testSublistRemoveEndOfCapacity()
349 list.addAll(Collections.<Float>emptyList()); in assertImmutable()
391 list.addAll(0, Collections.<Float>emptyList()); in assertImmutable()
[all …]
DBooleanArrayListTest.java60 assertSame(BooleanArrayList.emptyList(), BooleanArrayList.emptyList()); in testEmptyListReturnsSameInstance()
64 assertImmutable(BooleanArrayList.emptyList()); in testEmptyListIsImmutable()
144 assertEquals(0, BooleanArrayList.emptyList().size()); in testSize()
267 assertFalse(list.addAll(Collections.<Boolean>emptyList())); in testAddAll()
268 assertFalse(list.addAll(BooleanArrayList.emptyList())); in testAddAll()
307 BooleanList toRemove = BooleanArrayList.emptyList().mutableCopyWithCapacity(1); in testRemoveEnd_listAtCapacity()
314 BooleanList toRemove = BooleanArrayList.emptyList().mutableCopyWithCapacity(2); in testRemove_listAtCapacity()
323 BooleanList toRemove = BooleanArrayList.emptyList().mutableCopyWithCapacity(1); in testSublistRemoveEndOfCapacity()
346 list.addAll(Collections.<Boolean>emptyList()); in assertImmutable()
388 list.addAll(0, Collections.<Boolean>emptyList()); in assertImmutable()
[all …]
DIntArrayListTest.java59 assertSame(IntArrayList.emptyList(), IntArrayList.emptyList()); in testEmptyListReturnsSameInstance()
63 assertImmutable(IntArrayList.emptyList()); in testEmptyListIsImmutable()
143 assertEquals(0, IntArrayList.emptyList().size()); in testSize()
265 assertFalse(list.addAll(Collections.<Integer>emptyList())); in testAddAll()
266 assertFalse(list.addAll(IntArrayList.emptyList())); in testAddAll()
305 IntList toRemove = IntArrayList.emptyList().mutableCopyWithCapacity(1); in testRemoveEnd_listAtCapacity()
312 IntList toRemove = IntArrayList.emptyList().mutableCopyWithCapacity(2); in testRemove_listAtCapacity()
321 IntList toRemove = IntArrayList.emptyList().mutableCopyWithCapacity(1); in testSublistRemoveEndOfCapacity()
347 list.addAll(Collections.<Integer>emptyList()); in assertImmutable()
389 list.addAll(0, Collections.<Integer>emptyList()); in assertImmutable()
[all …]
DProtobufArrayListTest.java56 assertSame(ProtobufArrayList.emptyList(), ProtobufArrayList.emptyList()); in testEmptyListReturnsSameInstance()
60 assertImmutable(ProtobufArrayList.<Integer>emptyList()); in testEmptyListIsImmutable()
223 assertFalse(list.addAll(Collections.<Integer>emptyList())); in testAddAll()
224 assertFalse(list.addAll(IntArrayList.emptyList())); in testAddAll()
228 assertEquals(0, ProtobufArrayList.emptyList().size()); in testSize()
265 list.addAll(Collections.<Integer>emptyList()); in assertImmutable()
307 list.addAll(0, Collections.<Integer>emptyList()); in assertImmutable()
335 list.removeAll(Collections.emptyList()); in assertImmutable()
356 list.retainAll(Collections.emptyList()); in assertImmutable()
/external/dokka/runners/maven-plugin/src/main/kotlin/
DDokkaMojo.kt41 override var platforms: List<String> = emptyList()
58 var sourceDirectories: List<String> = emptyList()
61 var sourceRoots: List<SourceRoot> = emptyList()
64 var samplesDirs: List<String> = emptyList()
68 var includeDirs: List<String> = emptyList()
71 var includes: List<String> = emptyList()
74 var classpath: List<String> = emptyList()
96 var impliedPlatforms: List<String> = emptyList()
99 var perPackageOptions: List<PackageOptions> = emptyList()
102 var externalDocumentationLinks: List<ExternalDocumentationLinkBuilder> = emptyList()
/external/guava/guava-testlib/test/com/google/common/collect/testing/
DIteratorTesterTest.java21 import static java.util.Collections.emptyList;
220 List<Integer> emptyList = newArrayList(); in testMissingException() local
224 1, MODIFIABLE, emptyList, IteratorTester.KnownOrder.KNOWN_ORDER) { in testMissingException()
262 List<Integer> emptyList = emptyList(); in testSimilarException() local
265 1, MODIFIABLE, emptyList, IteratorTester.KnownOrder.KNOWN_ORDER) { in testSimilarException()
294 List<Integer> emptyList = emptyList(); in testMismatchedException() local
297 1, MODIFIABLE, emptyList, IteratorTester.KnownOrder.KNOWN_ORDER) { in testMismatchedException()
/external/guava/android/guava-testlib/test/com/google/common/collect/testing/
DIteratorTesterTest.java21 import static java.util.Collections.emptyList;
220 List<Integer> emptyList = newArrayList(); in testMissingException() local
224 1, MODIFIABLE, emptyList, IteratorTester.KnownOrder.KNOWN_ORDER) { in testMissingException()
262 List<Integer> emptyList = emptyList(); in testSimilarException() local
265 1, MODIFIABLE, emptyList, IteratorTester.KnownOrder.KNOWN_ORDER) { in testSimilarException()
294 List<Integer> emptyList = emptyList(); in testMismatchedException() local
297 1, MODIFIABLE, emptyList, IteratorTester.KnownOrder.KNOWN_ORDER) { in testMismatchedException()
/external/conscrypt/common/src/main/java/org/conscrypt/ct/
DCTVerifier.java169 return Collections.emptyList(); in getSCTsFromSCTList()
177 return Collections.emptyList(); in getSCTsFromSCTList()
216 return Collections.emptyList(); in getSCTsFromOCSPResponse()
223 return Collections.emptyList(); in getSCTsFromOCSPResponse()
232 return Collections.emptyList(); in getSCTsFromOCSPResponse()
245 return Collections.emptyList(); in getSCTsFromX509Extension()
254 return Collections.emptyList(); in getSCTsFromX509Extension()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ct/
DCTVerifier.java173 return Collections.emptyList(); in getSCTsFromSCTList()
181 return Collections.emptyList(); in getSCTsFromSCTList()
220 return Collections.emptyList(); in getSCTsFromOCSPResponse()
227 return Collections.emptyList(); in getSCTsFromOCSPResponse()
236 return Collections.emptyList(); in getSCTsFromOCSPResponse()
249 return Collections.emptyList(); in getSCTsFromX509Extension()
258 return Collections.emptyList(); in getSCTsFromX509Extension()
/external/exoplayer/tree/library/hls/src/test/java/com/google/android/exoplayer2/source/hls/playlist/
DHlsMediaPlaylistParserTest.java487 /* tags= */ Collections.emptyList(), in masterPlaylistAttributeInheritance()
488 /* variants= */ Collections.emptyList(), in masterPlaylistAttributeInheritance()
489 /* videos= */ Collections.emptyList(), in masterPlaylistAttributeInheritance()
490 /* audios= */ Collections.emptyList(), in masterPlaylistAttributeInheritance()
491 /* subtitles= */ Collections.emptyList(), in masterPlaylistAttributeInheritance()
492 /* closedCaptions= */ Collections.emptyList(), in masterPlaylistAttributeInheritance()
497 /* sessionKeyDrmInitData= */ Collections.emptyList()); in masterPlaylistAttributeInheritance()
549 /* tags= */ Collections.emptyList(), in inheritedVariableSubstitution()
550 /* variants= */ Collections.emptyList(), in inheritedVariableSubstitution()
551 /* videos= */ Collections.emptyList(), in inheritedVariableSubstitution()
[all …]
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DServer.java61 return Collections.emptyList(); in getServices()
72 return Collections.emptyList(); in getImmutableServices()
84 return Collections.emptyList(); in getMutableServices()
/external/opencensus-java/contrib/dropwizard/src/main/java/io/opencensus/contrib/dropwizard/
DDropWizardMetrics.java106 metricName, metricDescription, DEFAULT_UNIT, type, Collections.<LabelKey>emptyList()); in collectGauge()
109 Collections.<LabelValue>emptyList(), Point.create(value, clock.now()), null); in collectGauge()
131 Collections.<LabelKey>emptyList()); in collectCounter()
134 Collections.<LabelValue>emptyList(), in collectCounter()
157 Collections.<LabelKey>emptyList()); in collectMeter()
160 Collections.<LabelValue>emptyList(), in collectMeter()
229 Collections.<LabelKey>emptyList()); in collectSnapshotAndCount()
232 Collections.<LabelValue>emptyList(), point, cumulativeStartTimestamp); in collectSnapshotAndCount()
/external/opencensus-java/contrib/dropwizard/src/test/java/io/opencensus/contrib/dropwizard/
DDropWizardMetricsTest.java135 Collections.<LabelKey>emptyList())); in collect()
151 Collections.<LabelKey>emptyList())); in collect()
167 Collections.<LabelKey>emptyList())); in collect()
183 Collections.<LabelKey>emptyList())); in collect()
199 Collections.<LabelKey>emptyList())); in collect()
215 Collections.<LabelKey>emptyList())); in collect()
231 Collections.<LabelKey>emptyList())); in collect()
246 Collections.<LabelKey>emptyList())); in collect()
275 Collections.<LabelKey>emptyList())); in collect()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DReadOnlyListDeser2283Test.java16 return Collections.emptyList(); in getList()
23 return Collections.emptyList(); in getList()
31 return Collections.emptyList(); in getList()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarators_NoSymbolDeclarator.txt1 Line 37) Collections.emptyList() ==> java.util.Collections.emptyList()
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_DefaultConstructorDeclaration.txt2 Line 62) Collections.emptyList() ==> java.util.Collections.emptyList()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/offline/
DDownloadRequestTest.java54 /* streamKeys= */ Collections.emptyList(), in mergeRequests_withDifferentIds_fails()
62 /* streamKeys= */ Collections.emptyList(), in mergeRequests_withDifferentIds_fails()
80 /* streamKeys= */ Collections.emptyList(), in mergeRequests_withDifferentTypes_fails()
88 /* streamKeys= */ Collections.emptyList(), in mergeRequests_withDifferentTypes_fails()
145 /* streamKeys= */ Collections.emptyList(), in mergeRequests_withDifferentFields()
153 /* streamKeys= */ Collections.emptyList(), in mergeRequests_withDifferentFields()
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/export/
DTimeSeriesTest.java66 TimeSeries.create(null, Collections.<Point>emptyList(), TIMESTAMP_1); in create_WithNullLabelValueList()
74 TimeSeries.create(labelValues, Collections.<Point>emptyList(), TIMESTAMP_1); in create_WithNullLabelValue()
81 TimeSeries.create(Collections.<LabelValue>emptyList(), null, TIMESTAMP_1); in create_WithNullPointList()
89 TimeSeries.create(Collections.<LabelValue>emptyList(), points, TIMESTAMP_1); in create_WithNullPoint()
123 TimeSeries.createWithOnePoint(Collections.<LabelValue>emptyList(), null, TIMESTAMP_1); in createWithOnePoint_WithNullPointList()

12345678910>>...27