Home
last modified time | relevance | path

Searched refs:CRAS_STREAM_DIRECTION (Results 1 – 25 of 67) sorted by relevance

123

/external/adhd/cras/src/server/
Dcras_iodev_list.h94 enum CRAS_STREAM_DIRECTION direction);
103 enum CRAS_STREAM_DIRECTION direction);
131 enum CRAS_STREAM_DIRECTION direction);
149 void cras_iodev_list_select_node(enum CRAS_STREAM_DIRECTION direction,
172 void cras_iodev_list_add_active_node(enum CRAS_STREAM_DIRECTION direction,
180 void cras_iodev_list_rm_active_node(enum CRAS_STREAM_DIRECTION direction,
Dcras_alsa_mixer_name.h25 enum CRAS_STREAM_DIRECTION dir;
44 enum CRAS_STREAM_DIRECTION dir,
63 enum CRAS_STREAM_DIRECTION dir,
89 enum CRAS_STREAM_DIRECTION dir,
Dcras_alsa_ucm.h133 enum CRAS_STREAM_DIRECTION direction);
145 enum CRAS_STREAM_DIRECTION dir);
257 enum CRAS_STREAM_DIRECTION direction);
281 enum CRAS_STREAM_DIRECTION direction);
396 enum CRAS_STREAM_DIRECTION direction,
Dcras_alsa_mixer_name.c15 enum CRAS_STREAM_DIRECTION dir, in mixer_name_add()
42 enum CRAS_STREAM_DIRECTION dir, in mixer_name_add_array()
63 enum CRAS_STREAM_DIRECTION dir, in mixer_name_find()
87 static const char *mixer_name_type_str(enum CRAS_STREAM_DIRECTION dir, in mixer_name_type_str()
Dcras_system_state.h224 void cras_system_state_stream_added(enum CRAS_STREAM_DIRECTION direction);
232 void cras_system_state_stream_removed(enum CRAS_STREAM_DIRECTION direction);
242 enum CRAS_STREAM_DIRECTION direction);
Dcras_alsa_ucm_section.h20 enum CRAS_STREAM_DIRECTION dir; /* Output or Input. */
44 enum CRAS_STREAM_DIRECTION dir,
Dcras_observer.h75 void cras_observer_notify_active_node(enum CRAS_STREAM_DIRECTION dir,
94 void cras_observer_notify_num_active_streams(enum CRAS_STREAM_DIRECTION dir,
Dcras_iodev_list.c618 static void possibly_disable_fallback(enum CRAS_STREAM_DIRECTION dir) in possibly_disable_fallback()
628 static void possibly_enable_fallback(enum CRAS_STREAM_DIRECTION dir) in possibly_enable_fallback()
659 enum CRAS_STREAM_DIRECTION dir = dev->direction; in init_and_attach_streams()
858 static int possibly_close_enabled_devs(enum CRAS_STREAM_DIRECTION dir) in possibly_close_enabled_devs()
903 enum CRAS_STREAM_DIRECTION direction = rstream->direction; in stream_removed_cb()
922 enum CRAS_STREAM_DIRECTION dir = dev->direction; in enable_device()
952 enum CRAS_STREAM_DIRECTION dir = dev->direction; in disable_device()
1103 void cras_iodev_list_add_active_node(enum CRAS_STREAM_DIRECTION dir, in cras_iodev_list_add_active_node()
1166 void cras_iodev_list_rm_active_node(enum CRAS_STREAM_DIRECTION dir, in cras_iodev_list_rm_active_node()
1245 enum CRAS_STREAM_DIRECTION direction) in cras_iodev_list_get_first_enabled_iodev()
[all …]
Dcras_alsa_mixer.c61 enum CRAS_STREAM_DIRECTION dir;
132 enum CRAS_STREAM_DIRECTION dir) in mixer_control_element_create()
247 enum CRAS_STREAM_DIRECTION dir) in mixer_control_create()
312 enum CRAS_STREAM_DIRECTION dir) in mixer_control_create_by_name()
523 enum CRAS_STREAM_DIRECTION dir, in add_control_with_name()
552 enum CRAS_STREAM_DIRECTION dir, in add_control()
585 enum CRAS_STREAM_DIRECTION dir, in add_control_with_coupled_mixers()
613 enum CRAS_STREAM_DIRECTION dir, in add_control_by_name()
1098 enum CRAS_STREAM_DIRECTION dir, const char *name, in cras_alsa_mixer_get_control_matching_name()
Dcras_rstream.h73 enum CRAS_STREAM_DIRECTION direction;
114 enum CRAS_STREAM_DIRECTION direction;
177 static inline enum CRAS_STREAM_DIRECTION cras_rstream_get_direction( in cras_rstream_get_direction()
Dcras_alsa_ucm.c257 enum CRAS_STREAM_DIRECTION direction) in ucm_get_sections_for_var()
304 enum CRAS_STREAM_DIRECTION dir) in ucm_get_devices_for_var()
347 enum CRAS_STREAM_DIRECTION dir, in ucm_get_mixer_names()
550 enum CRAS_STREAM_DIRECTION direction) in ucm_get_dev_for_jack()
581 enum CRAS_STREAM_DIRECTION dir) in ucm_get_dev_for_mixer()
713 enum CRAS_STREAM_DIRECTION direction) in ucm_get_device_name_for_dev()
736 enum CRAS_STREAM_DIRECTION direction) in ucm_get_sample_rate_for_dev()
822 enum CRAS_STREAM_DIRECTION dir = CRAS_STREAM_UNDEFINED; in ucm_get_sections()
1019 enum CRAS_STREAM_DIRECTION direction, in ucm_list_section_devices_by_device_name()
Dcras_alsa_jack.c128 enum CRAS_STREAM_DIRECTION direction;
417 enum CRAS_STREAM_DIRECTION direction) in gpio_jack_match_device()
509 enum CRAS_STREAM_DIRECTION direction = jack_list->direction; in cras_complete_gpio_jack()
557 enum CRAS_STREAM_DIRECTION direction = jack_list->direction; in open_and_monitor_gpio()
610 enum CRAS_STREAM_DIRECTION direction = jack_list->direction; in open_and_monitor_gpio_with_section()
875 enum CRAS_STREAM_DIRECTION direction) in is_jack_uac2()
1121 enum CRAS_STREAM_DIRECTION direction, in cras_alsa_jack_list_create()
Dcras_dbus_control.c448 enum CRAS_STREAM_DIRECTION direction) in append_node_dict()
528 static dbus_bool_t append_nodes(enum CRAS_STREAM_DIRECTION direction, in append_nodes()
609 enum CRAS_STREAM_DIRECTION direction) in handle_set_active_node()
629 enum CRAS_STREAM_DIRECTION direction) in handle_add_active_node()
649 enum CRAS_STREAM_DIRECTION direction) in handle_rm_active_node()
1037 enum CRAS_STREAM_DIRECTION dir, in signal_active_node_changed()
1118 enum CRAS_STREAM_DIRECTION dir, in signal_num_active_streams_changed()
Dcras_observer.c55 enum CRAS_STREAM_DIRECTION direction;
74 enum CRAS_STREAM_DIRECTION direction;
487 void cras_observer_notify_active_node(enum CRAS_STREAM_DIRECTION dir, in cras_observer_notify_active_node()
540 void cras_observer_notify_num_active_streams(enum CRAS_STREAM_DIRECTION dir, in cras_observer_notify_num_active_streams()
Dcras_empty_iodev.h22 struct cras_iodev *empty_iodev_create(enum CRAS_STREAM_DIRECTION direction,
/external/adhd/cras/src/libcras/
Dcras_client.h450 enum CRAS_STREAM_DIRECTION direction,
462 enum CRAS_STREAM_DIRECTION direction,
474 enum CRAS_STREAM_DIRECTION direction,
540 enum CRAS_STREAM_DIRECTION direction,
578 enum CRAS_STREAM_DIRECTION direction,
1004 enum CRAS_STREAM_DIRECTION direction,
1021 enum CRAS_STREAM_DIRECTION direction);
1201 void* context, enum CRAS_STREAM_DIRECTION direction,
1245 void* context, enum CRAS_STREAM_DIRECTION direction,
/external/adhd/cras/src/tests/
Ddev_io_stubs.h60 CRAS_STREAM_DIRECTION direction,
67 CRAS_STREAM_DIRECTION direction,
73 IodevPtr create_open_iodev(CRAS_STREAM_DIRECTION direction,
77 DevicePtr create_device(CRAS_STREAM_DIRECTION direction,
Dalsa_jack_unittest.cc204 CRAS_STREAM_DIRECTION direction, in run_test_with_elem_list()
253 CRAS_STREAM_DIRECTION direction, in run_test_with_section()
420 enum CRAS_STREAM_DIRECTION direction, in run_gpio_jack_test()
458 enum CRAS_STREAM_DIRECTION direction = CRAS_STREAM_OUTPUT; in TEST()
475 enum CRAS_STREAM_DIRECTION direction = CRAS_STREAM_INPUT; in TEST()
492 enum CRAS_STREAM_DIRECTION direction = CRAS_STREAM_OUTPUT; in TEST()
509 enum CRAS_STREAM_DIRECTION direction = CRAS_STREAM_OUTPUT; in TEST()
526 enum CRAS_STREAM_DIRECTION direction = CRAS_STREAM_OUTPUT; in TEST()
543 enum CRAS_STREAM_DIRECTION direction = CRAS_STREAM_OUTPUT; in TEST()
560 enum CRAS_STREAM_DIRECTION direction = CRAS_STREAM_OUTPUT; in TEST()
[all …]
Ddev_io_stubs.cc35 CRAS_STREAM_DIRECTION direction, in create_rstream()
67 CRAS_STREAM_DIRECTION direction, in create_stream()
96 IodevPtr create_open_iodev(CRAS_STREAM_DIRECTION direction, in create_open_iodev()
114 DevicePtr create_device(CRAS_STREAM_DIRECTION direction, in create_device()
Dcras_monitor.c50 static const char *string_for_direction(enum CRAS_STREAM_DIRECTION dir) in string_for_direction()
83 enum CRAS_STREAM_DIRECTION dir, in node_name_for_node_id()
133 enum CRAS_STREAM_DIRECTION dir, in active_node_changed()
173 enum CRAS_STREAM_DIRECTION dir, in num_active_streams_changed()
Dcras_client_unittest.cc90 void StreamConnected(CRAS_STREAM_DIRECTION direction);
92 void StreamConnectedFail(CRAS_STREAM_DIRECTION direction);
170 void CrasClientTestSuite::StreamConnected(CRAS_STREAM_DIRECTION direction) { in StreamConnected()
222 CRAS_STREAM_DIRECTION direction) { in StreamConnectedFail()
Dobserver_unittest.cc44 static std::vector<enum CRAS_STREAM_DIRECTION> cb_active_node_changed_dir;
56 static std::vector<enum CRAS_STREAM_DIRECTION>
143 enum CRAS_STREAM_DIRECTION dir, in cb_active_node_changed()
183 enum CRAS_STREAM_DIRECTION dir, in cb_num_active_streams_changed()
422 const enum CRAS_STREAM_DIRECTION dir = CRAS_STREAM_INPUT; in TEST_F()
551 const enum CRAS_STREAM_DIRECTION dir = CRAS_STREAM_INPUT; in TEST_F()
/external/adhd/cras/src/common/
Dcras_messages.h102 enum CRAS_STREAM_DIRECTION direction; /* input/output/loopback */
122 enum CRAS_STREAM_DIRECTION direction; /* input/output/loopback */
133 enum CRAS_STREAM_DIRECTION direction, in cras_fill_connect_message()
275 enum CRAS_STREAM_DIRECTION direction;
280 enum CRAS_STREAM_DIRECTION direction, in cras_fill_select_node()
292 enum CRAS_STREAM_DIRECTION direction;
297 enum CRAS_STREAM_DIRECTION direction, in cras_fill_add_active_node()
309 enum CRAS_STREAM_DIRECTION direction;
314 enum CRAS_STREAM_DIRECTION direction, in cras_fill_rm_active_node()
678 enum CRAS_STREAM_DIRECTION direction, in cras_fill_client_active_node_changed()
[all …]
Dcras_types.h54 enum CRAS_STREAM_DIRECTION { enum
92 static inline int cras_stream_uses_output_hw(enum CRAS_STREAM_DIRECTION dir) in cras_stream_uses_output_hw()
97 static inline int cras_stream_uses_input_hw(enum CRAS_STREAM_DIRECTION dir) in cras_stream_uses_input_hw()
102 static inline int cras_stream_has_input(enum CRAS_STREAM_DIRECTION dir) in cras_stream_has_input()
107 static inline int cras_stream_is_loopback(enum CRAS_STREAM_DIRECTION dir) in cras_stream_is_loopback()
Dcras_observer_ops.h31 enum CRAS_STREAM_DIRECTION dir,
50 enum CRAS_STREAM_DIRECTION dir,

123