/external/bluetooth/bluedroid/btif/src/ |
btif_pan.c | 80 static bt_status_t btpan_connect(const bt_bdaddr_t *bd_addr, int local_role, int remote_role); 81 static bt_status_t btpan_disconnect(const bt_bdaddr_t *bd_addr); 216 static bt_status_t btpan_connect(const bt_bdaddr_t *bd_addr, int local_role, int remote_role) 231 bt_bdaddr_t *bd_addr = (bt_bdaddr_t*)p_param; 240 (const bt_bdaddr_t*)conn->peer, btpan_conn_local_role, btpan_remote_role); 250 static bt_status_t btpan_disconnect(const bt_bdaddr_t *bd_addr) 258 (char *)bd_addr, sizeof(bt_bdaddr_t), NULL); 530 bd2str((bt_bdaddr_t*)p_data->opening.bd_addr, &bds); 541 (const bt_bdaddr_t*)p_data->opening.bd_addr, btpan_conn_local_role, btpan_remote_role) [all...] |
btif_sock.c | 44 static bt_status_t btsock_connect(const bt_bdaddr_t *bd_addr, btsock_type_t type, 122 static bt_status_t btsock_connect(const bt_bdaddr_t *bd_addr, btsock_type_t type,
|
btif_av.c | 75 bt_bdaddr_t peer_bda; 238 memset(&btif_av_cb.peer_bda, 0, sizeof(bt_bdaddr_t)); 258 memcpy(&btif_av_cb.peer_bda, (bt_bdaddr_t*)p_data, sizeof(bt_bdaddr_t)); 780 static bt_status_t connect_int(bt_bdaddr_t *bd_addr) 789 static bt_status_t connect(bt_bdaddr_t *bd_addr) 806 static bt_status_t disconnect(bt_bdaddr_t *bd_addr) 814 (char*)bd_addr, sizeof(bt_bdaddr_t), NULL); [all...] |
btif_gatt_server.c | 90 bt_bdaddr_t bd_addr; 192 bt_bdaddr_t bda; 204 bt_bdaddr_t bda; 287 bt_bdaddr_t bda; 300 bt_bdaddr_t bda; 316 bt_bdaddr_t bda; 481 static bt_status_t btif_gatts_open( int server_if, const bt_bdaddr_t *bd_addr, bool is_direct ) 492 static bt_status_t btif_gatts_close(int server_if, const bt_bdaddr_t *bd_addr, int conn_id)
|
btif_hf.c | 116 bt_bdaddr_t connected_bda; 150 static BOOLEAN is_connected(bt_bdaddr_t *bd_addr) 511 static bt_status_t connect_int( bt_bdaddr_t *bd_addr ) 526 static bt_status_t connect( bt_bdaddr_t *bd_addr ) 541 static bt_status_t disconnect( bt_bdaddr_t *bd_addr ) 563 static bt_status_t connect_audio( bt_bdaddr_t *bd_addr ) 573 (char *)bd_addr, sizeof(bt_bdaddr_t), NULL); 589 static bt_status_t disconnect_audio( bt_bdaddr_t *bd_addr ) [all...] |
btif_gatt_client.c | 103 bt_bdaddr_t bd_addr; 124 bt_bdaddr_t bd_addr; 342 bt_bdaddr_t bda; 355 bt_bdaddr_t bda; 746 static bt_status_t btif_gattc_open(int client_if, const bt_bdaddr_t *bd_addr, bool is_direct ) 757 static bt_status_t btif_gattc_close( int client_if, const bt_bdaddr_t *bd_addr, int conn_id) 768 static bt_status_t btif_gattc_refresh( int client_if, const bt_bdaddr_t *bd_addr ) [all...] |
btif_gatt_util.c | 59 extern bt_status_t btif_dm_remove_bond(const bt_bdaddr_t *bd_addr); 336 bt_bdaddr_t bda; 348 bt_bdaddr_t bda;
|
btif_sock_rfc.c | 85 bt_bdaddr_t addr; 104 static bt_status_t dm_get_remote_service_record(bt_bdaddr_t *remote_addr, 245 static rfc_slot_t* alloc_rfc_slot(const bt_bdaddr_t *addr, const char* name, const uint8_t* uuid, int channel, int flags, BOOLEAN server) 282 static inline rfc_slot_t* create_srv_accept_rfc_slot(rfc_slot_t* srv_rs, const bt_bdaddr_t* addr, 346 bt_status_t btsock_rfc_connect(const bt_bdaddr_t *bd_addr, const uint8_t* service_uuid, 526 static BOOLEAN send_app_connect_signal(int fd, const bt_bdaddr_t* addr, int channel, int status, int send_fd) 531 bt_bdaddr_t bd_addr; 597 rfc_slot_t* accept_rs = create_srv_accept_rfc_slot(srv_rs, (const bt_bdaddr_t*)p_open->rem_bda, [all...] |
btif_util.c | 84 int str2bd(char *str, bt_bdaddr_t *addr) 94 char *bd2str(const bt_bdaddr_t *bdaddr, bdstr_t *bdstr)
|
btif_hl.c | 833 ** Description copy bt_bdaddr_t to BD_ADDR format 838 void btif_hl_copy_bda(bt_bdaddr_t *bd_addr, BD_ADDR bda){ 849 ** Description display bt_bdaddr_t 854 void btif_hl_display_bt_bda(bt_bdaddr_t *bd_addr){ [all...] |
btif_rc.c | 166 extern BOOLEAN check_cod(const bt_bdaddr_t *remote_bdaddr, uint32_t cod); 405 (check_cod( (const bt_bdaddr_t*)&(btif_rc_cb.rc_addr), COD_AV_HEADSETS) != TRUE)) [all...] |
/packages/apps/Bluetooth/jni/ |
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); 246 if ( (status = sBluetoothHdpInterface->connect_channel(app_id, (bt_bdaddr_t *) addr,
|
com_android_bluetooth_hfp.cpp | 70 static void connection_state_callback(bthf_connection_state_t state, 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); 90 static void audio_state_callback(bthf_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); 339 if ((status = sBluetoothHfpInterface->connect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) { 358 if ( (status = sBluetoothHfpInterface->disconnect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) { 377 if ( (status = sBluetoothHfpInterface->connect_audio((bt_bdaddr_t *)addr)) != 397 if ( (status = sBluetoothHfpInterface->disconnect_audio((bt_bdaddr_t *) addr)) ! [all...] |
com_android_bluetooth_gatt.cpp | 127 static void jstr2bdaddr(JNIEnv* env, bt_bdaddr_t *bda, jstring address) 207 void btgattc_scan_result_cb(bt_bdaddr_t* bda, int rssi, uint8_t* adv_data) 228 void btgattc_open_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda) 244 void btgattc_close_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda) 409 void btgattc_remote_rssi_cb(int client_if,bt_bdaddr_t* bda, int rssi, int status) 457 void btgatts_connection_cb(int conn_id, int server_if, int connected, bt_bdaddr_t *bda) 538 void btgatts_request_read_cb(int conn_id, int trans_id, bt_bdaddr_t *bda, 557 bt_bdaddr_t *bda, int attr_handle, 581 bt_bdaddr_t *bda, int exec_write) 738 bt_bdaddr_t bda [all...] |
/external/bluetooth/bluedroid/btif/include/ |
btif_common.h | 184 void btif_remote_properties_evt(bt_status_t status, bt_bdaddr_t *remote_addr,
|
/external/bluetooth/bluedroid/test/bluedroidtest/ |
bluedroidtest.c | 337 void get_bdaddr(const char *str, bt_bdaddr_t *bd) { 343 memset(bd, 0, sizeof(bt_bdaddr_t));
|
/external/bluetooth/bluedroid/main/ |
bte_main.c | 108 extern bt_bdaddr_t btif_local_bd_addr;
|