Home
last modified time | relevance | path

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

/external/adhd/cras/src/tests/
Daudio_thread_unittest.cc402 struct cras_rstream rstream3; in TEST_F() local
408 SetupRstream(&rstream3, CRAS_STREAM_INPUT); in TEST_F()
441 TearDownRstream(&rstream3); in TEST_F()
592 struct cras_rstream rstream3; in TEST_F() local
599 SetupRstream(&rstream3, CRAS_STREAM_OUTPUT); in TEST_F()
619 thread_add_stream(thread_, &rstream3, &piodev2, 1); in TEST_F()
625 EXPECT_EQ(&rstream3, dev_stream->stream); in TEST_F()
632 EXPECT_EQ(&rstream3, dev_stream->stream); in TEST_F()
638 dev_io_remove_stream(&thread_->open_devs[rstream3.direction], &rstream3, in TEST_F()
654 TearDownRstream(&rstream3); in TEST_F()
Diodev_list_unittest.cc292 struct cras_rstream rstream, rstream2, rstream3; in TEST_F() local
298 memset(&rstream3, 0, sizeof(rstream3)); in TEST_F()
335 DL_APPEND(stream_list, &rstream3); in TEST_F()
336 stream_add_cb(&rstream3); in TEST_F()
345 EXPECT_EQ(&rstream3, audio_thread_add_stream_stream); in TEST_F()
Diodev_unittest.cc1415 struct cras_rstream rstream1, rstream2, rstream3; in TEST() local
1421 memset(&rstream3, 0, sizeof(rstream2)); in TEST()
1431 rstream3.direction = CRAS_STREAM_OUTPUT; in TEST()
1434 stream3.stream = &rstream3; in TEST()
1449 rstream3.next_cb_ts.tv_sec = 1; in TEST()
1450 rstream3.next_cb_ts.tv_nsec = 0; in TEST()
1458 EXPECT_EQ(rstream3.next_cb_ts.tv_sec, rstream1.next_cb_ts.tv_sec); in TEST()
1459 EXPECT_EQ(rstream3.next_cb_ts.tv_nsec, rstream1.next_cb_ts.tv_nsec); in TEST()