/external/adhd/cras/src/server/ |
D | cras_iodev.h | 119 struct cras_ionode { struct 138 struct cras_ionode *prev, *next; argument 251 struct cras_ionode *node, int enable); 284 struct cras_ionode *nodes; 285 struct cras_ionode *active_node; 437 struct cras_ionode *node, int enable); 444 void cras_ionode_plug_event(struct cras_ionode *node, int plugged); 447 int cras_ionode_better(struct cras_ionode *a, struct cras_ionode *b); 450 void cras_iodev_set_node_plugged(struct cras_ionode *node, int plugged); 453 void cras_iodev_add_node(struct cras_iodev *iodev, struct cras_ionode *node); [all …]
|
D | cras_iodev_list.h | 213 int cras_iodev_list_node_selected(struct cras_ionode *node); 216 void cras_iodev_list_notify_node_volume(struct cras_ionode *node); 219 void cras_iodev_list_notify_node_capture_gain(struct cras_ionode *node); 222 void cras_iodev_list_notify_node_left_right_swapped(struct cras_ionode *node);
|
D | cras_bt_io.c | 29 struct cras_ionode base; 57 static struct cras_ionode *add_profile_dev(struct cras_iodev *bt_iodev, in add_profile_dev() 331 struct cras_ionode *node; in update_active_node() 477 struct cras_ionode *node; in cras_bt_io_create() 579 struct cras_ionode *node; in cras_bt_io_free_resources() 611 struct cras_ionode *cras_bt_io_get_profile(struct cras_iodev *bt_iodev, in cras_bt_io_get_profile() 614 struct cras_ionode *node; in cras_bt_io_get_profile() 626 struct cras_ionode *node; in cras_bt_io_append() 670 struct cras_ionode *node; in cras_bt_io_try_remove() 694 struct cras_ionode *node; in cras_bt_io_remove()
|
D | cras_alsa_io.c | 88 struct cras_ionode base; 96 struct cras_ionode base; 171 struct cras_ionode *ionode, 603 static struct cras_ionode *first_plugged_node(struct cras_iodev *iodev) in first_plugged_node() 605 struct cras_ionode *n; in first_plugged_node() 620 struct cras_ionode *n; in update_active_node() 833 struct cras_ionode *node, int enable) in set_alsa_node_swapped() 869 struct cras_ionode *node; in free_alsa_iodev_resources() 913 struct cras_ionode *node; in has_node() 936 static void drop_node_name(struct cras_ionode *node) in drop_node_name() [all …]
|
D | cras_iodev_list.c | 115 static struct cras_ionode *find_node(struct cras_iodev *iodev, in find_node() 118 struct cras_ionode *node; in find_node() 193 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() 1346 struct cras_ionode *node; in cras_iodev_list_get_sco_pcm_iodev() 1624 struct cras_ionode *node; in set_node_plugged() 1636 struct cras_ionode *node; in set_node_volume() 1658 struct cras_ionode *node; in set_node_capture_gain() 1689 struct cras_ionode *node; in set_node_left_right_swapped() 1741 void cras_iodev_list_notify_node_volume(struct cras_ionode *node) in cras_iodev_list_notify_node_volume() [all …]
|
D | cras_hfp_iodev.c | 271 struct cras_ionode *node; in hfp_free_resources() 291 struct cras_ionode *node; in hfp_iodev_create() 326 node = (struct cras_ionode *)calloc(1, sizeof(*node)); in hfp_iodev_create()
|
D | cras_bt_io.h | 22 struct cras_ionode *cras_bt_io_get_profile(struct cras_iodev *bt_iodev,
|
D | cras_alsa_io.h | 15 struct cras_ionode;
|
D | cras_empty_iodev.c | 176 struct cras_ionode *node; in empty_iodev_create() 203 node = (struct cras_ionode *)calloc(1, sizeof(*node)); in empty_iodev_create()
|
D | test_iodev.c | 170 struct cras_ionode *node; in test_iodev_create() 205 node = (struct cras_ionode *)calloc(1, sizeof(*node)); in test_iodev_create()
|
D | cras_iodev.c | 604 struct cras_ionode *node, int enable) in cras_iodev_dsp_set_swap_mode_for_node() 684 void cras_iodev_set_node_plugged(struct cras_ionode *node, int plugged) in cras_iodev_set_node_plugged() 703 void cras_iodev_add_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_add_node() 709 void cras_iodev_rm_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_rm_node() 716 struct cras_ionode *node) in cras_iodev_set_active_node() 722 bool cras_iodev_is_aec_use_case(const struct cras_ionode *node) in cras_iodev_is_aec_use_case() 735 bool cras_iodev_is_on_internal_card(const struct cras_ionode *node) in cras_iodev_is_on_internal_card()
|
D | cras_hfp_alsa_iodev.c | 243 struct cras_ionode *node; in hfp_alsa_iodev_create() 320 struct cras_ionode *node; in hfp_alsa_iodev_destroy()
|
D | cras_loopback_iodev.c | 316 struct cras_ionode *node; in loopback_iodev_create() 335 node = (struct cras_ionode *)calloc(1, sizeof(*node)); in loopback_iodev_create()
|
D | cras_a2dp_iodev.c | 596 struct cras_ionode *node; in free_resources() 614 struct cras_ionode *node; in a2dp_iodev_create() 664 node = (struct cras_ionode *)calloc(1, sizeof(*node)); in a2dp_iodev_create()
|
/external/adhd/cras/src/tests/ |
D | bt_io_unittest.cc | 142 static struct cras_ionode node_; 143 static struct cras_ionode node2_; 156 struct cras_ionode BtIoBasicSuite::node_; 157 struct cras_ionode BtIoBasicSuite::node2_; 374 void cras_iodev_add_node(struct cras_iodev* iodev, struct cras_ionode* node) { in cras_iodev_add_node() 379 void cras_iodev_rm_node(struct cras_iodev* iodev, struct cras_ionode* node) { in cras_iodev_rm_node() 389 struct cras_ionode* node) { in cras_iodev_set_active_node() 394 int cras_iodev_set_node_attr(struct cras_ionode* ionode, in cras_iodev_set_node_attr()
|
D | iodev_stub.cc | 26 std::unordered_map<const cras_ionode*, int> on_internal_card_map; 46 void iodev_stub_on_internal_card(cras_ionode* node, int data) { in iodev_stub_on_internal_card() 218 bool cras_iodev_is_on_internal_card(const struct cras_ionode* node) { in cras_iodev_is_on_internal_card()
|
D | empty_iodev_unittest.cc | 79 void cras_iodev_add_node(struct cras_iodev* iodev, struct cras_ionode* node) { in cras_iodev_add_node() 84 struct cras_ionode* node) { in cras_iodev_set_active_node()
|
D | dev_io_stubs.h | 28 using IonodePtr = std::unique_ptr<cras_ionode, decltype(free)*>; 75 cras_ionode* active_node);
|
D | dev_io_stubs.cc | 103 reinterpret_cast<cras_ionode*>(calloc(1, sizeof(cras_ionode))), free); in create_ionode() 115 cras_ionode* active_node) { in create_open_iodev()
|
D | hfp_iodev_unittest.cc | 230 void cras_iodev_add_node(struct cras_iodev* iodev, struct cras_ionode* node) { in cras_iodev_add_node() 235 void cras_iodev_rm_node(struct cras_iodev* iodev, struct cras_ionode* node) { in cras_iodev_rm_node() 241 struct cras_ionode* node) { in cras_iodev_set_active_node()
|
D | bt_device_unittest.cc | 22 static struct cras_ionode* cras_bt_io_get_profile_ret; 156 bt_iodev1.nodes = reinterpret_cast<struct cras_ionode*>(0x123); in TEST_F() 558 struct cras_ionode* cras_bt_io_get_profile( in cras_bt_io_get_profile() 650 void cras_iodev_set_node_plugged(struct cras_ionode* ionode, int plugged) { in cras_iodev_set_node_plugged() 663 void cras_iodev_list_notify_node_volume(struct cras_ionode* node) {} in cras_iodev_list_notify_node_volume()
|
D | iodev_stub.h | 17 void iodev_stub_on_internal_card(cras_ionode* node, int data);
|
D | iodev_unittest.cc | 38 static struct cras_ionode* node_selected; 579 struct cras_ionode ionode; in TEST() 613 struct cras_ionode ionode; in TEST() 687 struct cras_ionode ionode; in TEST() 735 struct cras_ionode ionode; in TEST() 1063 struct cras_ionode ionode, ionode2; in TEST() 1093 struct cras_ionode ionode; in TEST() 1107 struct cras_ionode ionode; in TEST() 1139 struct cras_ionode ionode; in TEST() 1169 struct cras_ionode ionode; in TEST() [all …]
|
D | loopback_iodev_unittest.cc | 238 void cras_iodev_add_node(struct cras_iodev* iodev, struct cras_ionode* node) { in cras_iodev_add_node() 243 struct cras_ionode* node) {} in cras_iodev_set_active_node()
|
D | hfp_alsa_iodev_unittest.cc | 464 void cras_iodev_add_node(struct cras_iodev* iodev, struct cras_ionode* node) { in cras_iodev_add_node() 469 void cras_iodev_rm_node(struct cras_iodev* iodev, struct cras_ionode* node) { in cras_iodev_rm_node() 475 struct cras_ionode* node) { in cras_iodev_set_active_node()
|