Home
last modified time | relevance | path

Searched refs:cras_bt_device (Results 1 – 24 of 24) sorted by relevance

/external/adhd/cras/src/server/
Dcras_bt_device.h12 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 …]
Dcras_bt_device.c74 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 …]
Dcras_hfp_ag_profile.c91 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 …]
Dcras_a2dp_endpoint.c26 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()
Dcras_a2dp_endpoint.h16 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);
Dcras_hfp_ag_profile.h49 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);
Dcras_bt_profile.h30 struct cras_bt_device *device,
33 struct cras_bt_device *device);
60 void cras_bt_profile_on_device_disconnected(struct cras_bt_device *device);
Dcras_a2dp_iodev.c198 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()
Dcras_bt_profile.c87 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()
Dcras_bt_io.c44 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()
Dcras_bt_manager.c55 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()
Dcras_hfp_iodev.h20 struct cras_bt_device *device,
Dcras_bt_io.h14 struct cras_iodev *cras_bt_io_create(struct cras_bt_device *device,
Dcras_hfp_slc.h29 struct cras_bt_device *device,
Dcras_bt_transport.h37 struct cras_bt_device *cras_bt_transport_device(
Dcras_hfp_iodev.c23 struct cras_bt_device *device;
215 struct cras_bt_device *device, in hfp_iodev_create()
Dcras_bt_transport.c25 struct cras_bt_device *device;
140 struct cras_bt_device *cras_bt_transport_device( in cras_bt_transport_device()
Dcras_hfp_slc.c74 struct cras_bt_device *device;
619 struct cras_bt_device *device, in hfp_slc_create()
/external/adhd/cras/src/tests/
Dbt_device_unittest.cc77 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()
Dhfp_iodev_unittest.cc16 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()
Dbt_io_unittest.cc14 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()
Da2dp_iodev_unittest.cc448 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()
Dhfp_slc_unittest.cc26 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/
DMakefile.am585 server/cras_bt_device.c