/external/adhd/cras/src/server/ |
D | cras_iodev.h | 79 struct cras_ionode { struct 98 struct cras_ionode *prev, *next; argument 200 struct cras_ionode *node, 231 struct cras_ionode *nodes; 232 struct cras_ionode *active_node; 372 struct cras_ionode *node, 380 void cras_ionode_plug_event(struct cras_ionode *node, int plugged); 383 int cras_ionode_better(struct cras_ionode *a, struct cras_ionode *b); 391 int cras_iodev_set_node_attr(struct cras_ionode *ionode, 395 void cras_iodev_add_node(struct cras_iodev *iodev, struct cras_ionode *node); [all …]
|
D | cras_iodev_list.h | 19 struct cras_ionode; 184 int cras_iodev_list_node_selected(struct cras_ionode *node); 187 void cras_iodev_list_notify_node_volume(struct cras_ionode *node); 190 void cras_iodev_list_notify_node_capture_gain(struct cras_ionode *node); 193 void cras_iodev_list_notify_node_left_right_swapped(struct cras_ionode *node);
|
D | cras_bt_io.c | 28 struct cras_ionode base; 56 static struct cras_ionode *add_profile_dev(struct cras_iodev *bt_iodev, in add_profile_dev() 294 struct cras_ionode *node; in update_active_node() 323 struct cras_ionode *node; in cras_bt_io_create() 415 struct cras_ionode *node; in cras_bt_io_free_resources() 447 struct cras_ionode *cras_bt_io_get_profile(struct cras_iodev *bt_iodev, in cras_bt_io_get_profile() 450 struct cras_ionode *node; in cras_bt_io_get_profile() 463 struct cras_ionode *node; in cras_bt_io_append() 503 struct cras_ionode *node; in cras_bt_io_try_remove() 528 struct cras_ionode *node; in cras_bt_io_remove()
|
D | cras_alsa_io.c | 77 struct cras_ionode base; 84 struct cras_ionode base; 163 struct cras_ionode *ionode, 551 static struct cras_ionode *first_plugged_node(struct cras_iodev *iodev) in first_plugged_node() 553 struct cras_ionode *n; in first_plugged_node() 568 struct cras_ionode *n; in update_active_node() 783 struct cras_ionode *node, int enable) in set_alsa_node_swapped() 841 struct cras_ionode *node; in free_alsa_iodev_resources() 880 struct cras_ionode *node; in has_node() 903 static void drop_node_name(struct cras_ionode *node) in drop_node_name() [all …]
|
D | cras_iodev.c | 581 struct cras_ionode *node, int enable) in cras_iodev_dsp_set_swap_mode_for_node() 666 static void plug_node(struct cras_ionode *node, int plugged) in plug_node() 679 static void set_node_volume(struct cras_ionode *node, int value) in set_node_volume() 695 static void set_node_capture_gain(struct cras_ionode *node, int value) in set_node_capture_gain() 709 static void set_node_left_right_swapped(struct cras_ionode *node, int value) in set_node_left_right_swapped() 728 int cras_iodev_set_node_attr(struct cras_ionode *ionode, in cras_iodev_set_node_attr() 751 void cras_iodev_add_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_add_node() 757 void cras_iodev_rm_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_rm_node() 764 struct cras_ionode *node) in cras_iodev_set_active_node()
|
D | cras_hfp_iodev.c | 201 struct cras_ionode *node; in hfp_free_resources() 222 struct cras_ionode *node; in hfp_iodev_create() 259 node = (struct cras_ionode *)calloc(1, sizeof(*node)); in hfp_iodev_create()
|
D | cras_iodev_list.c | 111 static struct cras_ionode *find_node(cras_node_id_t id) in find_node() 114 struct cras_ionode *node; in find_node() 202 static const char *node_type_to_str(struct cras_ionode *node) in node_type_to_str() 252 struct cras_ionode *node; in fill_node_list() 1485 struct cras_ionode *node; in cras_iodev_list_set_node_attr() 1496 void cras_iodev_list_notify_node_volume(struct cras_ionode *node) in cras_iodev_list_notify_node_volume() 1503 void cras_iodev_list_notify_node_left_right_swapped(struct cras_ionode *node) in cras_iodev_list_notify_node_left_right_swapped() 1511 void cras_iodev_list_notify_node_capture_gain(struct cras_ionode *node) in cras_iodev_list_notify_node_capture_gain()
|
D | cras_bt_io.h | 22 struct cras_ionode *cras_bt_io_get_profile(
|
D | cras_empty_iodev.c | 187 struct cras_ionode *node; in empty_iodev_create() 214 node = (struct cras_ionode *)calloc(1, sizeof(*node)); in empty_iodev_create()
|
D | cras_alsa_io.h | 15 struct cras_ionode;
|
D | test_iodev.c | 179 struct cras_ionode *node; in test_iodev_create() 208 node = (struct cras_ionode *)calloc(1, sizeof(*node)); in test_iodev_create()
|
D | cras_a2dp_iodev.c | 432 struct cras_ionode *node; in free_resources() 450 struct cras_ionode *node; in a2dp_iodev_create() 501 node = (struct cras_ionode *)calloc(1, sizeof(*node)); in a2dp_iodev_create()
|
D | cras_loopback_iodev.c | 290 struct cras_ionode *node; in loopback_iodev_create() 309 node = (struct cras_ionode *)calloc(1, sizeof(*node)); in loopback_iodev_create()
|
/external/adhd/cras/src/tests/ |
D | bt_device_unittest.cc | 18 static struct cras_ionode* cras_bt_io_get_profile_ret; 93 bt_iodev1.nodes = reinterpret_cast<struct cras_ionode*>(0x123); in TEST_F() 180 struct cras_ionode* cras_bt_io_get_profile( in cras_bt_io_get_profile() 294 void cras_iodev_list_notify_node_volume(struct cras_ionode *node) in cras_iodev_list_notify_node_volume()
|
D | dev_io_stubs.cc | 91 reinterpret_cast<cras_ionode*>(calloc(1, sizeof(cras_ionode))), free); in create_ionode() 99 cras_ionode* active_node) { in create_open_iodev()
|
D | bt_io_unittest.cc | 356 void cras_iodev_add_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_add_node() 362 void cras_iodev_rm_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_rm_node() 374 struct cras_ionode *node) in cras_iodev_set_active_node() 380 int cras_iodev_set_node_attr(struct cras_ionode *ionode, in cras_iodev_set_node_attr()
|
D | dev_io_stubs.h | 27 using IonodePtr = std::unique_ptr<cras_ionode, decltype(free)*>; 76 cras_ionode* active_node);
|
D | hfp_iodev_unittest.cc | 204 void cras_iodev_add_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_add_node() 210 void cras_iodev_rm_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_rm_node() 217 struct cras_ionode *node) in cras_iodev_set_active_node()
|
D | iodev_unittest.cc | 32 static struct cras_ionode *node_selected; 122 int set_swap_mode_for_node(struct cras_iodev *iodev, struct cras_ionode *node, in set_swap_mode_for_node() 618 struct cras_ionode ionode; in TEST() 652 struct cras_ionode ionode; in TEST() 724 struct cras_ionode ionode; in TEST() 771 struct cras_ionode ionode; in TEST() 1088 struct cras_ionode ionode, ionode2; in TEST() 1115 struct cras_ionode ionode; in TEST() 1129 struct cras_ionode ionode; in TEST() 1141 struct cras_ionode ionode; in TEST() [all …]
|
D | loopback_iodev_unittest.cc | 190 void cras_iodev_add_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_add_node() 196 struct cras_ionode *node) in cras_iodev_set_active_node()
|
D | a2dp_iodev_unittest.cc | 428 void cras_iodev_add_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_add_node() 434 void cras_iodev_rm_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_rm_node() 441 struct cras_ionode *node) in cras_iodev_set_active_node()
|
D | alsa_io_unittest.cc | 101 static struct cras_ionode *cras_iodev_set_node_attr_ionode; 965 struct cras_ionode * const fake_node = (cras_ionode *)calloc( in TEST() 966 1, sizeof(struct cras_ionode)); in TEST() 1575 struct cras_ionode node; in TEST() 1763 struct cras_ionode node; in TEST() 1841 struct cras_ionode *node; in SetUp() 1887 struct cras_ionode *node; in TEST_F() 2243 struct cras_ionode *node = &alsa_node.base; in TEST() 2846 int cras_iodev_set_node_attr(struct cras_ionode *ionode, in cras_iodev_set_node_attr() 2858 void cras_iodev_add_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_add_node() [all …]
|
D | iodev_list_unittest.cc | 255 struct cras_ionode node1, node2, node3; 1181 struct cras_ionode ionode; in TEST_F() 1193 struct cras_ionode ionode; in TEST_F() 1661 void set_node_volume(struct cras_ionode *node, int value) in set_node_volume() 1677 int cras_iodev_set_node_attr(struct cras_ionode *ionode, in cras_iodev_set_node_attr() 1710 struct cras_ionode *node = (struct cras_ionode *)calloc(1, sizeof(*node)); in empty_iodev_create()
|
D | alsa_card_unittest.cc | 824 struct cras_ionode nodes[4]; in TEST()
|