/system/bt/btcore/include/ |
bdaddr.h | 37 bool bdaddr_is_empty(const bt_bdaddr_t *addr); 41 bool bdaddr_equals(const bt_bdaddr_t *first, const bt_bdaddr_t *second); 45 bt_bdaddr_t *bdaddr_copy(bt_bdaddr_t *dest, const bt_bdaddr_t *src); 51 const char *bdaddr_to_string(const bt_bdaddr_t *addr, char *string, size_t size); 56 // Converts |string| to bt_bdaddr_t and places it in |addr|. If |string| does not 59 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);
|
/hardware/libhardware/include/hardware/ |
bt_hf.h | 94 typedef void (* bthf_connection_state_callback)(bthf_connection_state_t state, bt_bdaddr_t *bd_addr); 99 typedef void (* bthf_audio_state_callback)(bthf_audio_state_t state, bt_bdaddr_t *bd_addr); 104 typedef void (* bthf_vr_cmd_callback)(bthf_vr_state_t state, bt_bdaddr_t *bd_addr); 108 typedef void (* bthf_answer_call_cmd_callback)(bt_bdaddr_t *bd_addr); 112 typedef void (* bthf_hangup_call_cmd_callback)(bt_bdaddr_t *bd_addr); 117 typedef void (* bthf_volume_cmd_callback)(bthf_volume_type_t type, int volume, bt_bdaddr_t *bd_addr); 122 typedef void (* bthf_dial_call_cmd_callback)(char *number, bt_bdaddr_t *bd_addr); 127 typedef void (* bthf_dtmf_cmd_callback)(char tone, bt_bdaddr_t *bd_addr); 132 typedef void (* bthf_nrec_cmd_callback)(bthf_nrec_t nrec, bt_bdaddr_t *bd_addr); 137 typedef void (* bthf_wbs_callback)(bthf_wbs_config_t wbs, bt_bdaddr_t *bd_addr) [all...] |
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_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_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);
|
bluetooth.h | 57 } __attribute__((packed))bt_bdaddr_t; typedef in typeref:struct:__anon30646 179 * Data type - bt_bdaddr_t 217 * Data type - Array of bt_bdaddr_t of the bonded remote devices 327 bt_bdaddr_t *bd_addr, 341 typedef void (*pin_request_callback)(bt_bdaddr_t *remote_bd_addr, 349 typedef void (*ssp_request_callback)(bt_bdaddr_t *remote_bd_addr, 358 bt_bdaddr_t *remote_bd_addr, 362 typedef void (*acl_state_changed_callback)(bt_status_t status, bt_bdaddr_t *remote_bd_addr, 482 * bt_bdaddr_t or bt_bdname_t or bt_scanmode_t etc 487 int (*get_remote_device_properties)(bt_bdaddr_t *remote_addr) [all...] |
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; 71 bt_status_t (*connect)(const bt_bdaddr_t *bd_addr, btsock_type_t type, const uint8_t* uuid,
|
bt_rc.h | 155 typedef void (* btrc_remote_features_callback)(bt_bdaddr_t *bd_addr, 299 typedef void (* btrc_connection_state_callback) (bool state, bt_bdaddr_t *bd_addr); 301 typedef void (* btrc_ctrl_getrcfeatures_callback) (bt_bdaddr_t *bd_addr, int features); 303 typedef void (* btrc_ctrl_setabsvol_cmd_callback) (bt_bdaddr_t *bd_addr, uint8_t abs_vol, uint8_t label); 305 typedef void (* btrc_ctrl_registernotification_abs_vol_callback) (bt_bdaddr_t *bd_addr, uint8_t label); 307 typedef void (* btrc_ctrl_setplayerapplicationsetting_rsp_callback) (bt_bdaddr_t *bd_addr, 310 typedef void (* btrc_ctrl_playerapplicationsetting_callback)(bt_bdaddr_t *bd_addr, 316 typedef void (* btrc_ctrl_playerapplicationsetting_changed_callback)(bt_bdaddr_t *bd_addr, 319 typedef void (* btrc_ctrl_track_changed_callback)(bt_bdaddr_t *bd_addr, uint8_t num_attr, 322 typedef void (* btrc_ctrl_play_position_changed_callback)(bt_bdaddr_t *bd_addr [all...] |
/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...] |
/system/bt/btif/include/ |
btif_api.h | 149 bt_status_t btif_get_remote_device_property( bt_bdaddr_t *remote_addr, 161 bt_status_t btif_get_remote_device_properties( bt_bdaddr_t *remote_addr); 174 bt_status_t btif_set_remote_device_property( bt_bdaddr_t *remote_addr, 187 bt_status_t btif_get_remote_service_record( bt_bdaddr_t *remote_addr, 227 bt_status_t btif_dm_create_bond(const bt_bdaddr_t *bd_addr, int transport); 238 bt_status_t btif_dm_create_bond_out_of_band(const bt_bdaddr_t *bd_addr, int transport, 250 bt_status_t btif_dm_cancel_bond(const bt_bdaddr_t *bd_addr); 261 bt_status_t btif_dm_remove_bond(const bt_bdaddr_t *bd_addr); 272 uint16_t btif_dm_get_connection_state(const bt_bdaddr_t *bd_addr); 283 bt_status_t btif_dm_pin_reply( const bt_bdaddr_t *bd_addr, uint8_t accept [all...] |
btif_profile_queue.h | 32 typedef bt_status_t (*btif_connect_cb_t) (bt_bdaddr_t *bda, uint16_t uuid); 34 bt_status_t btif_queue_connect(uint16_t uuid, const bt_bdaddr_t *bda, btif_connect_cb_t connect_cb);
|
btif_storage.h | 78 bt_status_t btif_storage_get_remote_device_property(bt_bdaddr_t *remote_bd_addr, 92 bt_status_t btif_storage_set_remote_device_property(bt_bdaddr_t *remote_bd_addr, 107 bt_status_t btif_storage_add_remote_device(bt_bdaddr_t *remote_bd_addr, 122 bt_status_t btif_storage_add_bonded_device(bt_bdaddr_t *remote_bd_addr, 137 bt_status_t btif_storage_remove_bonded_device(bt_bdaddr_t *remote_bd_addr); 234 bt_status_t btif_storage_add_hid_device_info(bt_bdaddr_t *remote_bd_addr, 263 bt_status_t btif_storage_remove_hid_info(bt_bdaddr_t *remote_bd_addr); 275 BOOLEAN btif_storage_is_restricted_device(const bt_bdaddr_t *remote_bd_addr); 278 bt_status_t btif_storage_add_ble_bonding_key( bt_bdaddr_t *remote_bd_addr, 282 bt_status_t btif_storage_get_ble_bonding_key(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_sco.h | 28 bt_status_t btsock_sco_connect(const bt_bdaddr_t *bd_addr, int *sock_fd, int flags);
|
/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 | 73 bool interop_match_addr(const interop_feature_t feature, const bt_bdaddr_t *addr); 85 // null and |length| must be greater than 0 and less than sizeof(bt_bdaddr_t). 88 void interop_database_add(const uint16_t feature, const bt_bdaddr_t *addr, size_t length);
|
/system/bt/service/common/bluetooth/util/ |
address_helper.h | 32 // Populates a bt_bdaddr_t from a given string. Returns false if the data is 34 bool BdAddrFromString(const std::string& address, bt_bdaddr_t* out_addr);
|
/system/bt/device/src/classic/ |
peer.c | 35 bt_bdaddr_t address; 85 classic_peer_t *classic_peer_by_address(bt_bdaddr_t *address) { 111 const bt_bdaddr_t *classic_peer_get_address(classic_peer_t *peer) { 120 return bdaddr_equals((bt_bdaddr_t *)x, (bt_bdaddr_t *)y);
|
/system/bt/service/hal/ |
bluetooth_interface.h | 57 bt_bdaddr_t *remote_bd_addr, 61 virtual void PinRequestCallback(bt_bdaddr_t *remote_bd_addr, 65 virtual void SSPRequestCallback(bt_bdaddr_t *remote_bd_addr, 71 bt_bdaddr_t *remote_bd_addr, 74 const bt_bdaddr_t& remote_bdaddr,
|
/system/bt/service/test/ |
util_unittest.cpp | 34 bt_bdaddr_t addr; 38 const bt_bdaddr_t result0 = {{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }}; 42 const bt_bdaddr_t result1 = {{ 0xab, 0x01, 0x4c, 0xd5, 0x21, 0x9f }};
|
/packages/apps/Bluetooth/jni/ |
com_android_bluetooth_hfp.cpp | 73 static jbyteArray marshall_bda(bt_bdaddr_t* bd_addr) 76 addr = sCallbackEnv->NewByteArray(sizeof(bt_bdaddr_t)); 82 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte *) bd_addr); 86 static void connection_state_callback(bthf_connection_state_t state, bt_bdaddr_t* bd_addr) { 92 addr = sCallbackEnv->NewByteArray(sizeof(bt_bdaddr_t)); 99 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte*) bd_addr); 106 static void audio_state_callback(bthf_audio_state_t state, bt_bdaddr_t* bd_addr) { 110 addr = sCallbackEnv->NewByteArray(sizeof(bt_bdaddr_t)); 117 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte *) bd_addr); 123 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;
|