/external/adhd/cras/src/server/ |
D | cras_bt_device.h | 12 struct cras_bt_device; 29 struct cras_bt_device *cras_bt_device_create(DBusConnection *conn, 31 void cras_bt_device_destroy(struct cras_bt_device *device); 34 struct cras_bt_device *cras_bt_device_get(const char *object_path); 35 size_t cras_bt_device_get_list(struct cras_bt_device ***device_list_out); 37 const char *cras_bt_device_object_path(const struct cras_bt_device *device); 39 const struct cras_bt_device *device); 40 const char *cras_bt_device_address(const struct cras_bt_device *device); 41 const char *cras_bt_device_name(const struct cras_bt_device *device); 42 int cras_bt_device_paired(const struct cras_bt_device *device); [all …]
|
D | cras_bt_device.c | 74 struct cras_bt_device { struct 95 struct cras_bt_device *prev, *next; argument 108 struct cras_bt_device *device; 113 static struct cras_bt_device *devices; 115 void cras_bt_device_set_append_iodev_cb(struct cras_bt_device *device, in cras_bt_device_set_append_iodev_cb() 143 struct cras_bt_device *cras_bt_device_create(DBusConnection *conn, in cras_bt_device_create() 146 struct cras_bt_device *device; in cras_bt_device_create() 192 struct cras_bt_device *device, in cras_bt_device_connect_profile() 237 struct cras_bt_device *device) in cras_bt_device_disconnect() 274 void cras_bt_device_destroy(struct cras_bt_device *device) in cras_bt_device_destroy() [all …]
|
D | cras_hfp_ag_profile.c | 91 struct cras_bt_device *device; 125 static int has_audio_gateway(struct cras_bt_device *device) in has_audio_gateway() 165 static int check_for_conflict_ag(struct cras_bt_device *new_connected) in check_for_conflict_ag() 186 struct cras_bt_device *device = (struct cras_bt_device *)data; in possibly_remove_conflict_dev() 188 struct cras_bt_device *a2dp_device; in possibly_remove_conflict_dev() 215 struct cras_bt_device *device, in cras_hfp_ag_new_connection() 245 struct cras_bt_device *device) in cras_hfp_ag_request_disconnection() 279 struct cras_bt_device *device, in cras_hsp_ag_new_connection() 319 int cras_hfp_ag_start(struct cras_bt_device *device) in cras_hfp_ag_start() 350 void cras_hfp_ag_suspend_connected_device(struct cras_bt_device *device) in cras_hfp_ag_suspend_connected_device() [all …]
|
D | cras_a2dp_endpoint.c | 26 struct cras_bt_device *device; 137 struct cras_bt_device *device; in cras_a2dp_set_configuration() 146 struct cras_bt_device *device = cras_bt_transport_device(transport); in cras_a2dp_suspend() 184 void cras_a2dp_start(struct cras_bt_device *device) in cras_a2dp_start() 206 struct cras_bt_device *cras_a2dp_connected_device() in cras_a2dp_connected_device() 211 void cras_a2dp_suspend_connected_device(struct cras_bt_device *device) in cras_a2dp_suspend_connected_device()
|
D | cras_a2dp_endpoint.h | 16 struct cras_bt_device *cras_a2dp_connected_device(); 21 void cras_a2dp_suspend_connected_device(struct cras_bt_device *device); 24 void cras_a2dp_start(struct cras_bt_device *device);
|
D | cras_hfp_ag_profile.h | 49 int cras_hfp_ag_start(struct cras_bt_device *device); 56 void cras_hfp_ag_suspend_connected_device(struct cras_bt_device *device); 62 struct hfp_slc_handle *cras_hfp_ag_get_slc(struct cras_bt_device *device);
|
D | cras_bt_profile.h | 30 struct cras_bt_device *device, 33 struct cras_bt_device *device); 60 void cras_bt_profile_on_device_disconnected(struct cras_bt_device *device);
|
D | cras_a2dp_iodev.c | 198 struct cras_bt_device *device; in close_dev() 271 struct cras_bt_device *device; in flush_data() 413 struct cras_bt_device *device = in set_volume() 452 struct cras_bt_device *device; in a2dp_iodev_create() 527 struct cras_bt_device *device; in a2dp_iodev_destroy()
|
D | cras_bt_profile.c | 87 struct cras_bt_device *device; in cras_bt_profile_handle_new_connection() 157 struct cras_bt_device *device; in cras_bt_profile_handle_request_disconnection() 441 void cras_bt_profile_on_device_disconnected(struct cras_bt_device *device) in cras_bt_profile_on_device_disconnected()
|
D | cras_bt_io.c | 44 struct cras_bt_device *device; 88 static void bt_switch_to_profile(struct cras_bt_device *device, in bt_switch_to_profile() 110 static int device_using_profile(struct cras_bt_device *device, in device_using_profile() 316 struct cras_iodev *cras_bt_io_create(struct cras_bt_device *device, in cras_bt_io_create()
|
D | cras_bt_manager.c | 55 struct cras_bt_device *device; in cras_bt_interface_added() 119 struct cras_bt_device *device; in cras_bt_interface_removed() 159 struct cras_bt_device *device; in cras_bt_update_properties()
|
D | cras_hfp_iodev.h | 20 struct cras_bt_device *device,
|
D | cras_bt_io.h | 14 struct cras_iodev *cras_bt_io_create(struct cras_bt_device *device,
|
D | cras_hfp_slc.h | 29 struct cras_bt_device *device,
|
D | cras_bt_transport.h | 37 struct cras_bt_device *cras_bt_transport_device(
|
D | cras_hfp_iodev.c | 23 struct cras_bt_device *device; 215 struct cras_bt_device *device, in hfp_iodev_create()
|
D | cras_bt_transport.c | 25 struct cras_bt_device *device; 140 struct cras_bt_device *cras_bt_transport_device( in cras_bt_transport_device()
|
D | cras_hfp_slc.c | 74 struct cras_bt_device *device; 619 struct cras_bt_device *device, in hfp_slc_create()
|
/external/adhd/cras/src/tests/ |
D | bt_device_unittest.cc | 77 struct cras_bt_device *device; in TEST() 91 struct cras_bt_device *device; in TEST_F() 130 struct cras_bt_device *device; in TEST_F() 168 struct cras_bt_device *device, in cras_bt_io_create() 232 void cras_bt_profile_on_device_disconnected(struct cras_bt_device *device) in cras_bt_profile_on_device_disconnected() 237 struct hfp_slc_handle *cras_hfp_ag_get_slc(struct cras_bt_device *device) in cras_hfp_ag_get_slc() 242 void cras_hfp_ag_suspend_connected_device(struct cras_bt_device *device) in cras_hfp_ag_suspend_connected_device() 246 void cras_a2dp_suspend_connected_device(struct cras_bt_device *device) in cras_a2dp_suspend_connected_device() 250 void cras_a2dp_start(struct cras_bt_device *device) in cras_a2dp_start() 254 int cras_hfp_ag_start(struct cras_bt_device *device) in cras_hfp_ag_start()
|
D | hfp_iodev_unittest.cc | 16 static struct cras_bt_device *fake_device; 230 int cras_bt_device_sco_connect(struct cras_bt_device *device) in cras_bt_device_sco_connect() 236 const char *cras_bt_device_name(const struct cras_bt_device *device) in cras_bt_device_name() 241 const char *cras_bt_device_address(const struct cras_bt_device *device) { in cras_bt_device_address() 245 void cras_bt_device_append_iodev(struct cras_bt_device *device, in cras_bt_device_append_iodev() 252 void cras_bt_device_rm_iodev(struct cras_bt_device *device, in cras_bt_device_rm_iodev() 258 int cras_bt_device_sco_mtu(struct cras_bt_device *device, int sco_socket) in cras_bt_device_sco_mtu() 262 void cras_bt_device_iodev_buffer_size_changed(struct cras_bt_device *device) in cras_bt_device_iodev_buffer_size_changed() 265 const char *cras_bt_device_object_path(const struct cras_bt_device *device) in cras_bt_device_object_path()
|
D | bt_io_unittest.cc | 14 static struct cras_bt_device *fake_device = 15 reinterpret_cast<struct cras_bt_device*>(0x123); 417 int cras_bt_device_get_active_profile(const struct cras_bt_device *device) in cras_bt_device_get_active_profile() 422 void cras_bt_device_set_active_profile(struct cras_bt_device *device, in cras_bt_device_set_active_profile() 429 int cras_bt_device_has_a2dp(struct cras_bt_device *device) in cras_bt_device_has_a2dp() 434 int cras_bt_device_can_switch_to_a2dp(struct cras_bt_device *device) in cras_bt_device_can_switch_to_a2dp() 439 int cras_bt_device_switch_profile(struct cras_bt_device *device, in cras_bt_device_switch_profile() 446 int cras_bt_device_switch_profile_enable_dev(struct cras_bt_device *device, in cras_bt_device_switch_profile_enable_dev() 453 const char *cras_bt_device_object_path(const struct cras_bt_device *device) in cras_bt_device_object_path() 458 int cras_bt_device_get_use_hardware_volume(struct cras_bt_device *device) in cras_bt_device_get_use_hardware_volume()
|
D | a2dp_iodev_unittest.cc | 448 struct cras_bt_device *cras_bt_transport_device( in cras_bt_transport_device() 451 return reinterpret_cast<struct cras_bt_device *>(0x456);; in cras_bt_transport_device() 461 const char *cras_bt_device_name(const struct cras_bt_device *device) in cras_bt_device_name() 466 const char *cras_bt_device_object_path(const struct cras_bt_device *device) { in cras_bt_device_object_path() 470 void cras_bt_device_append_iodev(struct cras_bt_device *device, in cras_bt_device_append_iodev() 477 void cras_bt_device_rm_iodev(struct cras_bt_device *device, in cras_bt_device_rm_iodev() 483 int cras_bt_device_get_use_hardware_volume(struct cras_bt_device *device) in cras_bt_device_get_use_hardware_volume() 488 int cras_bt_device_cancel_suspend(struct cras_bt_device *device) in cras_bt_device_cancel_suspend() 493 int cras_bt_device_schedule_suspend(struct cras_bt_device *device, in cras_bt_device_schedule_suspend()
|
D | hfp_slc_unittest.cc | 26 static struct cras_bt_device *device = 27 reinterpret_cast<struct cras_bt_device *>(2); 154 void cras_bt_device_update_hardware_volume(struct cras_bt_device *device, in cras_bt_device_update_hardware_volume()
|
/external/adhd/cras/src/ |
D | Makefile.am | 585 server/cras_bt_device.c
|