Home
last modified time | relevance | path

Searched refs:eventMessage (Results 1 – 16 of 16) sorted by relevance

/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/metadata/emsg/
DEventMessageEncoder.java42 public byte[] encode(EventMessage eventMessage) { in encode() argument
45 writeNullTerminatedString(dataOutputStream, eventMessage.schemeIdUri); in encode()
46 String nonNullValue = eventMessage.value != null ? eventMessage.value : ""; in encode()
48 writeUnsignedInt(dataOutputStream, eventMessage.durationMs); in encode()
49 writeUnsignedInt(dataOutputStream, eventMessage.id); in encode()
50 dataOutputStream.write(eventMessage.messageData); in encode()
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/metadata/emsg/
DEventMessageDecoderTest.java48 EventMessage eventMessage = (EventMessage) metadata.get(0); in decodeEventMessage() local
49 assertThat(eventMessage.schemeIdUri).isEqualTo("urn:test"); in decodeEventMessage()
50 assertThat(eventMessage.value).isEqualTo("123"); in decodeEventMessage()
51 assertThat(eventMessage.durationMs).isEqualTo(3000); in decodeEventMessage()
52 assertThat(eventMessage.id).isEqualTo(1000403); in decodeEventMessage()
53 assertThat(eventMessage.messageData).isEqualTo(new byte[]{0, 1, 2, 3, 4}); in decodeEventMessage()
DEventMessageTest.java31 EventMessage eventMessage = in eventMessageParcelable() local
35 eventMessage.writeToParcel(parcel, 0); in eventMessageParcelable()
40 assertThat(fromParcelEventMessage).isEqualTo(eventMessage); in eventMessageParcelable()
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/
DPlayerEmsgHandler.java271 private static long getManifestPublishTimeMsInEmsg(EventMessage eventMessage) {
273 return parseXsDateTime(Util.fromUtf8Bytes(eventMessage.messageData));
370 EventMessage eventMessage = (EventMessage) metadata.get(0);
371 if (isPlayerEmsgEvent(eventMessage.schemeIdUri, eventMessage.value)) {
372 parsePlayerEmsgEvent(eventTimeUs, eventMessage);
395 private void parsePlayerEmsgEvent(long eventTimeUs, EventMessage eventMessage) {
396 long manifestPublishTimeMsInEmsg = getManifestPublishTimeMsInEmsg(eventMessage);
/external/antlr/runtime/JavaScript/tests/functional/
Dt014parser.g12 this.eventMessage = function(msg) {
27 {this.eventMessage(['decl', $t.getText()]);}
32 {this.eventMessage(['call', $t.getText()]);}
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DDebugAnnotator9.cpp19 const char *eventMessage) in beginEvent() argument
21 angle::LoggingAnnotator::beginEvent(context, entryPoint, eventName, eventMessage); in beginEvent()
23 std::mbsrtowcs(mWCharMessage, &eventMessage, kMaxMessageLength, &state); in beginEvent()
DDebugAnnotator9.h24 const char *eventMessage) override;
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DDebugAnnotator11.cpp25 const char *eventMessage) in beginEvent() argument
27 angle::LoggingAnnotator::beginEvent(context, entryPoint, eventName, eventMessage); in beginEvent()
31 std::mbsrtowcs(mWCharMessage, &eventMessage, kMaxMessageLength, &state); in beginEvent()
DDebugAnnotator11.h29 const char *eventMessage) override;
/external/angle/src/libANGLE/renderer/vulkan/
DDebugAnnotatorVk.cpp25 const char *eventMessage) in beginEvent() argument
27 angle::LoggingAnnotator::beginEvent(context, entryPoint, eventName, eventMessage); in beginEvent()
31 contextVk->logEvent(eventMessage); in beginEvent()
DDebugAnnotatorVk.h25 const char *eventMessage) override;
/external/exoplayer/tree/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/
DEventSampleStreamTest.java115 EventMessage eventMessage = newEventMessageWithId(1); in readDataReturnDataAfterFormat() local
117 new long[] {presentationTimeUs}, new EventMessage[] {eventMessage}); in readDataReturnDataAfterFormat()
125 .isEqualTo(getEncodedMessage(eventMessage)); in readDataReturnDataAfterFormat()
353 private byte[] getEncodedMessage(EventMessage eventMessage) { in getEncodedMessage() argument
354 return eventMessageEncoder.encode(eventMessage); in getEncodedMessage()
/external/angle/src/libANGLE/
DLoggingAnnotator.h30 const char *eventMessage) override;
DLoggingAnnotator.cpp24 const char *eventMessage) in beginEvent() argument
/external/angle/src/common/
Ddebug.h98 const char *eventMessage) = 0;
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/
DFragmentedMp4Extractor.java635 EventMessage eventMessage = new EventMessage(schemeIdUri, value, durationMs, id, messageData); in onEmsgLeafAtomRead() local
637 new ParsableByteArray(eventMessageEncoder.encode(eventMessage)); in onEmsgLeafAtomRead()