Searched refs:messageEvent (Results 1 – 14 of 14) sorted by relevance
35 MessageEvent messageEvent = MessageEvent.builder(MessageEvent.Type.SENT, 1L).build(); in buildMessageEvent_WithRequiredFields() local36 assertThat(messageEvent.getType()).isEqualTo(MessageEvent.Type.SENT); in buildMessageEvent_WithRequiredFields()37 assertThat(messageEvent.getMessageId()).isEqualTo(1L); in buildMessageEvent_WithRequiredFields()38 assertThat(messageEvent.getUncompressedMessageSize()).isEqualTo(0L); in buildMessageEvent_WithRequiredFields()43 MessageEvent messageEvent = in buildMessageEvent_WithUncompressedMessageSize() local45 assertThat(messageEvent.getType()).isEqualTo(MessageEvent.Type.SENT); in buildMessageEvent_WithUncompressedMessageSize()46 assertThat(messageEvent.getMessageId()).isEqualTo(1L); in buildMessageEvent_WithUncompressedMessageSize()47 assertThat(messageEvent.getUncompressedMessageSize()).isEqualTo(123L); in buildMessageEvent_WithUncompressedMessageSize()52 MessageEvent messageEvent = in buildMessageEvent_WithCompressedMessageSize() local54 assertThat(messageEvent.getType()).isEqualTo(MessageEvent.Type.SENT); in buildMessageEvent_WithCompressedMessageSize()[all …]
105 MessageEvent messageEvent = in addMessageEventDefaultImplementation() local115 Mockito.doCallRealMethod().when(mockSpan).addMessageEvent(messageEvent); in addMessageEventDefaultImplementation()116 mockSpan.addMessageEvent(messageEvent); in addMessageEventDefaultImplementation()
56 public void addMessageEvent(MessageEvent messageEvent) { in addMessageEvent() argument57 Utils.checkNotNull(messageEvent, "messageEvent"); in addMessageEvent()
45 export function postMessageHandler(messageEvent: MessageEvent) {46 if (messageEvent.origin === 'https://tagassistant.google.com') {57 if (messageEvent.source === null || messageEvent.source !== window.opener) {62 if (!('data' in messageEvent)) {66 if (messageEvent.data === 'PING') {70 const windowSource = messageEvent.source as Window;71 windowSource.postMessage('PONG', messageEvent.origin);77 if (isPostedTraceWrapped(messageEvent.data)) {78 postedTrace = sanitizePostedTrace(messageEvent.data.perfetto);79 } else if (messageEvent.data instanceof ArrayBuffer) {[all …]
69 io.opencensus.trace.MessageEvent messageEvent = (io.opencensus.trace.MessageEvent) event; in asNetworkEvent() local71 (messageEvent.getType() == io.opencensus.trace.MessageEvent.Type.RECEIVED) in asNetworkEvent()74 return io.opencensus.trace.NetworkEvent.builder(type, messageEvent.getMessageId()) in asNetworkEvent()75 .setUncompressedMessageSize(messageEvent.getUncompressedMessageSize()) in asNetworkEvent()76 .setCompressedMessageSize(messageEvent.getCompressedMessageSize()) in asNetworkEvent()
188 public void addMessageEvent(MessageEvent messageEvent) { in addMessageEvent() argument191 Utils.checkNotNull(messageEvent, "messageEvent"); in addMessageEvent()192 addNetworkEvent(BaseMessageEventUtils.asNetworkEvent(messageEvent)); in addMessageEvent()
77 public void addMessageEvent(MessageEvent messageEvent) { in addMessageEvent() argument78 Utils.checkNotNull(messageEvent, "messageEvent"); in addMessageEvent()
216 io.opencensus.trace.MessageEvent messageEvent = timedEvent.getEvent(); in toTimeMessageEventProto() local219 .setId(messageEvent.getMessageId()) in toTimeMessageEventProto()220 .setCompressedSize(messageEvent.getCompressedMessageSize()) in toTimeMessageEventProto()221 .setUncompressedSize(messageEvent.getUncompressedMessageSize()) in toTimeMessageEventProto()222 .setType(toMessageEventTypeProto(messageEvent)) in toTimeMessageEventProto()228 io.opencensus.trace.MessageEvent messageEvent) { in toMessageEventTypeProto() argument229 if (messageEvent.getType() == Type.RECEIVED) { in toMessageEventTypeProto()
63 public void addMessageEvent(io.opencensus.trace.MessageEvent messageEvent) { in addMessageEvent() argument64 Preconditions.checkNotNull(messageEvent, "messageEvent"); in addMessageEvent()
331 public void addMessageEvent(io.opencensus.trace.MessageEvent messageEvent) { in addMessageEvent() argument332 Preconditions.checkNotNull(messageEvent, "messageEvent"); in addMessageEvent()341 clock.nowNanos(), checkNotNull(messageEvent, "networkEvent"))); in addMessageEvent()
246 io.opencensus.trace.MessageEvent messageEvent = timedEvent.getEvent(); in toTimeMessageEventProto() local249 .setId(messageEvent.getMessageId()) in toTimeMessageEventProto()250 .setCompressedSizeBytes(messageEvent.getCompressedMessageSize()) in toTimeMessageEventProto()251 .setUncompressedSizeBytes(messageEvent.getUncompressedMessageSize()) in toTimeMessageEventProto()252 .setType(toMessageEventTypeProto(messageEvent)) in toTimeMessageEventProto()258 io.opencensus.trace.MessageEvent messageEvent) { in toMessageEventTypeProto() argument259 if (messageEvent.getType() == Type.RECEIVED) { in toMessageEventTypeProto()
144 for (TimedEvent<io.opencensus.trace.MessageEvent> messageEvent : in generateSpan()147 toEpochMicros(messageEvent.getTimestamp()), messageEvent.getEvent().getType().name()); in generateSpan()
350 public void addMessageEvent(MessageEvent messageEvent) {}
META-INF/ META-INF/MANIFEST.MF antlr/ antlr/ActionElement.class ActionElement ...