Home
last modified time | relevance | path

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

/external/adhd/cras/src/tests/
Daudio_thread_unittest_obsolete.cc76 memset(&iodev_, 0, sizeof(iodev_)); in SetUp()
77 iodev_.buffer_size = 16384; in SetUp()
79 iodev_.direction = CRAS_STREAM_INPUT; in SetUp()
81 iodev_.frames_queued = frames_queued; in SetUp()
82 iodev_.delay_frames = delay_frames; in SetUp()
83 iodev_.get_buffer = get_buffer; in SetUp()
84 iodev_.put_buffer = put_buffer; in SetUp()
85 iodev_.is_open = is_open; in SetUp()
86 iodev_.open_dev = open_dev; in SetUp()
87 iodev_.close_dev = close_dev; in SetUp()
[all …]
Dbt_io_unittest.cc60 SetUpIodev(&iodev_, CRAS_STREAM_OUTPUT); in SetUp()
144 static struct cras_iodev iodev_; member in __anon74a2300b0111::BtIoBasicSuite
156 struct cras_iodev BtIoBasicSuite::iodev_; member in __anon74a2300b0111::BtIoBasicSuite
171 bt_iodev = cras_bt_io_create(fake_device, &iodev_, in TEST_F()
174 EXPECT_EQ(&iodev_, active_profile_dev(bt_iodev)); in TEST_F()
196 free(iodev_.supported_rates); in TEST_F()
197 free(iodev_.supported_channel_counts); in TEST_F()
198 free(iodev_.supported_formats); in TEST_F()
203 iodev_.direction = CRAS_STREAM_INPUT; in TEST_F()
204 bt_iodev = cras_bt_io_create(fake_device, &iodev_, in TEST_F()
[all …]
Diodev_unittest.cc262 memset(&iodev_, 0, sizeof(iodev_)); in SetUp()
263 iodev_.update_channel_layout = update_channel_layout; in SetUp()
264 iodev_.supported_rates = sample_rates_; in SetUp()
265 iodev_.supported_channel_counts = channel_counts_; in SetUp()
266 iodev_.supported_formats = pcm_formats_; in SetUp()
267 iodev_.dsp_context = NULL; in SetUp()
273 cras_iodev_free_format(&iodev_); in TearDown()
276 struct cras_iodev iodev_; member in __anonaa8b21750111::IoDevSetFormatTestSuite
289 iodev_.direction = CRAS_STREAM_OUTPUT; in TEST_F()
291 rc = cras_iodev_set_format(&iodev_, &fmt); in TEST_F()
[all …]