Home
last modified time | relevance | path

Searched refs:p_open (Results 1 – 2 of 2) sorted by relevance

/system/bt/btif/src/
Dbtif_sock_l2cap.c462 static void on_srv_l2cap_psm_connect_l(tBTA_JV_L2CAP_OPEN *p_open, l2cap_socket *sock) in on_srv_l2cap_psm_connect_l() argument
468 accept_rs = btsock_l2cap_alloc_l(sock->name, (const bt_bdaddr_t*)p_open->rem_bda, FALSE, 0); in on_srv_l2cap_psm_connect_l()
493 accept_rs->app_fd, p_open->tx_mtu); in on_srv_l2cap_psm_connect_l()
503 static void on_srv_l2cap_le_connect_l(tBTA_JV_L2CAP_LE_OPEN *p_open, l2cap_socket *sock) in on_srv_l2cap_le_connect_l() argument
509 accept_rs = btsock_l2cap_alloc_l(sock->name, (const bt_bdaddr_t*)p_open->rem_bda, FALSE, 0); in on_srv_l2cap_le_connect_l()
517 accept_rs->handle = p_open->handle; in on_srv_l2cap_le_connect_l()
525 *(p_open->p_p_cback) = (void*)btsock_l2cap_cbk; in on_srv_l2cap_le_connect_l()
526 *(p_open->p_user_data) = UINT_TO_PTR(accept_rs->id); in on_srv_l2cap_le_connect_l()
536 accept_rs->app_fd, p_open->tx_mtu); in on_srv_l2cap_le_connect_l()
541 static void on_cl_l2cap_psm_connect_l(tBTA_JV_L2CAP_OPEN *p_open, l2cap_socket *sock) in on_cl_l2cap_psm_connect_l() argument
[all …]
Dbtif_sock_rfc.c486 static uint32_t on_srv_rfc_connect(tBTA_JV_RFCOMM_SRV_OPEN *p_open, uint32_t id) { in on_srv_rfc_connect() argument
494 … create_srv_accept_rfc_slot(srv_rs, (const bt_bdaddr_t *)p_open->rem_bda, p_open->handle, p_open->… in on_srv_rfc_connect()
510 static void on_cli_rfc_connect(tBTA_JV_RFCOMM_OPEN *p_open, uint32_t id) { in on_cli_rfc_connect() argument
517 if (p_open->status != BTA_JV_SUCCESS) { in on_cli_rfc_connect()
522 slot->rfc_port_handle = BTA_JvRfcommGetPortHdl(p_open->handle); in on_cli_rfc_connect()
523 memcpy(slot->addr.address, p_open->rem_bda, 6); in on_cli_rfc_connect()