Home
last modified time | relevance | path

Searched refs:event_subscriber_ (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/media/cast/logging/
Dsimple_event_subscriber_unittest.cc28 cast_environment_->Logging()->AddRawEventSubscriber(&event_subscriber_); in SimpleEventSubscriberTest()
32 cast_environment_->Logging()->RemoveRawEventSubscriber(&event_subscriber_); in ~SimpleEventSubscriberTest()
38 SimpleEventSubscriber event_subscriber_; member in media::cast::SimpleEventSubscriberTest
71 event_subscriber_.GetFrameEventsAndReset(&frame_events); in TEST_F()
75 event_subscriber_.GetPacketEventsAndReset(&packet_events); in TEST_F()
80 event_subscriber_.GetFrameEventsAndReset(&frame_events); in TEST_F()
81 event_subscriber_.GetPacketEventsAndReset(&packet_events); in TEST_F()
Dlogging_raw_unittest.cc16 raw_.AddSubscriber(&event_subscriber_); in LoggingRawTest()
19 virtual ~LoggingRawTest() { raw_.RemoveSubscriber(&event_subscriber_); } in ~LoggingRawTest()
22 SimpleEventSubscriber event_subscriber_; member in media::cast::LoggingRawTest
36 event_subscriber_.GetPacketEventsAndReset(&packet_events_); in TEST_F()
39 event_subscriber_.GetFrameEventsAndReset(&frame_events_); in TEST_F()
62 event_subscriber_.GetPacketEventsAndReset(&packet_events_); in TEST_F()
65 event_subscriber_.GetFrameEventsAndReset(&frame_events_); in TEST_F()
88 event_subscriber_.GetPacketEventsAndReset(&packet_events_); in TEST_F()
91 event_subscriber_.GetFrameEventsAndReset(&frame_events_); in TEST_F()
114 event_subscriber_.GetFrameEventsAndReset(&frame_events_); in TEST_F()
[all …]
Dlogging_impl_unittest.cc33 logging_.AddRawEventSubscriber(&event_subscriber_); in LoggingImplTest()
37 logging_.RemoveRawEventSubscriber(&event_subscriber_); in ~LoggingImplTest()
42 SimpleEventSubscriber event_subscriber_; member in media::cast::LoggingImplTest
66 event_subscriber_.GetFrameEventsAndReset(&frame_events); in TEST_F()
96 event_subscriber_.GetFrameEventsAndReset(&frame_events); in TEST_F()
127 event_subscriber_.GetFrameEventsAndReset(&frame_events); in TEST_F()
167 event_subscriber_.GetFrameEventsAndReset(&frame_events); in TEST_F()
206 event_subscriber_.GetPacketEventsAndReset(&packet_events); in TEST_F()
224 event_subscriber_.GetFrameEventsAndReset(&frame_events); in TEST_F()
Draw_event_subscriber_bundle.cc18 event_subscriber_( in RawEventSubscriberBundleForStream()
24 cast_environment_->Logging()->AddRawEventSubscriber(&event_subscriber_); in RawEventSubscriberBundleForStream()
29 cast_environment_->Logging()->RemoveRawEventSubscriber(&event_subscriber_); in ~RawEventSubscriberBundleForStream()
35 return &event_subscriber_; in GetEncodingEventSubscriber()
Dencoding_event_subscriber_unittest.cc44 DCHECK(!event_subscriber_); in Init()
45 event_subscriber_.reset(new EncodingEventSubscriber(event_media_type, 10)); in Init()
47 event_subscriber_.get()); in Init()
51 if (event_subscriber_) { in ~EncodingEventSubscriberTest()
53 event_subscriber_.get()); in ~EncodingEventSubscriberTest()
58 event_subscriber_->GetEventsAndReset( in GetEventsAndReset()
66 scoped_ptr<EncodingEventSubscriber> event_subscriber_; member in media::cast::EncodingEventSubscriberTest
Draw_event_subscriber_bundle.h43 EncodingEventSubscriber event_subscriber_; variable
/external/chromium_org/media/cast/net/rtcp/
Dreceiver_rtcp_event_subscriber_unittest.cc39 if (event_subscriber_) { in TearDown()
41 event_subscriber_.get()); in TearDown()
46 event_subscriber_.reset( in Init()
49 event_subscriber_.get()); in Init()
95 scoped_ptr<ReceiverRtcpEventSubscriber> event_subscriber_; member in media::cast::ReceiverRtcpEventSubscriberTest
103 event_subscriber_->GetRtcpEventsAndReset(&rtcp_events); in TEST_F()
112 event_subscriber_->GetRtcpEventsAndReset(&rtcp_events); in TEST_F()
126 event_subscriber_->GetRtcpEventsAndReset(&rtcp_events); in TEST_F()
/external/chromium_org/media/cast/net/
Dcast_transport_sender_impl.cc92 event_subscriber_.reset(new SimpleEventSubscriber); in CastTransportSenderImpl()
93 logging_.AddRawEventSubscriber(event_subscriber_.get()); in CastTransportSenderImpl()
123 if (event_subscriber_.get()) in ~CastTransportSenderImpl()
124 logging_.RemoveRawEventSubscriber(event_subscriber_.get()); in ~CastTransportSenderImpl()
298 DCHECK(event_subscriber_.get()); in SendRawEvents()
302 event_subscriber_->GetPacketEventsAndReset(&packet_events); in SendRawEvents()
303 event_subscriber_->GetFrameEventsAndReset(&frame_events); in SendRawEvents()
Dcast_transport_sender_impl.h161 scoped_ptr<SimpleEventSubscriber> event_subscriber_; variable
/external/chromium_org/media/cast/receiver/
Dframe_receiver.cc31 event_subscriber_(kReceiverRtcpEventHistorySize, event_media_type), in FrameReceiver()
57 cast_environment_->Logging()->AddRawEventSubscriber(&event_subscriber_); in FrameReceiver()
63 cast_environment_->Logging()->RemoveRawEventSubscriber(&event_subscriber_); in ~FrameReceiver()
181 event_subscriber_.GetRtcpEventsAndReset(&rtcp_events); in CastFeedback()
Dframe_receiver.h129 ReceiverRtcpEventSubscriber event_subscriber_; variable