/system/bt/bta/include/ |
bta_dm_api.h | 30 void bta_dm_pm_active(const RawAddress& peer_addr);
|
bta_pan_ci.h | 94 extern void bta_pan_ci_rx_writebuf(uint16_t handle, const RawAddress& src, 95 const RawAddress& dst, uint16_t protocol, 111 extern BT_HDR* bta_pan_ci_readbuf(uint16_t handle, RawAddress& src, 112 RawAddress& dst, uint16_t* p_protocol,
|
bta_dm_ci.h | 43 extern void bta_dm_ci_io_req(const RawAddress& bd_addr, tBTA_IO_CAP io_cap, 57 extern void bta_dm_ci_rmt_oob(bool accept, const RawAddress& bd_addr,
|
bta_dm_co.h | 55 extern void bta_dm_co_io_req(const RawAddress& bd_addr, tBTA_IO_CAP* p_io_cap, 76 extern void bta_dm_co_io_rsp(const RawAddress& bd_addr, tBTA_IO_CAP io_cap, 92 extern void bta_dm_co_lk_upgrade(const RawAddress& bd_addr, bool* p_upgrade); 122 extern void bta_dm_co_rmt_oob(const RawAddress& bd_addr); 193 const RawAddress& bd_addr, tBTA_IO_CAP* p_io_cap, tBTA_OOB_DATA* p_oob_data,
|
bta_hh_co.h | 51 uint8_t ctry_code, const RawAddress& peer_addr, 97 extern void bta_hh_le_co_rpt_info(const RawAddress& remote_bda, 118 const RawAddress& remote_bda, uint8_t* p_num_rpt, uint8_t app_id); 131 extern void bta_hh_le_co_reset_rpt_cache(const RawAddress& remote_bda,
|
/system/bt/types/ |
raw_address.h | 24 class RawAddress final { 30 RawAddress() = default; 31 RawAddress(const uint8_t (&addr)[6]); 33 bool operator<(const RawAddress& rhs) const { 36 bool operator==(const RawAddress& rhs) const { 39 bool operator>(const RawAddress& rhs) const { return (rhs < *this); } 40 bool operator<=(const RawAddress& rhs) const { return !(*this > rhs); } 41 bool operator>=(const RawAddress& rhs) const { return !(*this < rhs); } 42 bool operator!=(const RawAddress& rhs) const { return !(*this == rhs); } 48 // Converts |string| to RawAddress and places it in |to|. If |from| doe [all...] |
raw_address.cc | 27 static_assert(sizeof(RawAddress) == 6, "RawAddress must be 6 bytes long!"); 29 const RawAddress RawAddress::kAny{{0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}}; 30 const RawAddress RawAddress::kEmpty{{0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}; 32 RawAddress::RawAddress(const uint8_t (&addr)[6]) { 36 std::string RawAddress::ToString() const { 42 bool RawAddress::FromString(const std::string& from, RawAddress& to) [all...] |
/system/bt/types/test/ |
raw_address_unittest.cc | 27 RawAddress empty; 28 RawAddress::FromString("00:00:00:00:00:00", empty); 31 RawAddress not_empty; 32 RawAddress::FromString("00:00:00:00:00:01", not_empty); 37 RawAddress bdaddr; 38 RawAddress::FromString(test_addr, bdaddr); 53 RawAddress bdaddr1; 54 RawAddress bdaddr2; 55 RawAddress bdaddr3; 56 RawAddress::FromString(test_addr, bdaddr1) [all...] |
/hardware/libhardware/include/hardware/ |
bt_hf.h | 94 typedef void (* bthf_connection_state_callback)(bthf_connection_state_t state, RawAddress *bd_addr); 99 typedef void (* bthf_audio_state_callback)(bthf_audio_state_t state, RawAddress *bd_addr); 104 typedef void (* bthf_vr_cmd_callback)(bthf_vr_state_t state, RawAddress *bd_addr); 108 typedef void (* bthf_answer_call_cmd_callback)(RawAddress *bd_addr); 112 typedef void (* bthf_hangup_call_cmd_callback)(RawAddress *bd_addr); 117 typedef void (* bthf_volume_cmd_callback)(bthf_volume_type_t type, int volume, RawAddress *bd_addr); 122 typedef void (* bthf_dial_call_cmd_callback)(char *number, RawAddress *bd_addr); 127 typedef void (* bthf_dtmf_cmd_callback)(char tone, RawAddress *bd_addr); 132 typedef void (* bthf_nrec_cmd_callback)(bthf_nrec_t nrec, RawAddress *bd_addr); 137 typedef void (* bthf_wbs_callback)(bthf_wbs_config_t wbs, RawAddress *bd_addr) [all...] |
bt_hh.h | 90 typedef void (* bthh_connection_state_callback)(RawAddress *bd_addr, bthh_connection_state_t state); 95 typedef void (* bthh_virtual_unplug_callback)(RawAddress *bd_addr, bthh_status_t hh_status); 100 typedef void (* bthh_hid_info_callback)(RawAddress *bd_addr, bthh_hid_info_t hid_info); 105 typedef void (* bthh_protocol_mode_callback)(RawAddress *bd_addr, bthh_status_t hh_status, bthh_protocol_mode_t mode); 109 typedef void (* bthh_idle_time_callback)(RawAddress *bd_addr, bthh_status_t hh_status, int idle_rate); 115 typedef void (* bthh_get_report_callback)(RawAddress *bd_addr, bthh_status_t hh_status, uint8_t* rpt_data, int rpt_size); 120 typedef void (* bthh_handshake_callback)(RawAddress *bd_addr, bthh_status_t hh_status); 151 bt_status_t (*connect)( RawAddress *bd_addr); 154 bt_status_t (*disconnect)( RawAddress *bd_addr ); 157 bt_status_t (*virtual_unplug)(RawAddress *bd_addr) [all...] |
bt_hf_client.h | 170 typedef void (* bthf_client_connection_state_callback)(const RawAddress *bd_addr, 178 typedef void (* bthf_client_audio_state_callback)(const RawAddress *bd_addr, 184 typedef void (* bthf_client_vr_cmd_callback)(const RawAddress *bd_addr, bthf_client_vr_state_t state); 188 typedef void (* bthf_client_network_state_callback) (const RawAddress *bd_addr, 193 typedef void (* bthf_client_network_roaming_callback) (const RawAddress *bd_addr, 198 typedef void (* bthf_client_network_signal_callback) (const RawAddress *bd_addr, 203 typedef void (* bthf_client_battery_level_callback) (const RawAddress *bd_addr, 208 typedef void (* bthf_client_current_operator_callback) (const RawAddress *bd_addr, 213 typedef void (* bthf_client_call_callback) (const RawAddress *bd_addr, bthf_client_call_t call); 217 typedef void (* bthf_client_callsetup_callback) (const RawAddress *bd_addr [all...] |
bt_rc.h | 290 typedef void (* btrc_remote_features_callback)(RawAddress *bd_addr, 294 typedef void (* btrc_get_play_status_callback)(RawAddress *bd_addr); 297 typedef void (* btrc_list_player_app_attr_callback)(RawAddress *bd_addr); 301 RawAddress *bd_addr); 307 btrc_player_attr_t *p_attrs, RawAddress *bd_addr); 313 btrc_player_attr_t *p_attrs, RawAddress *bd_addr); 319 uint8_t *p_vals, RawAddress *bd_addr); 323 RawAddress *bd_addr); 329 RawAddress *bd_addr); 335 RawAddress *bd_addr) [all...] |
/system/bt/btif/include/ |
btif_storage.h | 83 const RawAddress* remote_bd_addr, bt_property_t* property); 97 const RawAddress* remote_bd_addr, bt_property_t* property); 111 bt_status_t btif_storage_add_remote_device(const RawAddress* remote_bd_addr, 126 bt_status_t btif_storage_add_bonded_device(RawAddress* remote_bd_addr, 140 bt_status_t btif_storage_remove_bonded_device(const RawAddress* remote_bd_addr); 167 RawAddress* remote_bd_addr, uint16_t attr_mask, uint8_t sub_class, 195 bt_status_t btif_storage_remove_hid_info(RawAddress* remote_bd_addr); 208 bool btif_storage_is_restricted_device(const RawAddress* remote_bd_addr); 210 bt_status_t btif_storage_add_ble_bonding_key(RawAddress* remote_bd_addr, 213 bt_status_t btif_storage_get_ble_bonding_key(RawAddress* remote_bd_addr [all...] |
btif_api.h | 149 bt_status_t btif_get_remote_device_property(RawAddress* remote_addr, 161 bt_status_t btif_get_remote_device_properties(RawAddress* remote_addr); 174 bt_status_t btif_set_remote_device_property(RawAddress* remote_addr, 187 bt_status_t btif_get_remote_service_record(RawAddress* remote_addr, 226 bt_status_t btif_dm_create_bond(const RawAddress* bd_addr, int transport); 238 const RawAddress* bd_addr, int transport, 250 bt_status_t btif_dm_cancel_bond(const RawAddress* bd_addr); 261 bt_status_t btif_dm_remove_bond(const RawAddress* bd_addr); 272 uint16_t btif_dm_get_connection_state(const RawAddress* bd_addr); 283 bt_status_t btif_dm_pin_reply(const RawAddress* bd_addr, uint8_t accept [all...] |
btif_pan_internal.h | 59 RawAddress h_dest; 60 RawAddress h_src; 68 RawAddress peer; 71 RawAddress eth_addr; 91 btpan_conn_t* btpan_new_conn(int handle, const RawAddress& addr, int local_role, 93 btpan_conn_t* btpan_find_conn_addr(const RawAddress& addr); 101 int btpan_tap_send(int tap_fd, const RawAddress& src, const RawAddress& dst, 105 static inline int is_empty_eth_addr(const RawAddress& addr) { 106 return addr == RawAddress::kEmpty [all...] |
btif_profile_queue.h | 32 typedef bt_status_t (*btif_connect_cb_t)(RawAddress* bda, uint16_t uuid); 34 bt_status_t btif_queue_connect(uint16_t uuid, const RawAddress* bda,
|
btif_debug_conn.h | 31 void btif_debug_conn_state(const RawAddress& bda,
|
/system/bt/device/test/ |
interop_test.cc | 24 RawAddress test_address; 25 RawAddress::FromString("38:2c:4a:e6:67:89", test_address); 28 RawAddress::FromString("9c:df:03:12:34:56", test_address); 33 RawAddress test_address; 34 RawAddress::FromString("00:00:00:00:00:00", test_address); 37 RawAddress::FromString("ff:ff:ff:ff:ff:ff", test_address); 39 RawAddress::FromString("42:08:15:ae:ae:ae", test_address); 42 RawAddress::FromString("38:2c:4a:59:67:89", test_address); 47 RawAddress test_address; 49 RawAddress::FromString("11:22:33:44:55:66", test_address) [all...] |
/system/bt/stack/include/ |
smp_api.h | 78 extern tSMP_STATUS SMP_Pair(const RawAddress& bd_addr); 90 extern tSMP_STATUS SMP_BR_PairWith(const RawAddress& bd_addr); 101 extern bool SMP_PairCancel(const RawAddress& bd_addr); 117 extern void SMP_SecurityGrant(const RawAddress& bd_addr, uint8_t res); 133 extern void SMP_PasskeyReply(const RawAddress& bd_addr, uint8_t res, 148 extern void SMP_ConfirmReply(const RawAddress& bd_addr, uint8_t res); 162 extern void SMP_OobDataReply(const RawAddress& bd_addr, tSMP_STATUS res, 206 extern void SMP_KeypressNotification(const RawAddress& bd_addr, uint8_t value); 224 extern bool smp_proc_ltk_request(const RawAddress& bda); 228 extern void smp_link_encrypted(const RawAddress& bda, uint8_t encr_enable) [all...] |
btm_api.h | 537 extern tBTM_STATUS BTM_ReadRemoteDeviceName(const RawAddress& remote_bda, 569 extern tBTM_STATUS BTM_ReadRemoteVersion(const RawAddress& addr, 587 extern uint8_t* BTM_ReadRemoteFeatures(const RawAddress& addr); 606 extern uint8_t* BTM_ReadRemoteExtendedFeatures(const RawAddress& addr, 619 extern uint8_t BTM_ReadNumberRemoteFeaturesPages(const RawAddress& addr); 634 extern uint8_t* BTM_ReadAllRemoteFeatures(const RawAddress& addr); 648 extern tBTM_INQ_INFO* BTM_InqDbRead(const RawAddress& p_bda); 691 extern tBTM_STATUS BTM_ClearInqDb(const RawAddress* p_bda); 719 extern tBTM_STATUS BTM_SetLinkPolicy(const RawAddress& remote_bda, 755 extern tBTM_STATUS BTM_SetLinkSuperTout(const RawAddress& remote_bda [all...] |
bnep_api.h | 84 typedef void(tBNEP_CONN_STATE_CB)(uint16_t handle, const RawAddress& rem_bda, 93 typedef void(tBNEP_CONNECT_IND_CB)(uint16_t handle, const RawAddress& bd_addr, 106 typedef void(tBNEP_DATA_BUF_CB)(uint16_t handle, const RawAddress& src, 107 const RawAddress& dst, uint16_t protocol, 120 typedef void(tBNEP_DATA_IND_CB)(uint16_t handle, const RawAddress& src, 121 const RawAddress& dst, uint16_t protocol, 185 RawAddress rem_bda; 248 extern tBNEP_RESULT BNEP_Connect(const RawAddress& p_rem_bda, 307 const RawAddress& p_dest_addr, BT_HDR* p_buf, 309 const RawAddress* p_src_addr [all...] |
btm_ble_api.h | 55 extern bool BTM_SecAddBleDevice(const RawAddress& bd_addr, BD_NAME bd_name, 74 extern bool BTM_SecAddBleKey(const RawAddress& bd_addr, 251 extern void BTM_SecurityGrant(const RawAddress& bd_addr, uint8_t res); 268 extern void BTM_BlePasskeyReply(const RawAddress& bd_addr, uint8_t res, 283 extern void BTM_BleConfirmReply(const RawAddress& bd_addr, uint8_t res); 297 extern void BTM_BleOobDataReply(const RawAddress& bd_addr, uint8_t res, 313 extern void BTM_BleSecureConnectionOobDataReply(const RawAddress& bd_addr, 332 extern bool BTM_BleDataSignature(const RawAddress& bd_addr, uint8_t* p_text, 350 extern bool BTM_BleVerifySignature(const RawAddress& bd_addr, uint8_t* p_orig, 363 extern void BTM_ReadConnectionAddr(const RawAddress& remote_bda [all...] |
/system/bt/stack/btm/ |
btm_int.h | 54 extern tBTM_STATUS btm_initiate_rem_name(const RawAddress& remote_bda, 58 extern void btm_process_remote_name(const RawAddress* bda, BD_NAME name, 64 extern void btm_clr_inq_db(const RawAddress* p_bda); 72 extern tINQ_DB_ENT* btm_inq_db_find(const RawAddress& p_bda); 73 extern bool btm_inq_find_bdaddr(const RawAddress& p_bda); 79 extern void btm_acl_created(const RawAddress& bda, DEV_CLASS dc, BD_NAME bdn, 82 extern void btm_acl_removed(const RawAddress& bda, tBT_TRANSPORT transport); 110 extern void btm_acl_role_changed(uint8_t hci_status, const RawAddress* bd_addr, 112 extern void btm_blacklist_role_change_device(const RawAddress& bd_addr, 117 extern tBTM_STATUS btm_remove_acl(const RawAddress& bd_addr [all...] |
btm_ble_int.h | 44 extern tBTM_STATUS btm_ble_read_remote_name(const RawAddress& remote_bda, 46 extern bool btm_ble_cancel_remote_name(const RawAddress& remote_bda); 62 extern void btm_ble_connected(const RawAddress& bda, uint16_t handle, 79 extern void btm_ble_link_sec_check(const RawAddress& bd_addr, 82 extern void btm_ble_ltk_request_reply(const RawAddress& bda, bool use_stk, 84 extern uint8_t btm_proc_smp_cback(tSMP_EVT event, const RawAddress& bd_addr, 86 extern tBTM_STATUS btm_ble_set_encryption(const RawAddress& bd_addr, 91 extern tBTM_STATUS btm_ble_start_encrypt(const RawAddress& bda, bool use_stk, 93 extern void btm_ble_link_encrypted(const RawAddress& bd_addr, 100 extern void btm_ble_increment_sign_ctr(const RawAddress& bd_addr [all...] |
/system/bt/stack/srvc/ |
srvc_eng_int.h | 40 RawAddress bda; 60 extern tSRVC_CLCB* srvc_eng_find_clcb_by_bd_addr(const RawAddress& bda); 61 extern uint16_t srvc_eng_find_conn_id_by_bd_addr(const RawAddress& bda); 64 extern bool srvc_eng_request_channel(const RawAddress& remote_bda, 67 extern void srvc_sr_notify(const RawAddress& remote_bda, uint16_t handle,
|