/external/adhd/cras/src/server/ |
D | cras_apm_list.h | 67 void *dev_ptr, 78 struct cras_apm *cras_apm_list_get_active_apm(void *stream_ptr, void *dev_ptr); 84 void cras_apm_list_start_apm(struct cras_apm_list *list, void *dev_ptr); 90 void cras_apm_list_stop_apm(struct cras_apm_list *list, void *dev_ptr); 110 void cras_apm_list_remove_apm(struct cras_apm_list *list, void *dev_ptr); 158 void cras_apm_list_set_aec_dump(struct cras_apm_list *list, void *dev_ptr, 181 cras_apm_list_add_apm(struct cras_apm_list *list, void *dev_ptr, in cras_apm_list_add_apm() argument 187 void *dev_ptr) in cras_apm_list_get_active_apm() argument 200 void *dev_ptr) in cras_apm_list_remove_apm() argument 222 void *dev_ptr) in cras_apm_list_start_apm() argument [all …]
|
D | cras_apm_list.c | 71 void *dev_ptr; member 191 static struct active_apm *get_active_apm(void *stream_ptr, void *dev_ptr) in get_active_apm() argument 196 if ((active->apm->dev_ptr == dev_ptr) && in get_active_apm() 203 struct cras_apm *cras_apm_list_get_active_apm(void *stream_ptr, void *dev_ptr) in cras_apm_list_get_active_apm() argument 205 struct active_apm *active = get_active_apm(stream_ptr, dev_ptr); in cras_apm_list_get_active_apm() 217 void cras_apm_list_remove_apm(struct cras_apm_list *list, void *dev_ptr) in cras_apm_list_remove_apm() argument 222 if (apm->dev_ptr == dev_ptr) { in cras_apm_list_remove_apm() 268 void *dev_ptr, in cras_apm_list_add_apm() argument 275 if (apm->dev_ptr == dev_ptr) in cras_apm_list_add_apm() 318 apm->dev_ptr = dev_ptr; in cras_apm_list_add_apm() [all …]
|
D | input_data.c | 55 struct input_data *input_data_create(void *dev_ptr) in input_data_create() argument 59 data->dev_ptr = dev_ptr; in input_data_create() 154 apm = cras_apm_list_get_active_apm(stream, data->dev_ptr); in input_data_get_for_stream() 185 cras_apm_list_get_active_apm(stream, data->dev_ptr); in input_data_put_for_stream() 205 apm = cras_apm_list_get_active_apm(stream, data->dev_ptr); in input_data_get_software_gain_scaler()
|
D | cras_rstream.c | 296 stream->main_dev.dev_ptr = NULL; in cras_rstream_create() 352 void *dev_ptr) in cras_rstream_post_processing_format() argument 356 apm = cras_apm_list_get_active_apm((void *)stream, dev_ptr); in cras_rstream_post_processing_format() 429 void *dev_ptr) in cras_rstream_dev_attach() argument 431 if (buffer_share_add_id(rstream->buf_state, dev_id, dev_ptr) == 0) in cras_rstream_dev_attach() 439 rstream->main_dev.dev_ptr = dev_ptr; in cras_rstream_dev_attach() 454 rstream->main_dev.dev_ptr = NULL; in cras_rstream_dev_detach() 459 rstream->main_dev.dev_ptr = o->data; in cras_rstream_dev_detach()
|
D | input_data.h | 24 void *dev_ptr; member 34 struct input_data *input_data_create(void *dev_ptr);
|
D | cras_rstream.h | 30 void *dev_ptr; member 244 void *dev_ptr); 260 void *dev_ptr);
|
D | dev_stream.c | 66 void *dev_ptr, struct timespec *cb_ts, in dev_stream_create() argument 96 cras_apm_list_start_apm(stream->apm_list, dev_ptr); in dev_stream_create() 97 ofmt = cras_rstream_post_processing_format(stream, dev_ptr) ?: in dev_stream_create() 138 cras_rstream_dev_attach(stream, dev_id, dev_ptr); in dev_stream_create() 145 void *dev_ptr = in dev_stream_destroy() local 148 cras_apm_list_stop_apm(dev_stream->stream->apm_list, dev_ptr); in dev_stream_destroy()
|
D | dev_stream.h | 68 void *dev_ptr, struct timespec *cb_ts,
|
D | dev_io.c | 60 return (struct cras_iodev *)stream->stream->main_dev.dev_ptr; in get_main_dev()
|
/external/adhd/cras/src/tests/ |
D | apm_list_unittest.cc | 24 static void* dev_ptr = reinterpret_cast<void*>(0x345); variable 120 apm = cras_apm_list_add_apm(list, dev_ptr, &fmt, 1); in TEST() 133 cras_apm_list_remove_apm(list, dev_ptr); in TEST() 158 EXPECT_NE((void*)NULL, cras_apm_list_add_apm(list, dev_ptr, &fmt, 1)); in TEST() 161 EXPECT_EQ((void*)NULL, cras_apm_list_get_active_apm(stream_ptr, dev_ptr)); in TEST() 163 cras_apm_list_start_apm(list, dev_ptr); in TEST() 164 EXPECT_NE((void*)NULL, cras_apm_list_get_active_apm(stream_ptr, dev_ptr)); in TEST() 172 cras_apm_list_stop_apm(list, dev_ptr); in TEST() 174 EXPECT_EQ((void*)NULL, cras_apm_list_get_active_apm(stream_ptr, dev_ptr)); in TEST() 178 cras_apm_list_remove_apm(list, dev_ptr); in TEST() [all …]
|
D | input_data_unittest.cc | 29 void* dev_ptr = reinterpret_cast<void*>(0x123); in TEST() local 42 data = input_data_create(dev_ptr); in TEST() 83 void* dev_ptr = reinterpret_cast<void*>(0x123); in TEST() local 92 data = input_data_create(dev_ptr); in TEST() 110 data = input_data_create(dev_ptr); in TEST() 118 struct cras_apm* cras_apm_list_get_active_apm(void* stream_ptr, void* dev_ptr) { in cras_apm_list_get_active_apm() argument 132 void cras_apm_list_remove_apm(struct cras_apm_list* list, void* dev_ptr) {} in cras_apm_list_remove_apm() argument
|
D | rstream_stub.cc | 57 void* dev_ptr) {} in cras_rstream_dev_attach() argument
|
D | rstream_unittest.cc | 421 struct cras_apm* cras_apm_list_get_active_apm(void* stream_ptr, void* dev_ptr) { in cras_apm_list_get_active_apm() argument 430 struct cras_apm* cras_apm_list_get(struct cras_apm_list* list, void* dev_ptr) { in cras_apm_list_get() argument
|
D | dev_io_stubs.cc | 157 stream->rstream->main_dev.dev_ptr = dev.get(); in add_stream_to_dev()
|
D | dev_stream_unittest.cc | 1152 void* dev_ptr) {} in cras_rstream_dev_attach() argument 1188 void* dev_ptr) { in cras_rstream_post_processing_format() argument 1194 void cras_apm_list_start_apm(struct cras_apm_list* list, void* dev_ptr){}; in cras_apm_list_start_apm() argument 1195 void cras_apm_list_stop_apm(struct cras_apm_list* list, void* dev_ptr){}; in cras_apm_list_stop_apm() argument
|
D | audio_thread_unittest.cc | 1155 void* dev_ptr) {} in cras_rstream_dev_attach() argument 1228 void* dev_ptr, in dev_stream_create() argument 1445 void* dev_ptr, in cras_apm_list_set_aec_dump() argument
|
D | timing_unittest.cc | 1221 void* dev_ptr) { in cras_rstream_post_processing_format() argument 1236 void cras_apm_list_start_apm(struct cras_apm_list* list, void* dev_ptr){}; in cras_apm_list_start_apm() argument 1237 void cras_apm_list_stop_apm(struct cras_apm_list* list, void* dev_ptr){}; in cras_apm_list_stop_apm() argument
|
D | dev_io_unittest.cc | 453 void* dev_ptr, in dev_stream_create() argument
|
D | iodev_list_unittest.cc | 2340 void* dev_ptr, in cras_apm_list_add_apm() argument 2345 void cras_apm_list_remove_apm(struct cras_apm_list* list, void* dev_ptr) {} in cras_apm_list_remove_apm() argument
|
D | iodev_unittest.cc | 2750 struct input_data* input_data_create(void* dev_ptr) { in input_data_create() argument
|
/external/strace/ |
D | dm.c | 194 dm_print_dev(struct tcb *tcp, void *dev_ptr, size_t dev_size, void *dummy) in dm_print_dev() argument 196 uint64_t *dev = (uint64_t *) dev_ptr; in dm_print_dev()
|