/system/bt/stack/smp/ |
H A D | smp_l2c.c | 39 tBT_TRANSPORT transport); 43 tBT_TRANSPORT transport); 90 tBT_TRANSPORT transport) 98 if (transport == BT_TRANSPORT_BR_EDR || memcmp(bd_addr, dummy_bda, BD_ADDR_LEN) == 0) 241 UINT16 reason, tBT_TRANSPORT transport) 248 if (transport != BT_TRANSPORT_BR_EDR) 250 SMP_TRACE_WARNING("%s is called on unexpected transport %d", 251 __func__, transport); 89 smp_connect_callback(UINT16 channel, BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason, tBT_TRANSPORT transport) argument 240 smp_br_connect_callback(UINT16 channel, BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason, tBT_TRANSPORT transport) argument
|
/system/bt/stack/avdt/ |
H A D | avdt_l2c.c | 73 static void avdt_sec_check_complete_term (BD_ADDR bd_addr, tBT_TRANSPORT transport, argument
|
/system/bt/btif/src/ |
H A D | btif_gatt_test.c | 104 BOOLEAN connected, tGATT_DISCONN_REASON reason, tBT_TRANSPORT transport) 109 UNUSED (transport); 103 btif_test_connect_cback(tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason, tBT_TRANSPORT transport) argument
|
H A D | btif_gatt_util.c | 286 static void btif_gatt_set_encryption_cb (BD_ADDR bd_addr, tBTA_TRANSPORT transport, tBTA_STATUS result); 296 static void btif_gatt_set_encryption_cb (BD_ADDR bd_addr, tBTA_TRANSPORT transport, tBTA_STATUS result) argument 299 UNUSED(transport); 319 BTIF_TRACE_DEBUG ("%s: transport = %d", __func__, transport_link);
|
H A D | bluetooth.c | 250 static int create_bond(const bt_bdaddr_t *bd_addr, int transport) argument 256 return btif_dm_create_bond(bd_addr, transport);
|
H A D | btif_gatt_server.c | 106 btgatt_transport_t transport; member in struct:__anon664 197 btif_gatt_check_encrypted_link(p_data->conn.remote_bda, p_data->conn.transport); 392 tBTA_GATT_TRANSPORT transport = BTA_GATT_TRANSPORT_LE; local 408 transport = BTA_GATT_TRANSPORT_BR_EDR; 412 transport = BTA_GATT_TRANSPORT_LE; 416 if (p_cb->transport == GATT_TRANSPORT_LE) 417 transport = BTA_GATT_TRANSPORT_LE; 419 transport = BTA_GATT_TRANSPORT_BR_EDR; 429 p_cb->is_direct, transport); 478 BTA_GATTS_StartService(p_cb->srvc_handle, p_cb->transport); 614 btif_gatts_start_service(int server_if, int service_handle, int transport) argument [all...] |
/system/bt/stack/mcap/ |
H A D | mca_l2c.c | 73 static void mca_sec_check_complete_term (BD_ADDR bd_addr, tBT_TRANSPORT transport, void *p_ref_data, UINT8 res) argument 79 UNUSED(transport); 120 static void mca_sec_check_complete_orig (BD_ADDR bd_addr, tBT_TRANSPORT transport, void *p_ref_data, UINT8 res) argument 125 UNUSED(transport);
|
/system/bt/stack/rfcomm/ |
H A D | rfc_utils.c | 353 void rfc_sec_check_complete (BD_ADDR bd_addr, tBT_TRANSPORT transport, void *p_ref_data, UINT8 res) argument 357 UNUSED(transport);
|
/system/core/adb/ |
H A D | adb_listeners.cpp | 25 #include "transport.h" 77 s->transport = listener->transport; 103 if (l->transport) { 104 remove_transport_disconnect(l->transport, &l->disconnect); 158 l->transport->serial, l->local_name, l->connect_to); 163 install_status_t remove_listener(const char *local_name, atransport* transport) argument 169 listener_disconnect(l, l->transport); 184 listener_disconnect(l, l->transport); 190 atransport* transport, 188 install_listener(const std::string& local_name, const char *connect_to, atransport* transport, int no_rebind) argument [all...] |
H A D | services.cpp | 47 #include "transport.h" 517 transport_type transport; member in struct:state_info 529 atransport* t = acquire_one_transport(sinfo->state, sinfo->transport, sinfo->serial, &error_msg); 667 sinfo->transport = kTransportLocal; 670 sinfo->transport = kTransportUsb; 673 sinfo->transport = kTransportAny;
|
/system/bt/bta/gatt/ |
H A D | bta_gatts_act.c | 46 tGATT_TRANSPORT transport); 564 p_msg->api_start.transport) == GATT_SUCCESS) 641 tBTA_TRANSPORT transport; local 649 &gatt_if, remote_bda, &transport)) 666 if (transport == BTA_TRANSPORT_BR_EDR) 715 p_msg->api_open.is_direct, p_msg->api_open.transport)) 720 &conn_id, p_msg->api_open.transport)) 785 tBTA_GATT_TRANSPORT transport; local 789 if (GATT_GetConnectionInfor(p_msg->hdr.layer_specific, &gatt_if, remote_bda, &transport)) 804 if (transport 868 tBTA_GATT_TRANSPORT transport; local 914 bta_gatts_conn_cback(tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason, tGATT_TRANSPORT transport) argument 973 tBTA_GATT_TRANSPORT transport; local [all...] |
H A D | bta_gatts_api.c | 338 p_buf->transport = sup_transport; 465 ** transport : Transport on which GATT connection to be opened (BR/EDR or LE) 471 tBTA_GATT_TRANSPORT transport) 480 p_buf->transport = transport; 470 BTA_GATTS_Open(tBTA_GATTS_IF server_if, BD_ADDR remote_bda, BOOLEAN is_direct, tBTA_GATT_TRANSPORT transport) argument
|
H A D | bta_gattc_api.c | 144 ** transport: Transport to be used for GATT connection (BREDR/LE) 150 BOOLEAN is_direct, tBTA_GATT_TRANSPORT transport) 160 p_buf->transport = transport; 149 BTA_GATTC_Open(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, BOOLEAN is_direct, tBTA_GATT_TRANSPORT transport) argument
|
H A D | bta_gattc_act.c | 53 tBT_TRANSPORT transport); 349 p_msg->api_conn.transport)) != NULL) 361 p_msg->api_conn.transport, 0); 487 p_clcb->transport, 507 p_clcb->transport, 528 TRUE, p_data->api_conn.transport)) 540 p_data->api_conn.transport)) 568 if (!GATT_Connect(p_data->client_if, p_data->remote_bda, FALSE, p_data->transport)) 584 p_data->transport)) 709 &gatt_if, p_clcb->bda, &p_clcb->transport); 1808 bta_gattc_conn_cback(tGATT_IF gattc_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason, tBT_TRANSPORT transport) argument 2054 tBTA_TRANSPORT transport; local [all...] |
H A D | bta_gattc_utils.c | 170 tBTA_TRANSPORT transport) 179 p_clcb->transport == transport && 218 tBTA_TRANSPORT transport) 233 p_clcb->transport = transport; 267 tBTA_TRANSPORT transport) 271 if ((p_clcb = bta_gattc_find_clcb_by_cif(client_if, remote_bda, transport)) == NULL) 273 p_clcb = bta_gattc_clcb_alloc(client_if, remote_bda, transport); 601 tGATT_TRANSPORT transport; local 169 bta_gattc_find_clcb_by_cif(UINT8 client_if, BD_ADDR remote_bda, tBTA_TRANSPORT transport) argument 217 bta_gattc_clcb_alloc(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, tBTA_TRANSPORT transport) argument 266 bta_gattc_find_alloc_clcb(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, tBTA_TRANSPORT transport) argument 788 bta_gattc_send_open_cback( tBTA_GATTC_RCB *p_clreg, tBTA_GATT_STATUS status, BD_ADDR remote_bda, UINT16 conn_id, tBTA_TRANSPORT transport, UINT16 mtu) argument [all...] |
/system/bt/stack/gatt/ |
H A D | gatt_attr.c | 45 tGATT_DISCONN_REASON reason, tBT_TRANSPORT transport); 113 static tGATT_PROFILE_CLCB *gatt_profile_find_clcb_by_bd_addr(BD_ADDR bda, tBT_TRANSPORT transport) argument 120 if (p_clcb->in_use && p_clcb->transport == transport && 149 p_clcb->transport = tranport; 234 tBT_TRANSPORT transport) 242 tGATT_PROFILE_CLCB *p_clcb = gatt_profile_find_clcb_by_bd_addr(bda, transport); 486 void GATT_ConfigServiceChangeCCC (BD_ADDR remote_bda, BOOLEAN enable, tBT_TRANSPORT transport) argument 489 tGATT_PROFILE_CLCB *p_clcb = gatt_profile_find_clcb_by_bd_addr (remote_bda, transport); 492 p_clcb = gatt_profile_clcb_alloc (0, remote_bda, transport); 232 gatt_connect_cback(tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason, tBT_TRANSPORT transport) argument [all...] |
H A D | gatt_auth.c | 159 void gatt_enc_cmpl_cback(BD_ADDR bd_addr, tBT_TRANSPORT transport, void *p_ref_data, tBTM_STATUS result) argument 169 if ((p_tcb = gatt_find_tcb_by_addr(bd_addr, transport)) != NULL) 180 BTM_GetSecurityFlagsByTransport(bd_addr, &sec_flag, transport); 328 BTM_GetSecurityFlagsByTransport(p_tcb->peer_bda, &sec_flag, p_clcb->p_tcb->transport); 369 if (p_tcb->transport == BT_TRANSPORT_LE && 422 BTM_GetSecurityFlagsByTransport(p_tcb->peer_bda, &sec_flag, p_tcb->transport); 502 btm_status = BTM_SetEncryption(p_tcb->peer_bda, p_tcb->transport , gatt_enc_cmpl_cback, &btm_ble_sec_act);
|
H A D | gatt_main.c | 48 UINT16 reason, tBT_TRANSPORT transport); 172 BOOLEAN gatt_connect (BD_ADDR rem_bda, tGATT_TCB *p_tcb, tBT_TRANSPORT transport) argument 179 if (transport == BT_TRANSPORT_LE) 314 (BTM_GetHCIConnHandle(p_tcb->peer_bda, p_tcb->transport) != GATT_INVALID_ACL_HANDLE)) 320 GATT_SetIdleTimeout(p_tcb->peer_bda, GATT_LINK_NO_IDLE_TIMEOUT, p_tcb->transport); 329 GATT_SetIdleTimeout(p_tcb->peer_bda, GATT_LINK_IDLE_TIMEOUT_WHEN_NO_APP, p_tcb->transport); 345 BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr, tBT_TRANSPORT transport) argument 351 if ((p_tcb = gatt_find_tcb_by_addr(bd_addr, transport)) != NULL) 358 transport == BT_TRANSPORT_LE ) 360 if (!gatt_connect(bd_addr, p_tcb, transport)) 405 gatt_le_connect_cback(UINT16 chan, BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason, tBT_TRANSPORT transport) argument 1158 tBT_TRANSPORT transport; local [all...] |
/system/bt/stack/hid/ |
H A D | hidh_conn.c | 166 void hidh_sec_check_complete_term (BD_ADDR bd_addr, tBT_TRANSPORT transport, void *p_ref_data, UINT8 res) argument 170 UNUSED (transport); 320 void hidh_sec_check_complete_orig (BD_ADDR bd_addr, tBT_TRANSPORT transport, void *p_ref_data, UINT8 res) argument 326 UNUSED (transport);
|
/system/bt/stack/include/ |
H A D | srvc_api.h | 113 tGATT_TRANSPORT transport; member in struct:__anon1182
|
/system/bt/stack/srvc/ |
H A D | srvc_eng.c | 36 tGATT_DISCONN_REASON reason, tBT_TRANSPORT transport); 354 BOOLEAN connected, tGATT_DISCONN_REASON reason, tBT_TRANSPORT transport) 357 UNUSED (transport); 353 srvc_eng_connect_cback(tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason, tBT_TRANSPORT transport) argument
|
/system/bt/stack/gap/ |
H A D | gap_ble.c | 47 tGATT_DISCONN_REASON reason, tGATT_TRANSPORT transport); 583 tGATT_TRANSPORT transport) 588 UNUSED(transport); 581 gap_ble_c_connect_cback(tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason, tGATT_TRANSPORT transport) argument
|
H A D | gap_conn.c | 813 static void gap_sec_check_complete (BD_ADDR bd_addr, tBT_TRANSPORT transport, void *p_ref_data, UINT8 res) argument 817 UNUSED (transport);
|
/system/bt/stack/l2cap/ |
H A D | l2c_ble.c | 118 if (p_lcb->transport != BT_TRANSPORT_LE) 168 if (p_lcb->transport != BT_TRANSPORT_LE) 216 UINT16 L2CA_GetDisconnectReason (BD_ADDR remote_bda, tBT_TRANSPORT transport) argument 221 if ((p_lcb = l2cu_find_lcb_by_bd_addr (remote_bda, transport)) != NULL) 310 p_lcb->transport = BT_TRANSPORT_LE; 412 p_lcb->transport = BT_TRANSPORT_LE; 853 if (p_lcb->in_use && p_lcb->transport == BT_TRANSPORT_LE) 902 if (p_lcb->in_use && p_lcb->transport == BT_TRANSPORT_LE)
|
H A D | l2c_link.c | 293 void l2c_link_sec_comp (BD_ADDR p_bda, tBT_TRANSPORT transport, void *p_ref_data, UINT8 status) argument 301 UNUSED(transport); 366 tBT_TRANSPORT transport = BT_TRANSPORT_BR_EDR; local 390 if (p_lcb->transport == BT_TRANSPORT_LE) 414 if (p_lcb->transport == BT_TRANSPORT_BR_EDR) 427 transport = p_lcb->transport; 430 if (p_lcb->transport == BT_TRANSPORT_LE) 433 btm_acl_removed (p_lcb->remote_bd_addr, p_lcb->transport); 456 p_lcb->remote_bd_addr, FALSE, p_lcb->disc_reason, p_lcb->transport); [all...] |