/system/bt/btcore/include/ |
bdaddr.h | 35 bool bdaddr_is_empty(const bt_bdaddr_t *addr); 39 bool bdaddr_equals(const bt_bdaddr_t *first, const bt_bdaddr_t *second); 43 bt_bdaddr_t *bdaddr_copy(bt_bdaddr_t *dest, const bt_bdaddr_t *src); 49 const char *bdaddr_to_string(const bt_bdaddr_t *addr, char *string, size_t size); 54 // Converts |string| to bt_bdaddr_t and places it in |addr|. If |string| does not 57 bool string_to_bdaddr(const char *string, bt_bdaddr_t *addr);
|
/system/bt/device/include/classic/ |
peer.h | 31 classic_peer_t *classic_peer_by_address(bt_bdaddr_t *address); 34 const bt_bdaddr_t *classic_peer_get_address(classic_peer_t *peer);
|
/system/bt/btif/include/ |
btif_profile_queue.h | 30 typedef bt_status_t (*btif_connect_cb_t) (bt_bdaddr_t *bda, uint16_t uuid); 32 bt_status_t btif_queue_connect(uint16_t uuid, const bt_bdaddr_t *bda, btif_connect_cb_t connect_cb);
|
btif_api.h | 131 bt_status_t btif_get_remote_device_property( bt_bdaddr_t *remote_addr, 143 bt_status_t btif_get_remote_device_properties( bt_bdaddr_t *remote_addr); 156 bt_status_t btif_set_remote_device_property( bt_bdaddr_t *remote_addr, 169 bt_status_t btif_get_remote_service_record( bt_bdaddr_t *remote_addr, 209 bt_status_t btif_dm_create_bond(const bt_bdaddr_t *bd_addr, int transport); 220 bt_status_t btif_dm_cancel_bond(const bt_bdaddr_t *bd_addr); 231 bt_status_t btif_dm_remove_bond(const bt_bdaddr_t *bd_addr); 242 uint16_t btif_dm_get_connection_state(const bt_bdaddr_t *bd_addr); 253 bt_status_t btif_dm_pin_reply( const bt_bdaddr_t *bd_addr, uint8_t accept, 265 bt_status_t btif_dm_passkey_reply( const bt_bdaddr_t *bd_addr [all...] |
btif_storage.h | 75 bt_status_t btif_storage_get_remote_device_property(bt_bdaddr_t *remote_bd_addr, 89 bt_status_t btif_storage_set_remote_device_property(bt_bdaddr_t *remote_bd_addr, 104 bt_status_t btif_storage_add_remote_device(bt_bdaddr_t *remote_bd_addr, 119 bt_status_t btif_storage_add_bonded_device(bt_bdaddr_t *remote_bd_addr, 134 bt_status_t btif_storage_remove_bonded_device(bt_bdaddr_t *remote_bd_addr); 231 bt_status_t btif_storage_add_hid_device_info(bt_bdaddr_t *remote_bd_addr, 260 bt_status_t btif_storage_remove_hid_info(bt_bdaddr_t *remote_bd_addr); 285 BOOLEAN btif_storage_is_device_autopair_blacklisted(bt_bdaddr_t *remote_bd_addr); 298 bt_status_t btif_storage_add_device_to_autopair_blacklist(bt_bdaddr_t *remote_bd_addr); 310 BOOLEAN btif_storage_is_fixed_pin_zeros_keyboard(bt_bdaddr_t *remote_bd_addr) [all...] |
btif_hh.h | 62 bt_bdaddr_t bd_addr; 78 bt_bdaddr_t bd_addr; 103 extern void btif_hh_remove_device(bt_bdaddr_t bd_addr); 104 BOOLEAN btif_hh_add_added_dev(bt_bdaddr_t bda, tBTA_HH_ATTR_MASK attr_mask); 105 extern bt_status_t btif_hh_virtual_unplug(bt_bdaddr_t *bd_addr); 106 extern void btif_hh_disconnect(bt_bdaddr_t *bd_addr); 110 BOOLEAN btif_hh_add_added_dev(bt_bdaddr_t bd_addr, tBTA_HH_ATTR_MASK attr_mask);
|
btif_debug_conn.h | 31 void btif_debug_conn_state(const bt_bdaddr_t bda, const btif_debug_conn_state_t state,
|
btif_sock_l2cap.h | 17 bt_status_t btsock_l2cap_connect(const bt_bdaddr_t *bd_addr,
|
btif_sock_rfc.h | 34 bt_status_t btsock_rfc_connect(const bt_bdaddr_t *bd_addr, const uint8_t* uuid,
|
btif_sock_sco.h | 28 bt_status_t btsock_sco_connect(const bt_bdaddr_t *bd_addr, int *sock_fd, int flags);
|
/system/bt/btcore/src/ |
bdaddr.c | 26 bool bdaddr_is_empty(const bt_bdaddr_t *addr) { 29 uint8_t zero[sizeof(bt_bdaddr_t)] = { 0 }; 30 return memcmp(addr, &zero, sizeof(bt_bdaddr_t)) == 0; 33 bool bdaddr_equals(const bt_bdaddr_t *first, const bt_bdaddr_t *second) { 37 return memcmp(first, second, sizeof(bt_bdaddr_t)) == 0; 40 bt_bdaddr_t *bdaddr_copy(bt_bdaddr_t *dest, const bt_bdaddr_t *src) { 44 return (bt_bdaddr_t *)memcpy(dest, src, sizeof(bt_bdaddr_t)) [all...] |
/hardware/libhardware/include/hardware/ |
bt_hf.h | 80 typedef void (* bthf_connection_state_callback)(bthf_connection_state_t state, bt_bdaddr_t *bd_addr); 85 typedef void (* bthf_audio_state_callback)(bthf_audio_state_t state, bt_bdaddr_t *bd_addr); 90 typedef void (* bthf_vr_cmd_callback)(bthf_vr_state_t state, bt_bdaddr_t *bd_addr); 94 typedef void (* bthf_answer_call_cmd_callback)(bt_bdaddr_t *bd_addr); 98 typedef void (* bthf_hangup_call_cmd_callback)(bt_bdaddr_t *bd_addr); 103 typedef void (* bthf_volume_cmd_callback)(bthf_volume_type_t type, int volume, bt_bdaddr_t *bd_addr); 108 typedef void (* bthf_dial_call_cmd_callback)(char *number, bt_bdaddr_t *bd_addr); 113 typedef void (* bthf_dtmf_cmd_callback)(char tone, bt_bdaddr_t *bd_addr); 118 typedef void (* bthf_nrec_cmd_callback)(bthf_nrec_t nrec, bt_bdaddr_t *bd_addr); 123 typedef void (* bthf_wbs_callback)(bthf_wbs_config_t wbs, bt_bdaddr_t *bd_addr) [all...] |
bt_av.h | 42 bt_bdaddr_t *bd_addr); 48 bt_bdaddr_t *bd_addr); 56 typedef void (* btav_audio_config_callback)(bt_bdaddr_t *bd_addr, 92 bt_status_t (*connect)( bt_bdaddr_t *bd_addr ); 95 bt_status_t (*disconnect)( bt_bdaddr_t *bd_addr );
|
bt_hh.h | 90 typedef void (* bthh_connection_state_callback)(bt_bdaddr_t *bd_addr, bthh_connection_state_t state); 95 typedef void (* bthh_virtual_unplug_callback)(bt_bdaddr_t *bd_addr, bthh_status_t hh_status); 100 typedef void (* bthh_hid_info_callback)(bt_bdaddr_t *bd_addr, bthh_hid_info_t hid_info); 105 typedef void (* bthh_protocol_mode_callback)(bt_bdaddr_t *bd_addr, bthh_status_t hh_status, bthh_protocol_mode_t mode); 109 typedef void (* bthh_idle_time_callback)(bt_bdaddr_t *bd_addr, bthh_status_t hh_status, int idle_rate); 115 typedef void (* bthh_get_report_callback)(bt_bdaddr_t *bd_addr, bthh_status_t hh_status, uint8_t* rpt_data, int rpt_size); 120 typedef void (* bthh_handshake_callback)(bt_bdaddr_t *bd_addr, bthh_status_t hh_status); 151 bt_status_t (*connect)( bt_bdaddr_t *bd_addr); 154 bt_status_t (*disconnect)( bt_bdaddr_t *bd_addr ); 157 bt_status_t (*virtual_unplug)(bt_bdaddr_t *bd_addr) [all...] |
bt_mce.h | 32 typedef void (*btmce_remote_mas_instances_callback)(bt_status_t status, bt_bdaddr_t *bd_addr, 49 bt_status_t (*get_remote_mas_instances)(bt_bdaddr_t *bd_addr);
|
bt_pan.h | 42 const bt_bdaddr_t *bd_addr, int local_role, int remote_role); 72 bt_status_t (*connect)(const bt_bdaddr_t *bd_addr, int local_role, int remote_role); 76 bt_status_t (*disconnect)(const bt_bdaddr_t *bd_addr);
|
bt_sock.h | 36 bt_bdaddr_t bd_addr; 67 bt_status_t (*connect)(const bt_bdaddr_t *bd_addr, btsock_type_t type, const uint8_t* uuid,
|
bluetooth.h | 57 } __attribute__((packed))bt_bdaddr_t; typedef in typeref:struct:__anon24638 171 * Data type - bt_bdaddr_t 209 * Data type - Array of bt_bdaddr_t of the bonded remote devices 306 bt_bdaddr_t *bd_addr, 320 typedef void (*pin_request_callback)(bt_bdaddr_t *remote_bd_addr, 328 typedef void (*ssp_request_callback)(bt_bdaddr_t *remote_bd_addr, 337 bt_bdaddr_t *remote_bd_addr, 341 typedef void (*acl_state_changed_callback)(bt_status_t status, bt_bdaddr_t *remote_bd_addr, 457 * bt_bdaddr_t or bt_bdname_t or bt_scanmode_t etc 462 int (*get_remote_device_properties)(bt_bdaddr_t *remote_addr) [all...] |
bt_common_types.h | 37 bt_bdaddr_t bd_addr;
|
/system/bt/btcore/test/ |
bdaddr_test.cpp | 26 bt_bdaddr_t test_address; 33 bt_bdaddr_t test_address0; 34 bt_bdaddr_t test_address1; 42 bt_bdaddr_t test_address0; 43 bt_bdaddr_t test_address1;
|
/system/bt/device/include/ |
interop.h | 42 bool interop_match(const interop_feature_t feature, const bt_bdaddr_t *addr);
|
/system/bt/device/src/classic/ |
peer.c | 34 bt_bdaddr_t address; 84 classic_peer_t *classic_peer_by_address(bt_bdaddr_t *address) { 110 const bt_bdaddr_t *classic_peer_get_address(classic_peer_t *peer) { 119 return bdaddr_equals((bt_bdaddr_t *)x, (bt_bdaddr_t *)y);
|
/system/bt/device/test/ |
interop_test.cpp | 26 bt_bdaddr_t test_address; 34 bt_bdaddr_t test_address;
|
/packages/apps/Bluetooth/jni/ |
com_android_bluetooth_hfp.cpp | 71 static jbyteArray marshall_bda(bt_bdaddr_t* bd_addr) 74 addr = sCallbackEnv->NewByteArray(sizeof(bt_bdaddr_t)); 80 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte *) bd_addr); 84 static void connection_state_callback(bthf_connection_state_t state, bt_bdaddr_t* bd_addr) { 90 addr = sCallbackEnv->NewByteArray(sizeof(bt_bdaddr_t)); 97 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte*) bd_addr); 104 static void audio_state_callback(bthf_audio_state_t state, bt_bdaddr_t* bd_addr) { 108 addr = sCallbackEnv->NewByteArray(sizeof(bt_bdaddr_t)); 115 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte *) bd_addr); 121 static void voice_recognition_callback(bthf_vr_state_t state, bt_bdaddr_t* bd_addr) [all...] |
/system/bt/device/test/classic/ |
peer_test.cpp | 49 bt_bdaddr_t test_address; 61 bt_bdaddr_t test_address; 73 bt_bdaddr_t test_address0; 74 bt_bdaddr_t test_address1;
|