Home
last modified time | relevance | path

Searched refs:iodev2 (Results 1 – 3 of 3) sorted by relevance

/external/adhd/cras/src/tests/
Dloopback_iodev_unittest.cc130 struct cras_iodev iodev1, iodev2; in TEST_F() local
133 iodev2.direction = CRAS_STREAM_OUTPUT; in TEST_F()
142 iodev2.info.idx = 222; in TEST_F()
143 device_disabled_callback_cb(&iodev2, device_enabled_callback_cb_data); in TEST_F()
147 enabled_dev = &iodev2; in TEST_F()
Daudio_thread_unittest.cc400 struct cras_iodev iodev2; in TEST_F() local
401 struct cras_iodev* iodevs[] = {&iodev, &iodev2}; in TEST_F()
407 SetupDevice(&iodev2, CRAS_STREAM_INPUT); in TEST_F()
413 thread_add_open_dev(thread_, &iodev2); in TEST_F()
417 EXPECT_NE((void*)NULL, iodev2.streams); in TEST_F()
431 EXPECT_EQ(iodev2.info.idx, cras_rstream_dev_offset_dev_id_val[1]); in TEST_F()
440 thread_rm_open_dev(thread_, CRAS_STREAM_INPUT, iodev2.info.idx); in TEST_F()
591 struct cras_iodev iodev2, *piodev2 = &iodev2; in TEST_F() local
598 SetupDevice(&iodev2, CRAS_STREAM_OUTPUT); in TEST_F()
612 thread_add_open_dev(thread_, &iodev2); in TEST_F()
[all …]
Diodev_unittest.cc1472 struct cras_iodev iodev1, iodev2; in TEST() local
1477 memset(&iodev2, 0, sizeof(iodev2)); in TEST()
1487 iodev2.configure_dev = configure_dev; in TEST()
1488 iodev2.format = &audio_fmt; in TEST()
1489 iodev2.state = CRAS_IODEV_STATE_NORMAL_RUN; in TEST()
1505 iodev2.direction = CRAS_STREAM_OUTPUT; in TEST()
1506 cras_iodev_open(&iodev2, 1024, &audio_fmt); in TEST()
1507 cras_iodev_add_stream(&iodev2, &stream2); in TEST()