Home
last modified time | relevance | path

Searched refs:getEvents (Results 1 – 21 of 21) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/analytics/
DAnalyticsCollectorTest.java134 assertThat(listener.getEvents(EVENT_PLAYER_STATE_CHANGED)) in emptyTimeline()
137 assertThat(listener.getEvents(EVENT_TIMELINE_CHANGED)) in emptyTimeline()
152 assertThat(listener.getEvents(EVENT_PLAYER_STATE_CHANGED)) in singlePeriod()
158 assertThat(listener.getEvents(EVENT_TIMELINE_CHANGED)) in singlePeriod()
160 assertThat(listener.getEvents(EVENT_LOADING_CHANGED)) in singlePeriod()
162 assertThat(listener.getEvents(EVENT_TRACKS_CHANGED)).containsExactly(period0); in singlePeriod()
163 assertThat(listener.getEvents(EVENT_LOAD_STARTED)) in singlePeriod()
165 assertThat(listener.getEvents(EVENT_LOAD_COMPLETED)) in singlePeriod()
167 assertThat(listener.getEvents(EVENT_DOWNSTREAM_FORMAT_CHANGED)) in singlePeriod()
169 assertThat(listener.getEvents(EVENT_MEDIA_PERIOD_CREATED)).containsExactly(period0); in singlePeriod()
[all …]
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/
DRecordEventsSpanImplTest.java112 assertThat(spanData.getAnnotations().getEvents()).isEmpty(); in noEventsRecordedAfterEnd()
113 assertThat(spanData.getNetworkEvents().getEvents()).isEmpty(); in noEventsRecordedAfterEnd()
175 assertThat(spanData.getAnnotations().getEvents().size()).isEqualTo(2); in toSpanData_ActiveSpan()
176 assertThat(spanData.getAnnotations().getEvents().get(0).getTimestamp()) in toSpanData_ActiveSpan()
178 assertThat(spanData.getAnnotations().getEvents().get(0).getEvent()) in toSpanData_ActiveSpan()
180 assertThat(spanData.getAnnotations().getEvents().get(1).getTimestamp()) in toSpanData_ActiveSpan()
182 assertThat(spanData.getAnnotations().getEvents().get(1).getEvent()) in toSpanData_ActiveSpan()
185 assertThat(spanData.getNetworkEvents().getEvents().size()).isEqualTo(1); in toSpanData_ActiveSpan()
186 assertThat(spanData.getNetworkEvents().getEvents().get(0).getTimestamp()) in toSpanData_ActiveSpan()
188 assertThat(spanData.getNetworkEvents().getEvents().get(0).getEvent()).isEqualTo(networkEvent); in toSpanData_ActiveSpan()
[all …]
/external/guava/guava-tests/test/com/google/common/eventbus/
DEventBusTest.java50 List<String> events = catcher.getEvents(); in testBasicCatcherDistribution()
100 List<String> stringEvents = stringCatcher.getEvents(); in testPolymorphicDistribution()
174 List<DeadEvent> events = catcher.getEvents(); in testDeadEventForwarding()
185 List<DeadEvent> events = catcher.getEvents(); in testDeadEventPosting()
213 assertEquals("Two correct events should be delivered.", expectedEvents, catcher1.getEvents()); in testUnregister()
216 "One correct event should be delivered.", Lists.newArrayList(EVENT), catcher2.getEvents()); in testUnregister()
222 "Shouldn't catch any more events when unregistered.", expectedEvents, catcher1.getEvents()); in testUnregister()
223 assertEquals("Two correct events should be delivered.", expectedEvents, catcher2.getEvents()); in testUnregister()
235 "Shouldn't catch any more events when unregistered.", expectedEvents, catcher1.getEvents()); in testUnregister()
237 "Shouldn't catch any more events when unregistered.", expectedEvents, catcher2.getEvents()); in testUnregister()
[all …]
DStringCatcher.java44 public List<String> getEvents() { in getEvents() method in StringCatcher
DAsyncEventBusTest.java51 List<String> events = catcher.getEvents(); in testBasicDistribution()
/external/guava/android/guava-tests/test/com/google/common/eventbus/
DEventBusTest.java50 List<String> events = catcher.getEvents(); in testBasicCatcherDistribution()
100 List<String> stringEvents = stringCatcher.getEvents(); in testPolymorphicDistribution()
174 List<DeadEvent> events = catcher.getEvents(); in testDeadEventForwarding()
185 List<DeadEvent> events = catcher.getEvents(); in testDeadEventPosting()
213 assertEquals("Two correct events should be delivered.", expectedEvents, catcher1.getEvents()); in testUnregister()
216 "One correct event should be delivered.", Lists.newArrayList(EVENT), catcher2.getEvents()); in testUnregister()
222 "Shouldn't catch any more events when unregistered.", expectedEvents, catcher1.getEvents()); in testUnregister()
223 assertEquals("Two correct events should be delivered.", expectedEvents, catcher2.getEvents()); in testUnregister()
235 "Shouldn't catch any more events when unregistered.", expectedEvents, catcher1.getEvents()); in testUnregister()
237 "Shouldn't catch any more events when unregistered.", expectedEvents, catcher2.getEvents()); in testUnregister()
[all …]
DStringCatcher.java44 public List<String> getEvents() { in getEvents() method in StringCatcher
DAsyncEventBusTest.java51 List<String> events = catcher.getEvents(); in testBasicDistribution()
/external/opencensus-java/contrib/spring/src/test/java/io/opencensus/contrib/spring/aop/
DCensusSpringAspectTest.java128 List<SpanData.TimedEvent<Annotation>> events = annotations.getEvents(); in handlesException()
146 List<SpanData.TimedEvent<Annotation>> events = data.get(0).getAnnotations().getEvents(); in sqlExecute()
165 List<SpanData.TimedEvent<Annotation>> events = annotations.getEvents(); in sqlQuery()
183 List<SpanData.TimedEvent<Annotation>> events = data.get(0).getAnnotations().getEvents(); in sqlUpdate()
/external/opencensus-java/api/src/main/java/io/opencensus/trace/export/
DSpanData.java131 messageOrNetworkEvents.getEvents()) { in create()
245 for (TimedEvent<MessageEvent> timedEvent : timedEvents.getEvents()) { in getNetworkEvents()
378 public abstract List<TimedEvent<T>> getEvents(); in getEvents() method in SpanData.TimedEvents
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/channelz/v1/
DChannelTraceOrBuilder.java62 io.grpc.channelz.v1.ChannelTraceEvent getEvents(int index); in getEvents() method
DChannelTrace.java201 public io.grpc.channelz.v1.ChannelTraceEvent getEvents(int index) { in getEvents() method in ChannelTrace
837 public io.grpc.channelz.v1.ChannelTraceEvent getEvents(int index) { in getEvents() method in ChannelTrace.Builder
/external/opencensus-java/exporters/trace/zipkin/src/main/java/io/opencensus/exporter/trace/zipkin/
DZipkinExporterHandler.java139 for (TimedEvent<Annotation> annotation : spanData.getAnnotations().getEvents()) { in generateSpan()
145 spanData.getMessageEvents().getEvents()) { in generateSpan()
/external/opencensus-java/api/src/test/java/io/opencensus/trace/export/
DSpanDataTest.java229 assertThat(spanData.getAnnotations().getEvents().isEmpty()).isTrue(); in spanData_AllDataEmpty()
230 assertThat(spanData.getNetworkEvents().getEvents().isEmpty()).isTrue(); in spanData_AllDataEmpty()
231 assertThat(spanData.getMessageEvents().getEvents().isEmpty()).isTrue(); in spanData_AllDataEmpty()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/
DYaml.java345 return emitter.getEvents(); in serialize()
351 public List<Event> getEvents() { in getEvents() method in Yaml.SilentEmitter
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DLocalUiController.java80 KeyEvent[] events = keyCharacterMap.getEvents(str.toCharArray()); in injectString()
/external/opencensus-java/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/
DTraceProtoUtils.java189 for (TimedEvent<Annotation> annotation : annotationTimedEvents.getEvents()) { in toTimeEventsProto()
194 messageEventTimedEvents.getEvents()) { in toTimeEventsProto()
/external/opencensus-java/exporters/trace/stackdriver/src/main/java/io/opencensus/exporter/trace/stackdriver/
DStackdriverV2ExporterHandler.java219 for (TimedEvent<Annotation> annotation : annotationTimedEvents.getEvents()) { in toTimeEventsProto()
224 messageEventTimedEvents.getEvents()) { in toTimeEventsProto()
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DTracezZPageHandler.java347 List<TimedEvent<?>> timedEvents = new ArrayList<TimedEvent<?>>(annotations.getEvents()); in emitSingleSpan()
348 timedEvents.addAll(networkEvents.getEvents()); in emitSingleSpan()
/external/opencensus-java/exporters/trace/jaeger/src/main/java/io/opencensus/exporter/trace/jaeger/
DJaegerExporterHandler.java206 .setLogs(annotationEventsToLogs(spanData.getAnnotations().getEvents())); in spanDataToJaegerThriftSpan()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowKeyCharacterMap.java161 protected KeyEvent[] getEvents(char[] chars) { in getEvents() method in ShadowKeyCharacterMap