/system/bt/btif/src/ |
btif_hh.c | 145 extern bt_status_t btif_dm_remove_bond(const bt_bdaddr_t *bd_addr); 149 extern BOOLEAN check_cod(const bt_bdaddr_t *remote_bdaddr, uint32_t cod); 150 extern void btif_dm_cb_remove_bond(bt_bdaddr_t *bd_addr); 151 extern BOOLEAN check_cod_hid(const bt_bdaddr_t *remote_bdaddr); 153 extern void btif_dm_hh_open_failed(bt_bdaddr_t *bdaddr); 351 ** Description Return the device pointer of the specified bt_bdaddr_t. 355 static btif_hh_device_t *btif_hh_find_dev_by_bda(bt_bdaddr_t *bd_addr) 372 ** Description Return the connected device pointer of the specified bt_bdaddr_t. 376 static btif_hh_device_t *btif_hh_find_connected_dev_by_bda(bt_bdaddr_t *bd_addr) 397 void btif_hh_stop_vup_timer(bt_bdaddr_t *bd_addr [all...] |
btif_dm.c | 107 bt_bdaddr_t static_bdaddr; 156 bt_bdaddr_t bdaddr; 185 bt_bdaddr_t bd_addr; 225 static void btif_dm_cb_create_bond(bt_bdaddr_t *bd_addr, tBTA_TRANSPORT transport); 245 static void btif_stats_add_bond_event(const bt_bdaddr_t *bd_addr, 259 extern int btif_hh_connect(bt_bdaddr_t *bd_addr); 414 bt_bdaddr_t remote_bdaddr; 435 static uint32_t get_cod(const bt_bdaddr_t *remote_bdaddr) { 442 if (btif_storage_get_remote_device_property((bt_bdaddr_t *)remote_bdaddr, &prop_name) == BT_STATUS_SUCCESS) 451 BOOLEAN check_cod(const bt_bdaddr_t *remote_bdaddr, uint32_t cod [all...] |
btif_core.c | 87 bt_bdaddr_t bd_addr; 92 bt_bdaddr_t bd_addr; 112 bt_bdaddr_t btif_local_bd_addr; 133 static bool btif_fetch_property(const char *key, bt_bdaddr_t *addr); 319 static bool btif_fetch_property(const char *key, bt_bdaddr_t *addr) { 332 static void btif_fetch_local_bdaddr(bt_bdaddr_t *local_addr) 434 memset(&btif_local_bd_addr, 0, sizeof(bt_bdaddr_t)); 504 prop.len = sizeof(bt_bdaddr_t); 706 bt_bdaddr_t addr; 710 bt_bdaddr_t bonded_devices[BTM_SEC_MAX_DEVICE_RECORDS] [all...] |
btif_hf.c | 159 bt_bdaddr_t connected_bda; 201 static BOOLEAN is_connected(bt_bdaddr_t *bd_addr) 224 static int btif_hf_idx_by_bdaddr(bt_bdaddr_t *bd_addr) 695 int idx = btif_hf_idx_by_bdaddr((bt_bdaddr_t *)p_param); 761 static bt_status_t connect_int(bt_bdaddr_t *bd_addr, uint16_t uuid) 790 static bt_status_t connect( bt_bdaddr_t *bd_addr ) 805 static bt_status_t disconnect( bt_bdaddr_t *bd_addr ) 835 static bt_status_t connect_audio( bt_bdaddr_t *bd_addr ) 857 (char *)bd_addr, sizeof(bt_bdaddr_t), NULL); 873 static bt_status_t disconnect_audio( bt_bdaddr_t *bd_addr [all...] |
btif_av.c | 72 bt_bdaddr_t peer_bda; 81 bt_bdaddr_t *target_bda; 89 bt_bdaddr_t peer_bd; 233 connect_req.target_bda = (bt_bdaddr_t*)&peer_addr; 260 static void btif_report_connection_state(btav_connection_state_t state, bt_bdaddr_t *bd_addr) 282 static void btif_report_audio_state(btav_audio_state_t state, bt_bdaddr_t *bd_addr) 310 memset(&btif_av_cb.peer_bda, 0, sizeof(bt_bdaddr_t)); 332 sizeof(bt_bdaddr_t)); 570 if (memcmp ((bt_bdaddr_t*)p_data, &(btif_av_cb.peer_bda), 580 btif_report_connection_state(BTAV_CONNECTION_STATE_DISCONNECTED, (bt_bdaddr_t*)p_data) [all...] |
btif_mce.c | 55 bt_bdaddr_t addr; 135 static bt_status_t get_remote_mas_instances(bt_bdaddr_t *bd_addr)
|
btif_sdp.c | 66 bt_bdaddr_t addr; 148 static bt_status_t search(bt_bdaddr_t *bd_addr, const uint8_t *uuid)
|
btif_sock_sco.c | 76 static sco_socket_t *sco_socket_establish_locked(bool is_listening, const bt_bdaddr_t *bd_addr, int *sock_fd); 130 bt_status_t btsock_sco_connect(const bt_bdaddr_t *bd_addr, int *sock_fd, UNUSED_ATTR int flags) { 142 static sco_socket_t *sco_socket_establish_locked(bool is_listening, const bt_bdaddr_t *bd_addr, int *sock_fd) { 250 memcpy(&connect_signal.bd_addr, conn_data->bd_addr, sizeof(bt_bdaddr_t));
|
/system/bt/service/ |
gatt_server.h | 225 Connection(int conn_id, const bt_bdaddr_t& bdaddr) 233 bt_bdaddr_t bdaddr; 261 const bt_bdaddr_t& bda) override; 290 const bt_bdaddr_t& bda, 296 const bt_bdaddr_t& bda, 302 const bt_bdaddr_t& bda, int exec_write) override; 317 std::shared_ptr<Connection> GetConnection(int conn_id, const bt_bdaddr_t& bda,
|
/system/bt/service/hal/ |
fake_bluetooth_gatt_interface.cpp | 50 bt_status_t FakeConnect(int client_if, const bt_bdaddr_t *bd_addr, 58 bt_status_t FakeDisconnect(int client_if, const bt_bdaddr_t *bd_addr, 264 int conn_id, int status, int client_if, const bt_bdaddr_t& bda) { 270 int conn_id, int status, int client_if, const bt_bdaddr_t& bda) { 276 const bt_bdaddr_t& bda, int rssi, uint8_t* adv_data) { 307 int conn_id, int server_if, int connected, const bt_bdaddr_t& bda) { 350 int conn_id, int trans_id, const bt_bdaddr_t& bda, int attr_handle, 360 const bt_bdaddr_t& bda, int attr_handle, 371 int conn_id, int trans_id, const bt_bdaddr_t& bda, int exec_write) {
|
fake_bluetooth_interface.cpp | 122 const bt_bdaddr_t* address) { 124 property.len = sizeof(bt_bdaddr_t); 143 const bt_bdaddr_t& remote_bdaddr,
|
bluetooth_gatt_interface.cpp | 83 void ScanResultCallback(bt_bdaddr_t* bda, int rssi, uint8_t* adv_data) { 95 void ConnectCallback(int conn_id, int status, int client_if, bt_bdaddr_t* bda) { 110 bt_bdaddr_t* bda) { 278 bt_bdaddr_t* bda) { 364 void RequestReadCallback(int conn_id, int trans_id, bt_bdaddr_t* bda, 378 bt_bdaddr_t* bda, 395 bt_bdaddr_t* bda, int exec_write) { 609 const bt_bdaddr_t& /* bda */, 620 const bt_bdaddr_t& /* bda */) { 629 const bt_bdaddr_t& /* bda */) [all...] |
/system/bt/btcore/include/ |
property.h | 43 bt_property_t *property_new_addr(const bt_bdaddr_t *addr); 70 const bt_bdaddr_t *property_as_addr(const bt_property_t *property);
|
/system/bt/device/include/ |
controller.h | 35 const bt_bdaddr_t *(*get_address)(void);
|
/system/bt/stack/include/ |
l2cap_client.h | 59 bool l2cap_client_connect(l2cap_client_t *client, const bt_bdaddr_t *remote_bdaddr, uint16_t psm);
|
/hardware/libhardware/include/hardware/ |
bt_sdp.h | 112 typedef void (*btsdp_search_callback)(bt_status_t status, bt_bdaddr_t *bd_addr, uint8_t* uuid, int num_records, bluetooth_sdp_record *records); 131 bt_status_t (*sdp_search)(bt_bdaddr_t *bd_addr, const uint8_t* uuid);
|
/packages/apps/Bluetooth/jni/ |
com_android_bluetooth_btservice_AdapterService.cpp | 186 static void remote_device_properties_callback(bt_status_t status, bt_bdaddr_t *bd_addr, 236 addr = callbackEnv->NewByteArray(sizeof(bt_bdaddr_t)); 238 if (addr) callbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte*)bd_addr); 286 remote_device_properties_callback(BT_STATUS_SUCCESS, (bt_bdaddr_t *)properties[addr_index].val, 294 static void bond_state_changed_callback(bt_status_t status, bt_bdaddr_t *bd_addr, 305 addr = callbackEnv->NewByteArray(sizeof(bt_bdaddr_t)); 310 callbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte *)bd_addr); 318 static void acl_state_changed_callback(bt_status_t status, bt_bdaddr_t *bd_addr, 330 addr = callbackEnv->NewByteArray(sizeof(bt_bdaddr_t)); 335 callbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte *)bd_addr) [all...] |
com_android_bluetooth_pan.cpp | 69 static void connection_state_callback(btpan_connection_state_t state, bt_status_t error, const 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); 199 if ((status = sPanIf->connect((bt_bdaddr_t *) addr, src_role, dest_role)) != 221 if ( (status = sPanIf->disconnect((bt_bdaddr_t *) addr)) !=
|
com_android_bluetooth_hdp.cpp | 62 static void channel_state_callback(int app_id, bt_bdaddr_t *bd_addr, int mdep_cfg_index, 68 addr = sCallbackEnv->NewByteArray(sizeof(bt_bdaddr_t)); 85 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte*) bd_addr); 222 if ( (status = sBluetoothHdpInterface->connect_channel(app_id, (bt_bdaddr_t *) addr,
|
com_android_bluetooth_hfpclient.cpp | 71 static void connection_state_cb(bthf_client_connection_state_t state, unsigned int peer_feat, unsigned int chld_feat, bt_bdaddr_t *bd_addr) { 76 addr = sCallbackEnv->NewByteArray(sizeof(bt_bdaddr_t)); 83 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte*) bd_addr); 89 static void audio_state_cb(bthf_client_audio_state_t state, bt_bdaddr_t *bd_addr) { 94 addr = sCallbackEnv->NewByteArray(sizeof(bt_bdaddr_t)); 101 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte *) bd_addr); 378 if ((status = sBluetoothHfpClientInterface->connect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) { 397 if ( (status = sBluetoothHfpClientInterface->disconnect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) { 416 if ( (status = sBluetoothHfpClientInterface->connect_audio((bt_bdaddr_t *)addr)) != 436 if ( (status = sBluetoothHfpClientInterface->disconnect_audio((bt_bdaddr_t *) addr)) ! [all...] |
/system/bt/btcore/test/ |
property_test.cpp | 30 bt_bdaddr_t addr0 = {{0x1, 0x2, 0x3, 0x4, 0x5, 0x6}}; 40 EXPECT_EQ((int)sizeof(bt_bdaddr_t), property->len); 42 const bt_bdaddr_t *addr1 = property_as_addr(property); 186 bt_bdaddr_t addr0 = {{0x1, 0x2, 0x3, 0x4, 0x5, 0x6}}; 199 bt_bdaddr_t addr = {{0x1, 0x2, 0x3, 0x4, 0x5, 0x6}}; 210 bt_bdaddr_t addr0 = {{0x1, 0x2, 0x3, 0x4, 0x5, 0x6}}; 213 bt_bdaddr_t addr1 = {{0x1, 0x2, 0x3, 0x4, 0x5, 0xff}};
|
/system/bt/tools/bdtool/ |
adapter.c | 71 void acl_state_changed(bt_status_t status, bt_bdaddr_t *remote_bd_addr, bt_acl_state_t state) { 95 bt_bdaddr_t *bdaddr, 152 bt_bdaddr_t *bdaddr, 166 bt_bdaddr_t *remote_bd_addr, 221 const bt_bdaddr_t *addr = property_as_addr(property);
|
/system/bt/btcore/src/ |
property.c | 75 bt_property_t *property_new_addr(const bt_bdaddr_t *addr) { 77 return property_new_((void *)addr, sizeof(bt_bdaddr_t), BT_PROPERTY_BDADDR); 167 const bt_bdaddr_t *property_as_addr(const bt_property_t *property) { 169 return (const bt_bdaddr_t *)property->val;
|
/system/bt/hci/include/ |
hci_packet_parser.h | 46 bt_bdaddr_t *address_ptr
|
/system/bt/stack/btm/ |
btm_ble_bgconn.c | 56 bt_bdaddr_t address; 60 return bdaddr_equals((bt_bdaddr_t *)x, (bt_bdaddr_t *)y); 72 static void background_connection_add(bt_bdaddr_t *address) { 83 static void background_connection_remove(bt_bdaddr_t *address) { 264 background_connection_add((bt_bdaddr_t*)bd_addr); 266 background_connection_remove((bt_bdaddr_t*)bd_addr);
|