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.c481 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
487 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()
510 accept_rs->app_fd, p_open->tx_mtu); in on_srv_l2cap_psm_connect_l()
520 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
526 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()
534 accept_rs->handle = p_open->handle; in on_srv_l2cap_le_connect_l()
541 *(p_open->p_p_cback) = (void*)btsock_l2cap_cbk; in on_srv_l2cap_le_connect_l()
542 *(p_open->p_user_data) = (void*)accept_rs->id; in on_srv_l2cap_le_connect_l()
552 accept_rs->app_fd, p_open->tx_mtu); in on_srv_l2cap_le_connect_l()
557 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.c475 static uint32_t on_srv_rfc_connect(tBTA_JV_RFCOMM_SRV_OPEN *p_open, uint32_t id) { in on_srv_rfc_connect() argument
483 … 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()
499 static void on_cli_rfc_connect(tBTA_JV_RFCOMM_OPEN *p_open, uint32_t id) { in on_cli_rfc_connect() argument
506 if (p_open->status != BTA_JV_SUCCESS) { in on_cli_rfc_connect()
511 slot->rfc_port_handle = BTA_JvRfcommGetPortHdl(p_open->handle); in on_cli_rfc_connect()
512 memcpy(slot->addr.address, p_open->rem_bda, 6); in on_cli_rfc_connect()