Lines Matching refs:adev
259 struct open_dev* adev; in TEST_F() local
265 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
266 EXPECT_EQ(adev->dev, &iodev); in TEST_F()
269 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
270 EXPECT_EQ(NULL, adev); in TEST_F()
275 struct open_dev* adev; in TEST_F() local
283 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
284 EXPECT_EQ(adev->dev, &iodev); in TEST_F()
328 struct open_dev* adev; in TEST_F() local
334 adev = thread_->open_devs[CRAS_STREAM_INPUT]; in TEST_F()
335 EXPECT_EQ(adev->dev, &iodev); in TEST_F()
338 adev = thread_->open_devs[CRAS_STREAM_INPUT]; in TEST_F()
339 EXPECT_EQ(NULL, adev); in TEST_F()
349 struct open_dev* adev; in TEST_F() local
361 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
362 EXPECT_EQ(adev->dev, &odev); in TEST_F()
363 EXPECT_EQ(adev->next->dev, &odev2); in TEST_F()
367 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
368 EXPECT_EQ(adev->dev, &odev2); in TEST_F()
372 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
373 EXPECT_EQ(adev->dev, &odev2); in TEST_F()
374 EXPECT_EQ(adev->next->dev, &odev3); in TEST_F()
379 adev = thread_->open_devs[CRAS_STREAM_INPUT]; in TEST_F()
380 EXPECT_EQ(adev->dev, &idev); in TEST_F()
381 EXPECT_EQ(adev->next->dev, &idev2); in TEST_F()
385 adev = thread_->open_devs[CRAS_STREAM_INPUT]; in TEST_F()
386 EXPECT_EQ(adev->dev, &idev2); in TEST_F()
391 adev = thread_->open_devs[CRAS_STREAM_INPUT]; in TEST_F()
392 EXPECT_EQ(adev->dev, &idev2); in TEST_F()
452 struct open_dev* adev; in TEST_F() local
476 adev = thread_->open_devs[CRAS_STREAM_INPUT]; in TEST_F()
480 EXPECT_EQ(ts_wake_1.tv_sec, adev->wake_ts.tv_sec); in TEST_F()
481 EXPECT_EQ(ts_wake_1.tv_nsec, adev->wake_ts.tv_nsec); in TEST_F()
493 struct open_dev* adev; in TEST_F() local
510 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
520 dev_io_playback_fetch(adev); in TEST_F()
661 struct open_dev* adev; in TEST_F() local
677 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
688 dev_io_playback_fetch(adev); in TEST_F()
699 dev_io_playback_fetch(adev); in TEST_F()
706 dev_io_playback_fetch(adev); in TEST_F()
715 struct open_dev* adev; in TEST_F() local
723 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
736 write_output_samples(&thread_->open_devs[CRAS_STREAM_OUTPUT], adev, in TEST_F()
748 struct open_dev* adev; in TEST_F() local
756 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
765 write_output_samples(&thread_->open_devs[CRAS_STREAM_OUTPUT], adev, nullptr); in TEST_F()
776 struct open_dev* adev; in TEST_F() local
787 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
797 write_output_samples(&thread_->open_devs[CRAS_STREAM_OUTPUT], adev, nullptr); in TEST_F()
808 write_output_samples(&thread_->open_devs[CRAS_STREAM_OUTPUT], adev, nullptr); in TEST_F()
819 struct open_dev* adev; in TEST_F() local
834 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
848 write_output_samples(&thread_->open_devs[CRAS_STREAM_OUTPUT], adev, nullptr); in TEST_F()
855 write_output_samples(&thread_->open_devs[CRAS_STREAM_OUTPUT], adev, nullptr); in TEST_F()
863 write_output_samples(&thread_->open_devs[CRAS_STREAM_OUTPUT], adev, nullptr); in TEST_F()
872 write_output_samples(&thread_->open_devs[CRAS_STREAM_OUTPUT], adev, nullptr); in TEST_F()