Home
last modified time | relevance | path

Searched refs:frame_events (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium_org/media/cast/receiver/
Dframe_receiver_unittest.cc162 std::vector<FrameEvent> frame_events; in TEST_F() local
163 event_subscriber.GetFrameEventsAndReset(&frame_events); in TEST_F()
164 EXPECT_TRUE(frame_events.empty()); in TEST_F()
199 std::vector<FrameEvent> frame_events; in TEST_F() local
200 event_subscriber.GetFrameEventsAndReset(&frame_events); in TEST_F()
201 ASSERT_TRUE(!frame_events.empty()); in TEST_F()
202 EXPECT_EQ(FRAME_ACK_SENT, frame_events.begin()->type); in TEST_F()
203 EXPECT_EQ(AUDIO_EVENT, frame_events.begin()->media_type); in TEST_F()
204 EXPECT_EQ(rtp_header_.frame_id, frame_events.begin()->frame_id); in TEST_F()
205 EXPECT_EQ(rtp_header_.rtp_timestamp, frame_events.begin()->rtp_timestamp); in TEST_F()
[all …]
/external/chromium_org/media/cast/logging/
Dlogging_impl_unittest.cc65 std::vector<FrameEvent> frame_events; in TEST_F() local
66 event_subscriber_.GetFrameEventsAndReset(&frame_events); in TEST_F()
69 EXPECT_EQ(frame_id, frame_events.size()); in TEST_F()
95 std::vector<FrameEvent> frame_events; in TEST_F() local
96 event_subscriber_.GetFrameEventsAndReset(&frame_events); in TEST_F()
99 EXPECT_EQ(frame_id, frame_events.size()); in TEST_F()
126 std::vector<FrameEvent> frame_events; in TEST_F() local
127 event_subscriber_.GetFrameEventsAndReset(&frame_events); in TEST_F()
129 EXPECT_EQ(frame_id, frame_events.size()); in TEST_F()
166 std::vector<FrameEvent> frame_events; in TEST_F() local
[all …]
Dsimple_event_subscriber_unittest.cc70 std::vector<FrameEvent> frame_events; in TEST_F() local
71 event_subscriber_.GetFrameEventsAndReset(&frame_events); in TEST_F()
72 EXPECT_EQ(3u, frame_events.size()); in TEST_F()
80 event_subscriber_.GetFrameEventsAndReset(&frame_events); in TEST_F()
82 EXPECT_TRUE(frame_events.empty()); in TEST_F()
Dlog_serializer.cc41 const FrameEventList& frame_events, in DoSerializeEvents() argument
58 for (media::cast::FrameEventList::const_iterator it = frame_events.begin(); in DoSerializeEvents()
59 it != frame_events.end(); in DoSerializeEvents()
152 const FrameEventList& frame_events, in SerializeEvents() argument
167 frame_events, in SerializeEvents()
181 frame_events, in SerializeEvents()
Dsimple_event_subscriber.cc32 std::vector<FrameEvent>* frame_events) { in GetFrameEventsAndReset() argument
34 frame_events->swap(frame_events_); in GetFrameEventsAndReset()
Dlog_serializer.h27 const FrameEventList& frame_events,
Dlog_deserializer.h30 FrameEventMap frame_events; member
Dsimple_event_subscriber.h33 void GetFrameEventsAndReset(std::vector<FrameEvent>* frame_events);
Dencoding_event_subscriber.h64 FrameEventList* frame_events,
Dencoding_event_subscriber.cc198 FrameEventList* frame_events, PacketEventList* packet_events) { in GetEventsAndReset() argument
215 frame_events->swap(frame_event_storage_); in GetEventsAndReset()
/external/chromium_org/tools/telemetry/telemetry/web_perf/metrics/
Drendering_frame_unittest.py137 frame_events = GetFrameEventsInsideRange(d.renderer_process, timeline_range)
139 self.assertEquals(2, len(frame_events))
140 self.assertEquals(20, frame_events[0].queueing_duration)
141 self.assertEquals(10, frame_events[1].queueing_duration)
160 frame_events = GetFrameEventsInsideRange(d.renderer_process, timeline_range)
162 self.assertEquals(1, len(frame_events))
163 self.assertEquals(10, frame_events[0].queueing_duration)
/external/chromium_org/media/cast/test/
Dsender.cc124 const std::vector<media::cast::FrameEvent>& frame_events) { in LogRawEvents() argument
139 VLOG(1) << "Got frame events from transport, size: " << frame_events.size(); in LogRawEvents()
141 frame_events.begin(); in LogRawEvents()
142 it != frame_events.end(); in LogRawEvents()
165 const media::cast::FrameEventList& frame_events, in DumpLoggingData() argument
168 VLOG(0) << "Frame map size: " << frame_events.size(); in DumpLoggingData()
174 frame_events, in DumpLoggingData()
204 media::cast::FrameEventList frame_events; in WriteLogsToFileAndDestroySubscribers() local
207 &log_metadata, &frame_events, &packet_events); in WriteLogsToFileAndDestroySubscribers()
210 frame_events, in WriteLogsToFileAndDestroySubscribers()
[all …]
Dsimulator.cc104 const std::vector<FrameEvent>& frame_events) { in LogTransportEvents() argument
119 frame_events.begin(); in LogTransportEvents()
120 it != frame_events.end(); in LogTransportEvents()
166 const media::cast::FrameEventList& frame_events, in AppendLogToFile() argument
177 frame_events, in AppendLogToFile()
Dend2end_unittest.cc122 const std::vector<FrameEvent>& frame_events) { in GetEventCountForFrameEvents() argument
124 for (std::vector<FrameEvent>::const_iterator it = frame_events.begin(); in GetEventCountForFrameEvents()
125 it != frame_events.end(); in GetEventCountForFrameEvents()
732 const std::vector<FrameEvent>& frame_events) { in LogRawEvents() argument
747 frame_events.begin(); in LogRawEvents()
748 it != frame_events.end(); in LogRawEvents()
/external/chromium_org/chrome/renderer/media/
Dcast_ipc_dispatcher_unittest.cc50 std::vector<media::cast::FrameEvent> frame_events; in TEST_F() local
51 frame_events.push_back(frame_event); in TEST_F()
55 frame_events); in TEST_F()
Dcast_session_delegate.cc142 media::cast::FrameEventList frame_events; in GetEventLogsAndReset() local
145 subscriber->GetEventsAndReset(&metadata, &frame_events, &packet_events); in GetEventLogsAndReset()
159 frame_events, in GetEventLogsAndReset()
251 const std::vector<media::cast::FrameEvent>& frame_events) { in LogRawEvents() argument
268 frame_events.begin(); in LogRawEvents()
269 it != frame_events.end(); in LogRawEvents()
Dcast_ipc_dispatcher.cc94 const std::vector<media::cast::FrameEvent>& frame_events) { in OnRawEvents() argument
97 sender->OnRawEvents(packet_events, frame_events); in OnRawEvents()
Dcast_transport_sender_ipc.cc90 const std::vector<media::cast::FrameEvent>& frame_events) { in OnRawEvents() argument
91 raw_events_callback_.Run(packet_events, frame_events); in OnRawEvents()
Dcast_ipc_dispatcher.h51 const std::vector<media::cast::FrameEvent>& frame_events);
Dcast_transport_sender_ipc.h54 const std::vector<media::cast::FrameEvent>& frame_events);
Dcast_session_delegate.h102 const std::vector<media::cast::FrameEvent>& frame_events);
/external/chromium_org/media/cast/sender/
Dvideo_sender_unittest.cc369 std::vector<FrameEvent> frame_events; in TEST_F() local
370 event_subscriber.GetFrameEventsAndReset(&frame_events); in TEST_F()
372 ASSERT_TRUE(!frame_events.empty()); in TEST_F()
373 EXPECT_EQ(FRAME_ACK_RECEIVED, frame_events.rbegin()->type); in TEST_F()
374 EXPECT_EQ(VIDEO_EVENT, frame_events.rbegin()->media_type); in TEST_F()
375 EXPECT_EQ(num_frames - 1u, frame_events.rbegin()->frame_id); in TEST_F()
/external/chromium_org/chrome/browser/media/
Dcast_transport_host_filter.cc55 const std::vector<media::cast::FrameEvent>& frame_events) { in SendRawEvents() argument
59 frame_events)); in SendRawEvents()
Dcast_transport_host_filter.h36 const std::vector<media::cast::FrameEvent>& frame_events);
/external/chromium_org/media/cast/net/
Dcast_transport_sender_impl.cc301 std::vector<FrameEvent> frame_events; in SendRawEvents() local
303 event_subscriber_->GetFrameEventsAndReset(&frame_events); in SendRawEvents()
304 raw_events_callback_.Run(packet_events, frame_events); in SendRawEvents()

12