Lines Matching refs:GetBufferedTimeRanges
372 EXPECT_EQ(0u, pipeline_->GetBufferedTimeRanges().size());
564 TEST_F(PipelineTest, GetBufferedTimeRanges) {
575 EXPECT_EQ(0u, pipeline_->GetBufferedTimeRanges().size());
581 EXPECT_EQ(1u, pipeline_->GetBufferedTimeRanges().size());
582 EXPECT_EQ(base::TimeDelta(), pipeline_->GetBufferedTimeRanges().start(0));
583 EXPECT_EQ(kDuration / 8, pipeline_->GetBufferedTimeRanges().end(0));
585 EXPECT_EQ(base::TimeDelta(), pipeline_->GetBufferedTimeRanges().start(0));
586 EXPECT_EQ(kDuration / 8, pipeline_->GetBufferedTimeRanges().end(0));
598 EXPECT_EQ(2u, pipeline_->GetBufferedTimeRanges().size());
599 EXPECT_EQ(base::TimeDelta(), pipeline_->GetBufferedTimeRanges().start(0));
600 EXPECT_EQ(kDuration / 8, pipeline_->GetBufferedTimeRanges().end(0));
601 EXPECT_EQ(kDuration / 2, pipeline_->GetBufferedTimeRanges().start(1));
603 pipeline_->GetBufferedTimeRanges().end(1));
606 EXPECT_EQ(base::TimeDelta(), pipeline_->GetBufferedTimeRanges().start(0));
607 EXPECT_EQ(kDuration / 8, pipeline_->GetBufferedTimeRanges().end(0));
608 EXPECT_EQ(kDuration / 4, pipeline_->GetBufferedTimeRanges().start(1));
609 EXPECT_EQ(3* kDuration / 8, pipeline_->GetBufferedTimeRanges().end(1));
610 EXPECT_EQ(kDuration / 2, pipeline_->GetBufferedTimeRanges().start(2));
612 pipeline_->GetBufferedTimeRanges().end(2));