Home
last modified time | relevance | path

Searched refs:RtcEvent (Results 1 – 25 of 78) sorted by relevance

1234

/external/webrtc/logging/rtc_event_log/encoder/
Drtc_event_log_encoder_v3.cc57 std::vector<const RtcEvent*> batch; in EncodeLogStart()
68 std::vector<const RtcEvent*> batch; in EncodeLogEnd()
77 encoders_[RtcEvent::Type::AlrStateEvent] = RtcEventAlrState::Encode; in RtcEventLogEncoderV3()
78 encoders_[RtcEvent::Type::AudioNetworkAdaptation] = in RtcEventLogEncoderV3()
80 encoders_[RtcEvent::Type::AudioPlayout] = RtcEventAudioPlayout::Encode; in RtcEventLogEncoderV3()
81 encoders_[RtcEvent::Type::AudioReceiveStreamConfig] = in RtcEventLogEncoderV3()
83 encoders_[RtcEvent::Type::AudioSendStreamConfig] = in RtcEventLogEncoderV3()
85 encoders_[RtcEvent::Type::BweUpdateDelayBased] = in RtcEventLogEncoderV3()
87 encoders_[RtcEvent::Type::BweUpdateLossBased] = in RtcEventLogEncoderV3()
89 encoders_[RtcEvent::Type::DtlsTransportState] = in RtcEventLogEncoderV3()
[all …]
Drtc_event_log_encoder_legacy.cc249 std::deque<std::unique_ptr<RtcEvent>>::const_iterator begin, in EncodeBatch()
250 std::deque<std::unique_ptr<RtcEvent>>::const_iterator end) { in EncodeBatch()
261 std::string RtcEventLogEncoderLegacy::Encode(const RtcEvent& event) { in Encode()
263 case RtcEvent::Type::AudioNetworkAdaptation: { in Encode()
269 case RtcEvent::Type::AlrStateEvent: { in Encode()
274 case RtcEvent::Type::AudioPlayout: { in Encode()
279 case RtcEvent::Type::AudioReceiveStreamConfig: { in Encode()
285 case RtcEvent::Type::AudioSendStreamConfig: { in Encode()
291 case RtcEvent::Type::BweUpdateDelayBased: { in Encode()
296 case RtcEvent::Type::BweUpdateLossBased: { in Encode()
[all …]
Drtc_event_log_encoder_v3.h31 std::deque<std::unique_ptr<RtcEvent>>::const_iterator begin,
32 std::deque<std::unique_ptr<RtcEvent>>::const_iterator end) override;
39 std::map<RtcEvent::Type,
40 std::function<std::string(rtc::ArrayView<const RtcEvent*>)>>
Drtc_event_log_encoder_new_format.cc673 std::deque<std::unique_ptr<RtcEvent>>::const_iterator begin, in EncodeBatch()
674 std::deque<std::unique_ptr<RtcEvent>>::const_iterator end) { in EncodeBatch()
715 case RtcEvent::Type::AlrStateEvent: { in EncodeBatch()
721 case RtcEvent::Type::AudioNetworkAdaptation: { in EncodeBatch()
728 case RtcEvent::Type::AudioPlayout: { in EncodeBatch()
734 case RtcEvent::Type::AudioReceiveStreamConfig: { in EncodeBatch()
741 case RtcEvent::Type::AudioSendStreamConfig: { in EncodeBatch()
748 case RtcEvent::Type::BweUpdateDelayBased: { in EncodeBatch()
754 case RtcEvent::Type::BweUpdateLossBased: { in EncodeBatch()
760 case RtcEvent::Type::DtlsTransportState: { in EncodeBatch()
[all …]
Drtc_event_log_encoder.h30 std::deque<std::unique_ptr<RtcEvent>>::const_iterator begin,
31 std::deque<std::unique_ptr<RtcEvent>>::const_iterator end) = 0;
Drtc_event_log_encoder_legacy.h60 std::deque<std::unique_ptr<RtcEvent>>::const_iterator begin,
61 std::deque<std::unique_ptr<RtcEvent>>::const_iterator end) override;
64 std::string Encode(const RtcEvent& event);
/external/webrtc/logging/rtc_event_log/events/
Drtc_event_field_encoding.h44 const RtcEvent::Type id;
71 EventEncoder(EventParameters params, rtc::ArrayView<const RtcEvent*> batch);
108 rtc::ArrayView<const RtcEvent*> batch, in ExtractRtcEventMember()
112 for (const RtcEvent* event : batch) { in ExtractRtcEventMember()
129 ValuesWithPositions ExtractRtcEventMember(rtc::ArrayView<const RtcEvent*> batch, in ExtractRtcEventMember()
134 for (const RtcEvent* event : batch) { in ExtractRtcEventMember()
151 rtc::ArrayView<const RtcEvent*> batch, in ExtractRtcEventMember()
155 for (const RtcEvent* event : batch) { in ExtractRtcEventMember()
166 rtc::ArrayView<const RtcEvent*> batch, in ExtractRtcEventMember()
170 for (const RtcEvent* event : batch) { in ExtractRtcEventMember()
Drtc_event_end_log.cc16 constexpr RtcEvent::Type RtcEventEndLog::kType;
20 : RtcEvent(timestamp.us()) {} in RtcEventEndLog()
23 : RtcEvent(other.timestamp_us_) {} in RtcEventEndLog()
27 std::string RtcEventEndLog::Encode(rtc::ArrayView<const RtcEvent*> batch) { in Encode()
Drtc_event_begin_log.cc16 constexpr RtcEvent::Type RtcEventBeginLog::kType;
22 : RtcEvent(timestamp.us()), utc_start_time_ms_(utc_start_time.ms()) {} in RtcEventBeginLog()
25 : RtcEvent(other.timestamp_us_) {} in RtcEventBeginLog()
29 std::string RtcEventBeginLog::Encode(rtc::ArrayView<const RtcEvent*> batch) { in Encode()
Drtc_event_alr_state.cc16 constexpr RtcEvent::Type RtcEventAlrState::kType;
23 : RtcEvent(other.timestamp_us_), in_alr_(other.in_alr_) {} in RtcEventAlrState()
Drtc_event_rtcp_packet_outgoing.h29 class RtcEventRtcpPacketOutgoing final : public RtcEvent {
43 static std::string Encode(rtc::ArrayView<const RtcEvent*> batch) { in Encode()
Drtc_event_rtcp_packet_incoming.h29 class RtcEventRtcpPacketIncoming final : public RtcEvent {
43 static std::string Encode(rtc::ArrayView<const RtcEvent*> batch) { in Encode()
Drtc_event_dtls_transport_state.h35 class RtcEventDtlsTransportState : public RtcEvent {
51 static std::string Encode(rtc::ArrayView<const RtcEvent*> batch) { in Encode()
Drtc_event_end_log.h40 class RtcEventEndLog final : public RtcEvent {
50 static std::string Encode(rtc::ArrayView<const RtcEvent*> batch);
Drtc_event_definition.h40 void EncodeImpl(EventEncoder&, rtc::ArrayView<const RtcEvent*>) const {} in EncodeImpl() argument
57 rtc::ArrayView<const RtcEvent*> batch) const { in EncodeImpl()
113 std::string EncodeBatch(rtc::ArrayView<const RtcEvent*> batch) const { in EncodeBatch()
Drtc_event_dtls_writable_state.h37 class RtcEventDtlsWritableState : public RtcEvent {
51 static std::string Encode(rtc::ArrayView<const RtcEvent*> batch) { in Encode()
Drtc_event_remote_estimate.h38 class RtcEventRemoteEstimate final : public RtcEvent {
50 static std::string Encode(rtc::ArrayView<const RtcEvent*> batch) { in Encode()
Drtc_event_audio_network_adaptation.h42 class RtcEventAudioNetworkAdaptation final : public RtcEvent {
57 static std::string Encode(rtc::ArrayView<const RtcEvent*> batch) { in Encode()
/external/webrtc/api/rtc_event_log/
Drtc_event.h24 class RtcEvent {
61 RtcEvent();
62 virtual ~RtcEvent() = default;
79 explicit RtcEvent(int64_t timestamp_us) : timestamp_us_(timestamp_us) {} in RtcEvent() function
Drtc_event.cc17 RtcEvent::RtcEvent() : timestamp_us_(rtc::TimeMillis() * 1000) {} in RtcEvent() function in webrtc::RtcEvent
Drtc_event_log.h55 virtual void Log(std::unique_ptr<RtcEvent> event) = 0;
64 void Log(std::unique_ptr<RtcEvent> event) override {} in Log()
/external/webrtc/logging/rtc_event_log/
Drtc_event_log_impl.h50 void Log(std::unique_ptr<RtcEvent> event) override;
53 void LogToMemory(std::unique_ptr<RtcEvent> event) RTC_RUN_ON(task_queue_);
68 std::deque<std::unique_ptr<RtcEvent>> config_history_
72 std::deque<std::unique_ptr<RtcEvent>> history_ RTC_GUARDED_BY(*task_queue_);
Dfake_rtc_event_log.h32 void Log(std::unique_ptr<RtcEvent> event) override;
33 int GetEventCount(RtcEvent::Type event_type);
37 std::map<RtcEvent::Type, int> count_ RTC_GUARDED_BY(mu_);
Dfake_rtc_event_log.cc28 void FakeRtcEventLog::Log(std::unique_ptr<RtcEvent> event) { in Log()
33 int FakeRtcEventLog::GetEventCount(RtcEvent::Type event_type) { in GetEventCount()
/external/webrtc/logging/rtc_event_log/mock/
Dmock_rtc_event_log.h34 void Log(std::unique_ptr<RtcEvent> event) override { in Log()
37 MOCK_METHOD(void, LogProxy, (RtcEvent*));

1234