Home
last modified time | relevance | path

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

/external/webrtc/webrtc/call/
Dbitrate_estimator_tests.cc107 virtual ~BitrateEstimatorTest() { EXPECT_TRUE(streams_.empty()); } in ~BitrateEstimatorTest()
143 std::for_each(streams_.begin(), streams_.end(), in TearDown()
149 while (!streams_.empty()) { in TearDown()
150 delete streams_.back(); in TearDown()
151 streams_.pop_back(); in TearDown()
259 std::vector<Stream*> streams_; member in webrtc::BitrateEstimatorTest
272 streams_.push_back(new Stream(this, false)); in TEST_F()
283 streams_.push_back(new Stream(this, true)); in TEST_F()
294 streams_.push_back(new Stream(this, false)); in TEST_F()
301 streams_.push_back(new Stream(this, true)); in TEST_F()
[all …]
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl.cc354 : streams_(streams), stream_count_(count), bytes_retired_(0) { in ConcatenatingInputStream()
362 if (streams_[0]->Next(data, size)) return true; in Next()
365 bytes_retired_ += streams_[0]->ByteCount(); in Next()
366 ++streams_; in Next()
376 streams_[0]->BackUp(count); in BackUp()
386 int64 target_byte_count = streams_[0]->ByteCount() + count; in Skip()
387 if (streams_[0]->Skip(count)) return true; in Skip()
391 int64 final_byte_count = streams_[0]->ByteCount(); in Skip()
397 ++streams_; in Skip()
408 return bytes_retired_ + streams_[0]->ByteCount(); in ByteCount()
Dzero_copy_stream_impl.h321 ZeroCopyInputStream* const* streams_;
/external/webrtc/talk/session/media/
Dmediasession.h242 return streams_; in streams()
247 return streams_; in mutable_streams()
250 streams_.push_back(stream); in AddStream()
254 streams_.push_back(StreamParams::CreateLegacy(ssrc)); in AddLegacyStream()
259 streams_.push_back(sp); in AddLegacyStream()
264 for (cricket::StreamParamsVec::iterator it = streams_.begin(); in SetCnameIfEmpty()
265 it != streams_.end(); ++it) { in SetCnameIfEmpty()
271 if (streams_.empty()) { in first_ssrc()
274 return streams_[0].first_ssrc(); in first_ssrc()
277 if (streams_.empty()) { in has_ssrcs()
[all …]
/external/webrtc/webrtc/voice_engine/test/auto_test/fakes/
Dconference_transport.cc89 while (!streams_.empty()) { in ~ConferenceTransport()
90 auto stream = streams_.begin(); in ~ConferenceTransport()
124 auto it = streams_.find(sender_ssrc); in GetReceiverChannelForSsrc()
125 if (it != streams_.end()) { in GetReceiverChannelForSsrc()
249 streams_[remote_ssrc] = std::make_pair(new_sender, new_receiver); in AddStream()
256 auto it = streams_.find(id); in RemoveStream()
257 if (it == streams_.end()) { in RemoveStream()
266 streams_.erase(it); in RemoveStream()
Dconference_transport.h139 std::map<unsigned int, std::pair<int, int>> streams_
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dremote_bitrate_estimator_unittest_helper.cc121 for (StreamMap::iterator it = streams_.begin(); it != streams_.end(); in ~StreamGenerator()
125 streams_.clear(); in ~StreamGenerator()
130 streams_[stream->ssrc()] = stream; in AddStream()
142 ASSERT_GE(streams_.size(), 0u); in SetBitrateBps()
144 for (StreamMap::iterator it = streams_.begin(); it != streams_.end(); ++it) { in SetBitrateBps()
149 for (StreamMap::iterator it = streams_.begin(); it != streams_.end(); ++it) { in SetBitrateBps()
163 streams_[ssrc]->set_rtp_timestamp_offset(offset); in set_rtp_timestamp_offset()
173 StreamMap::iterator it = std::min_element(streams_.begin(), streams_.end(), in GenerateFrame()
187 it = std::min_element(streams_.begin(), streams_.end(), RtpStream::Compare); in GenerateFrame()
Dremote_bitrate_estimator_unittest_helper.h140 StreamMap streams_; variable
/external/webrtc/talk/media/sctp/
Dsctpdataengine_unittest.cc172 void OnStreamClosed(uint32_t stream) { streams_.push_back(stream); } in OnStreamClosed()
175 return std::count(streams_.begin(), streams_.end(), stream); in StreamCloseCount()
179 return std::find(streams_.begin(), streams_.end(), stream) in WasStreamClosed()
180 != streams_.end(); in WasStreamClosed()
184 std::vector<uint32_t> streams_; member in SignalChannelClosedObserver
199 streams_.push_back(stream); in OnStreamClosed()
203 return std::count(streams_.begin(), streams_.end(), stream); in StreamCloseCount()
209 std::vector<int> streams_; member in SignalChannelClosedReopener
/external/webrtc/webrtc/base/
Dlogging.cc113 LogMessage::StreamList LogMessage::streams_ GUARDED_BY(g_log_crit);
206 for (auto& kv : streams_) { in ~LogMessage()
244 for (auto& kv : streams_) { in GetLogToStream()
254 streams_.push_back(std::make_pair(stream, min_sev)); in AddLogToStream()
260 for (StreamList::iterator it = streams_.begin(); it != streams_.end(); ++it) { in RemoveLogToStream()
262 streams_.erase(it); in RemoveLogToStream()
333 for (auto& kv : streams_) { in UpdateMinLogSeverity()
Dlogging.h226 static StreamList streams_; variable