/external/adhd/cras/src/server/ |
D | cras_alert.c | 63 DL_FOREACH (alert->callbacks, alert_cb) in cras_alert_add_callback() 81 DL_FOREACH (alert->callbacks, alert_cb) in cras_alert_rm_callback() 105 DL_FOREACH (alert->callbacks, cb) in cras_alert_process() 110 DL_FOREACH (alert->data, data) { in cras_alert_process() 111 DL_FOREACH (alert->callbacks, cb) in cras_alert_process() 151 DL_FOREACH (all_alerts, alert) in cras_alert_process_all_pending_alerts() 164 DL_FOREACH (alert->callbacks, cb) { in cras_alert_destroy() 169 DL_FOREACH (alert->data, data) { in cras_alert_destroy() 182 DL_FOREACH (all_alerts, alert) in cras_alert_destroy_all()
|
D | cras_iodev_list.c | 104 DL_FOREACH (devs[CRAS_STREAM_OUTPUT].iodevs, dev) in find_dev() 108 DL_FOREACH (devs[CRAS_STREAM_INPUT].iodevs, dev) in find_dev() 130 DL_FOREACH (list->iodevs, tmp) in add_dev_to_list() 166 DL_FOREACH (devs[dev->direction].iodevs, tmp) in rm_dev_from_list() 185 DL_FOREACH (list->iodevs, tmp) { in fill_dev_list() 253 DL_FOREACH (list->iodevs, dev) { in fill_node_list() 254 DL_FOREACH (dev->nodes, node) { in fill_node_list() 314 DL_FOREACH (devs[CRAS_STREAM_OUTPUT].iodevs, dev) { in sys_vol_change() 328 DL_FOREACH (devs[CRAS_STREAM_OUTPUT].iodevs, dev) { in sys_mute_change() 348 DL_FOREACH (stream_list_get(stream_list), rstream) { in remove_all_streams_from_dev() [all …]
|
D | dev_io.c | 84 DL_FOREACH (odev_list, odev) { in update_estimated_rate() 103 DL_FOREACH (dev->streams, dev_stream) { in update_estimated_rate() 134 DL_FOREACH (adevs, adev) { in count_non_empty_dev() 206 DL_FOREACH (adev->dev->streams, dev_stream) { in fetch_streams() 277 DL_FOREACH (adevs, adev) { in input_delay_frames() 301 DL_FOREACH (adev->dev->streams, stream) { in set_stream_delay() 331 DL_FOREACH (adev->dev->streams, stream) { in get_stream_limit() 467 DL_FOREACH (adev->dev->streams, stream) { in set_input_dev_wake_ts() 522 DL_FOREACH (adev->dev->streams, stream) in capture_to_streams() 581 DL_FOREACH (adev->dev->streams, stream) { in capture_to_streams() [all …]
|
D | cras_observer.c | 115 DL_FOREACH (g_observer->clients, client) { in output_volume_alert() 128 DL_FOREACH (g_observer->clients, client) { in output_mute_alert() 143 DL_FOREACH (g_observer->clients, client) { in capture_gain_alert() 156 DL_FOREACH (g_observer->clients, client) { in capture_mute_alert() 173 DL_FOREACH (g_observer->clients, client) { in nodes_alert() 185 DL_FOREACH (g_observer->clients, client) { in active_node_alert() 199 DL_FOREACH (g_observer->clients, client) { in output_node_volume_alert() 213 DL_FOREACH (g_observer->clients, client) { in node_left_right_swapped_alert() 227 DL_FOREACH (g_observer->clients, client) { in input_node_gain_alert() 241 DL_FOREACH (g_observer->clients, client) { in suspend_changed_alert() [all …]
|
D | cras_alsa_card.c | 91 DL_FOREACH (alsa_card->iodevs, node) { in create_iodev_for_device() 141 DL_FOREACH (alsa_card->iodevs, node) { in card_has_hctl_jack() 168 DL_FOREACH (controls, control) { in filter_controls() 334 DL_FOREACH (ucm_sections, section) { in add_controls_and_iodevs_with_ucm() 347 DL_FOREACH (ucm_sections, section) { in add_controls_and_iodevs_with_ucm() 383 DL_FOREACH (ucm_sections, section) { in add_controls_and_iodevs_with_ucm() 384 DL_FOREACH (alsa_card->iodevs, node) { in add_controls_and_iodevs_with_ucm() 401 DL_FOREACH (alsa_card->iodevs, node) { in add_controls_and_iodevs_with_ucm() 420 DL_FOREACH (alsa_card->iodevs, dev_node) { in configure_echo_reference_dev() 428 DL_FOREACH (alsa_card->iodevs, echo_ref_node) { in configure_echo_reference_dev() [all …]
|
D | stream_list.c | 36 DL_FOREACH (list->streams_to_delete, to_delete) { in delete_streams() 98 DL_FOREACH (list->streams, next_stream) { in stream_list_add() 137 DL_FOREACH (list->streams, to_remove) { in stream_list_rm_all_client_streams() 156 DL_FOREACH (list->streams, rstream) { in stream_list_has_pinned_stream() 174 DL_FOREACH (list->streams, next_stream) { in detect_rtc_stream_pair()
|
D | cras_server.c | 204 DL_FOREACH (serv->clients_head, c) { in send_client_list_to_clients() 294 DL_FOREACH (serv->client_callbacks, client_cb) in add_select_fd() 326 DL_FOREACH (serv->client_callbacks, client_cb) in rm_select_fd() 366 DL_FOREACH (serv->client_callbacks, client_cb) in cleanup_select_fds() 637 DL_FOREACH (server_instance.clients_head, elm) { in cras_server_run() 643 DL_FOREACH (server_instance.client_callbacks, client_cb) { in cras_server_run() 654 DL_FOREACH (tasks, system_task) { in cras_server_run() 687 DL_FOREACH (server_instance.clients_head, elm) in cras_server_run() 691 DL_FOREACH (server_instance.client_callbacks, client_cb) in cras_server_run() 718 DL_FOREACH (server_instance.clients_head, client) in cras_server_send_to_all_clients()
|
D | cras_hfp_ag_profile.c | 148 DL_FOREACH (connected_ags, ag) { in has_audio_gateway() 159 DL_FOREACH (connected_ags, ag) in cras_hfp_ag_release() 209 DL_FOREACH (connected_ags, ag) { in check_for_conflict_ag() 227 DL_FOREACH (connected_ags, ag) { in cras_hfp_ag_remove_conflict() 290 DL_FOREACH (connected_ags, ag) { in cras_hfp_ag_request_disconnection() 362 DL_FOREACH (connected_ags, ag) { in cras_hsp_ag_request_disconnection() 451 DL_FOREACH (connected_ags, ag) { in cras_hfp_ag_get_slc()
|
D | cras_alsa_mixer.c | 182 DL_FOREACH (control->elements, elem) { in mixer_control_destroy() 196 DL_FOREACH (control_list, control) { in mixer_control_destroy_list() 334 DL_FOREACH (mixer_names, m_name) { in mixer_control_create_by_name() 365 DL_FOREACH (control->elements, elem) { in mixer_control_set_dBFS() 394 DL_FOREACH (control->elements, elem) { in mixer_control_get_dBFS() 423 DL_FOREACH (control->elements, elem) { in mixer_control_set_mute() 461 DL_FOREACH (cmix->main_volume_controls, next) { in add_main_volume_control() 554 DL_FOREACH (control_list, control) in list_controls() 563 DL_FOREACH (control_list, c) { in get_control_matching_name() 855 DL_FOREACH (mixer_names, m_name) { in cras_alsa_mixer_add_main_volume_control_by_name() [all …]
|
D | audio_thread.c | 141 DL_FOREACH (iodev_callbacks, iodev_cb) in audio_thread_add_events_callback() 159 DL_FOREACH (iodev_callbacks, iodev_cb) { in audio_thread_rm_callback() 173 DL_FOREACH (iodev_callbacks, iodev_cb) { in audio_thread_config_events_callback() 369 DL_FOREACH (thread->open_devs[rstream->direction], open_dev) { in thread_find_stream() 370 DL_FOREACH (open_dev->dev->streams, s) { in thread_find_stream() 464 DL_FOREACH (idev_list, adev) { in thread_set_aec_dump() 468 DL_FOREACH (adev->dev->streams, stream) { in thread_set_aec_dump() 636 DL_FOREACH (thread->open_devs[CRAS_STREAM_OUTPUT], adev) { in handle_audio_thread_message() 640 DL_FOREACH (adev->dev->streams, curr) { in handle_audio_thread_message() 648 DL_FOREACH (thread->open_devs[CRAS_STREAM_INPUT], adev) { in handle_audio_thread_message() [all …]
|
D | cras_alsa_mixer_name.c | 53 DL_FOREACH (names, m_name) { in mixer_name_free() 68 DL_FOREACH (names, m_name) { in mixer_name_find() 126 DL_FOREACH (names, m_name) { in mixer_name_dump()
|
D | cras_alsa_plugin_io.c | 104 DL_FOREACH (plugin->hctl_poll_fds, poll_fd) { in cleanup_poll_descriptors() 153 DL_FOREACH (ucm_sections, section) { in alsa_plugin_io_create() 168 DL_FOREACH (ucm_sections, section) { in alsa_plugin_io_create() 200 DL_FOREACH (plugins, plugin) in alsa_pluigin_io_destroy_all()
|
D | cras_main_message.c | 32 DL_FOREACH (main_msg_callbacks, msg_cb) { in cras_main_message_add_handler() 93 DL_FOREACH (main_msg_callbacks, main_msg_cb) { in handle_main_messages()
|
D | cras_apm_list.c | 152 DL_FOREACH (active_apms, active) { in update_process_reverse_flag() 195 DL_FOREACH (active_apms, active) { in get_active_apm() 221 DL_FOREACH (list->apms, apm) { in cras_apm_list_remove_apm() 274 DL_FOREACH (list->apms, apm) in cras_apm_list_add_apm() 384 DL_FOREACH (list->apms, apm) { in cras_apm_list_destroy() 474 DL_FOREACH (active_apms, active) { in process_reverse()
|
D | cras_tm.c | 93 DL_FOREACH (tm->timers, t) { in cras_tm_deinit() 110 DL_FOREACH (tm->timers, t) in cras_tm_get_next_timeout()
|
D | cras_bt_profile.c | 410 DL_FOREACH (profiles, profile) { in cras_bt_register_profiles() 459 DL_FOREACH (profiles, profile) in cras_bt_profile_reset() 466 DL_FOREACH (profiles, profile) { in cras_bt_profile_get() 477 DL_FOREACH (profiles, profile) in cras_bt_profile_on_device_disconnected()
|
D | cras_system_state.c | 115 DL_FOREACH (state.ignore_suffix_cards, card) { in deinit_ignore_suffix_cards() 430 DL_FOREACH (state.ignore_suffix_cards, card) { in cras_system_check_ignore_ucm_suffix() 458 DL_FOREACH (state.cards, card) { in cras_system_add_alsa_card() 480 DL_FOREACH (state.cards, card) { in cras_system_remove_alsa_card() 496 DL_FOREACH (state.cards, card) in cras_system_alsa_card_exists()
|
D | cras_bt_adapter.c | 134 DL_FOREACH (adapters, adapter) { in cras_bt_adapter_get() 148 DL_FOREACH (adapters, adapter) { in cras_bt_adapter_get_list() 312 DL_FOREACH (adapters, adapter) { in on_get_supported_capabilities_reply()
|
D | cras_bt_io.c | 340 DL_FOREACH (iodev->nodes, node) { in update_active_node() 586 DL_FOREACH (bt_iodev->nodes, node) { in cras_bt_io_free_resources() 615 DL_FOREACH (bt_iodev->nodes, node) { in cras_bt_io_get_profile() 677 DL_FOREACH (bt_iodev->nodes, node) { in cras_bt_io_try_remove() 697 DL_FOREACH (bt_iodev->nodes, node) { in cras_bt_io_remove()
|
D | cras_dsp.c | 135 DL_FOREACH (context_list, ctx) { in cmd_reload_ini() 249 DL_FOREACH (context_list, ctx) { in cras_dsp_dump_info()
|
D | cras_iodev.c | 134 DL_FOREACH (odev->streams, curr) { in dev_playback_frames() 834 DL_FOREACH (iodev->streams, out) { in cras_iodev_rm_stream() 871 DL_FOREACH (iodev->streams, out) { in cras_iodev_rm_stream() 905 DL_FOREACH (iodev->streams, curr) { in cras_iodev_max_stream_offset() 926 DL_FOREACH (iodev->loopbacks, loopback) { in cras_iodev_open() 1045 DL_FOREACH (iodev->loopbacks, loopback) { in cras_iodev_close() 1108 DL_FOREACH (iodev->loopbacks, loopback) { in cras_iodev_put_output_buffer() 1121 DL_FOREACH (iodev->loopbacks, loopback) { in cras_iodev_put_output_buffer()
|
D | cras_bt_endpoint.c | 510 DL_FOREACH (endpoints, endpoint) in cras_bt_register_endpoints() 569 DL_FOREACH (endpoints, endpoint) in cras_bt_endpoint_reset() 577 DL_FOREACH (endpoints, endpoint) { in cras_bt_endpoint_get()
|
D | cras_alsa_io.c | 610 DL_FOREACH (iodev->nodes, n) { in first_plugged_node() 623 DL_FOREACH (iodev->nodes, n) { in update_active_node() 877 DL_FOREACH (aio->base.nodes, node) { in free_alsa_iodev_resources() 915 DL_FOREACH (aio->base.nodes, node) in has_node() 1161 DL_FOREACH (aio->base.nodes, tmp) in check_auto_unplug_output_node() 1165 DL_FOREACH (aio->base.nodes, tmp) { in check_auto_unplug_output_node() 1250 DL_FOREACH (aio->base.nodes, tmp) in check_auto_unplug_input_node() 1254 DL_FOREACH (aio->base.nodes, tmp) in check_auto_unplug_input_node() 1755 DL_FOREACH (aio->base.nodes, ionode) { in build_softvol_scalers() 2371 DL_FOREACH (iodev->nodes, node) { in alsa_iodev_ucm_complete_init() [all …]
|
D | cras_alsa_ucm.c | 623 DL_FOREACH (section_names, c) { in ucm_get_dev_for_jack() 637 DL_FOREACH (section_names, c) { in ucm_get_dev_for_jack() 663 DL_FOREACH (section_names, c) { in ucm_get_dev_for_mixer() 1193 DL_FOREACH (section_names, c) { in ucm_list_section_devices_by_device_name() 1198 DL_FOREACH (section_names, c) { in ucm_list_section_devices_by_device_name()
|
/external/adhd/cras/src/tests/ |
D | .clang-format | 10 - 'DL_FOREACH'
|