Home | History | Annotate | Download | only in base

Lines Matching refs:Consume

5 // TODO(henrika): add test which included |start_frame| in Consume() call.
58 TEST_F(AudioFifoTest, Consume) {
68 SCOPED_TRACE("Consume 50%");
70 fifo.Consume(bus.get(), 0, bus->frames());
76 SCOPED_TRACE("Consume 100%");
78 fifo.Consume(bus.get(), 0, bus->frames());
105 fifo.Consume(bus.get(), 0, bus->frames());
111 // during a sequence of Push/Consume calls which involves wrapping. We ensure
121 fifo.Consume(bus2.get(), 0, frames_in_fifo);
126 // Perform a sequence of Push/Consume calls and verify that the data written
154 // Consume all audio frames in the FIFO and verify that the stored values
162 fifo.Consume(bus.get(), 0, frames_to_consume);
179 // Keep calling Consume/Push a few rounds and verify that we read out the
183 fifo.Consume(bus.get(), 0, bus->frames());