/external/adhd/cras/src/server/ |
D | dev_io.h | 24 struct open_dev { struct 30 struct open_dev *prev, *next; argument 37 void dev_io_playback_fetch(struct open_dev *odev_list); 44 int dev_io_playback_write(struct open_dev **odevs, 48 int write_output_samples(struct open_dev **odevs, 49 struct open_dev *adev, 57 int dev_io_capture(struct open_dev **list); 62 int dev_io_send_captured_samples(struct open_dev *idev_list); 65 void dev_io_run(struct open_dev **odevs, struct open_dev **idevs, 72 int dev_io_next_input_wake(struct open_dev **idevs, struct timespec *min_ts); [all …]
|
D | dev_io.c | 48 static void update_estimated_rate(struct open_dev *adev) in update_estimated_rate() 73 static inline int count_non_empty_dev(struct open_dev *adevs) { in count_non_empty_dev() 75 struct open_dev *adev; in count_non_empty_dev() 83 static void check_non_empty_state_transition(struct open_dev *adevs) { in check_non_empty_state_transition() 102 static int fetch_streams(struct open_dev *adev) in fetch_streams() 169 static int input_delay_frames(struct open_dev *adevs) in input_delay_frames() 171 struct open_dev *adev; in input_delay_frames() 191 static unsigned int set_stream_delay(struct open_dev *adev) in set_stream_delay() 219 struct open_dev *adev, in get_stream_limit() 268 struct open_dev *adev, in get_input_dev_max_wake_ts() [all …]
|
D | audio_thread.c | 260 struct open_dev *open_dev; in append_stream() local 270 DL_SEARCH_SCALAR(thread->open_devs[stream->direction], open_dev, in append_stream() 272 if (!open_dev) in append_stream() 347 DL_FOREACH(thread->open_devs[stream->direction], open_dev) { in append_stream() 348 dev = open_dev->dev; in append_stream() 365 struct open_dev *adev; in thread_add_open_dev() 372 adev = (struct open_dev *)calloc(1, sizeof(*adev)); in thread_add_open_dev() 393 struct open_dev *adev = dev_io_find_open_dev( in thread_rm_open_dev() 409 struct open_dev *adev = dev_io_find_open_dev( in thread_is_dev_open() 420 struct open_dev *adev = dev_io_find_open_dev( in thread_dev_start_ramp() [all …]
|
D | cras_bt_io.c | 124 static int open_dev(struct cras_iodev *iodev) in open_dev() function 340 iodev->open_dev = open_dev; in cras_bt_io_create()
|
D | audio_thread.h | 41 struct open_dev *open_devs[CRAS_NUM_DIRECTIONS];
|
D | cras_iodev.h | 202 int (*open_dev)(struct cras_iodev *iodev); member
|
D | cras_iodev.c | 893 if (iodev->open_dev) { in cras_iodev_open() 894 rc = iodev->open_dev(iodev); in cras_iodev_open()
|
D | cras_alsa_io.c | 356 static int open_dev(struct cras_iodev *iodev) in open_dev() function 1996 iodev->open_dev = open_dev; in alsa_iodev_create()
|
/external/adhd/cras/src/tests/ |
D | audio_thread_unittest.cc | 216 struct open_dev *adev; in TEST_F() 232 struct open_dev *adev; in TEST_F() 265 struct open_dev *adev; in TEST_F() 286 struct open_dev *adev; in TEST_F() 389 struct open_dev *adev; in TEST_F() 497 struct open_dev *adev; in TEST_F() 530 struct open_dev *adev; in TEST_F() 558 struct open_dev *adev; in TEST_F()
|
D | bt_io_unittest.cc | 176 bt_iodev->open_dev(bt_iodev); in TEST_F() 208 bt_iodev->open_dev(bt_iodev); in TEST_F() 226 bt_iodev->open_dev(bt_iodev); in TEST_F()
|
D | audio_thread_unittest_obsolete.cc | 86 iodev_.open_dev = open_dev; in SetUp() 195 static int open_dev(cras_iodev* iodev) { in open_dev() function in ReadStreamSuite 517 iodev_.open_dev = open_dev; in SetUp() 629 static int open_dev(cras_iodev* iodev) { in open_dev() function in WriteStreamSuite 1118 iodev_.open_dev = open_dev; in SetUp() 1181 static int open_dev(cras_iodev* iodev) { in open_dev() function in AddStreamSuite 1439 iodev_.open_dev = open_dev; in SetUp() 1449 iodev2_.open_dev = open_dev; in SetUp() 1541 static int open_dev(struct cras_iodev *iodev) { in open_dev() function in ActiveDevicesSuite
|
D | dev_io_stubs.cc | 121 reinterpret_cast<open_dev*>(calloc(1, sizeof(open_dev))), free); in create_device()
|
D | dev_io_unittest.cc | 58 struct open_dev* dev_list = NULL; in TEST_F()
|
D | dev_io_stubs.h | 28 using OpendevPtr = std::unique_ptr<open_dev, decltype(free)*>;
|
D | alsa_io_unittest.cc | 411 iodev->open_dev(iodev); in TEST() 716 iodev->open_dev(iodev); in TEST() 761 iodev->open_dev(iodev); in TEST() 796 iodev->open_dev(iodev); in TEST() 805 iodev->open_dev(iodev); in TEST() 2261 iodev->open_dev(iodev); in TEST()
|
D | timing_unittest.cc | 51 struct open_dev* dev_list_ = NULL; in SingleInputDevNextWake()
|