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.cc453 static void on_srv_l2cap_psm_connect_l(tBTA_JV_L2CAP_OPEN* p_open, in on_srv_l2cap_psm_connect_l() argument
457 btsock_l2cap_alloc_l(sock->name, &p_open->rem_bda, false, 0); in on_srv_l2cap_psm_connect_l()
467 accept_rs->tx_mtu = sock->tx_mtu = p_open->tx_mtu; in on_srv_l2cap_psm_connect_l()
492 accept_rs->app_fd, sock->rx_mtu, p_open->tx_mtu); in on_srv_l2cap_psm_connect_l()
500 static void on_srv_l2cap_le_connect_l(tBTA_JV_L2CAP_LE_OPEN* p_open, in on_srv_l2cap_le_connect_l() argument
504 btsock_l2cap_alloc_l(sock->name, &p_open->rem_bda, false, 0); in on_srv_l2cap_le_connect_l()
512 accept_rs->handle = p_open->handle; in on_srv_l2cap_le_connect_l()
518 accept_rs->tx_mtu = sock->tx_mtu = p_open->tx_mtu; in on_srv_l2cap_le_connect_l()
521 *(p_open->p_p_cback) = (void*)btsock_l2cap_cbk; in on_srv_l2cap_le_connect_l()
522 *(p_open->p_user_data) = UINT_TO_PTR(accept_rs->id); in on_srv_l2cap_le_connect_l()
[all …]
Dbtif_sock_rfc.cc517 static uint32_t on_srv_rfc_connect(tBTA_JV_RFCOMM_SRV_OPEN* p_open, in on_srv_rfc_connect() argument
525 srv_rs, &p_open->rem_bda, p_open->handle, p_open->new_listen_handle); in on_srv_rfc_connect()
547 static void on_cli_rfc_connect(tBTA_JV_RFCOMM_OPEN* p_open, uint32_t id) { in on_cli_rfc_connect() argument
552 if (p_open->status != BTA_JV_SUCCESS) { in on_cli_rfc_connect()
557 slot->rfc_port_handle = BTA_JvRfcommGetPortHdl(p_open->handle); in on_cli_rfc_connect()
558 slot->addr = p_open->rem_bda; in on_cli_rfc_connect()