Lines Matching refs:adev
216 struct open_dev *adev; in TEST_F() local
222 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
223 EXPECT_EQ(adev->dev, &iodev); in TEST_F()
226 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
227 EXPECT_EQ(NULL, adev); in TEST_F()
232 struct open_dev *adev; in TEST_F() local
240 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
241 EXPECT_EQ(adev->dev, &iodev); in TEST_F()
265 struct open_dev *adev; in TEST_F() local
271 adev = thread_->open_devs[CRAS_STREAM_INPUT]; in TEST_F()
272 EXPECT_EQ(adev->dev, &iodev); in TEST_F()
275 adev = thread_->open_devs[CRAS_STREAM_INPUT]; in TEST_F()
276 EXPECT_EQ(NULL, adev); in TEST_F()
286 struct open_dev *adev; in TEST_F() local
298 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
299 EXPECT_EQ(adev->dev, &odev); in TEST_F()
300 EXPECT_EQ(adev->next->dev, &odev2); in TEST_F()
304 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
305 EXPECT_EQ(adev->dev, &odev2); in TEST_F()
309 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
310 EXPECT_EQ(adev->dev, &odev2); in TEST_F()
311 EXPECT_EQ(adev->next->dev, &odev3); in TEST_F()
316 adev = thread_->open_devs[CRAS_STREAM_INPUT]; in TEST_F()
317 EXPECT_EQ(adev->dev, &idev); in TEST_F()
318 EXPECT_EQ(adev->next->dev, &idev2); in TEST_F()
322 adev = thread_->open_devs[CRAS_STREAM_INPUT]; in TEST_F()
323 EXPECT_EQ(adev->dev, &idev2); in TEST_F()
328 adev = thread_->open_devs[CRAS_STREAM_INPUT]; in TEST_F()
329 EXPECT_EQ(adev->dev, &idev2); in TEST_F()
389 struct open_dev *adev; in TEST_F() local
413 adev = thread_->open_devs[CRAS_STREAM_INPUT]; in TEST_F()
417 EXPECT_EQ(ts_wake_1.tv_sec, adev->wake_ts.tv_sec); in TEST_F()
418 EXPECT_EQ(ts_wake_1.tv_nsec, adev->wake_ts.tv_nsec); in TEST_F()
497 struct open_dev *adev; in TEST_F() local
505 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
519 adev, nullptr)); in TEST_F()
530 struct open_dev *adev; in TEST_F() local
538 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
547 write_output_samples(&thread_->open_devs[CRAS_STREAM_OUTPUT], adev, nullptr); in TEST_F()
558 struct open_dev *adev; in TEST_F() local
569 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
579 write_output_samples(&thread_->open_devs[CRAS_STREAM_OUTPUT], adev, nullptr); in TEST_F()
590 write_output_samples(&thread_->open_devs[CRAS_STREAM_OUTPUT], adev, nullptr); in TEST_F()