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.cc460 static void on_srv_l2cap_psm_connect_l(tBTA_JV_L2CAP_OPEN* p_open, in on_srv_l2cap_psm_connect_l() argument
464 btsock_l2cap_alloc_l(sock->name, &p_open->rem_bda, false, 0); in on_srv_l2cap_psm_connect_l()
474 accept_rs->tx_mtu = sock->tx_mtu = p_open->tx_mtu; in on_srv_l2cap_psm_connect_l()
499 accept_rs->app_fd, sock->rx_mtu, p_open->tx_mtu); in on_srv_l2cap_psm_connect_l()
507 static void on_srv_l2cap_le_connect_l(tBTA_JV_L2CAP_LE_OPEN* p_open, in on_srv_l2cap_le_connect_l() argument
511 btsock_l2cap_alloc_l(sock->name, &p_open->rem_bda, false, 0); in on_srv_l2cap_le_connect_l()
519 accept_rs->handle = p_open->handle; in on_srv_l2cap_le_connect_l()
525 accept_rs->tx_mtu = sock->tx_mtu = p_open->tx_mtu; in on_srv_l2cap_le_connect_l()
528 *(p_open->p_p_cback) = (void*)btsock_l2cap_cbk; in on_srv_l2cap_le_connect_l()
529 *(p_open->p_user_data) = UINT_TO_PTR(accept_rs->id); in on_srv_l2cap_le_connect_l()
[all …]
Dbtif_sock_rfc.cc515 static uint32_t on_srv_rfc_connect(tBTA_JV_RFCOMM_SRV_OPEN* p_open, in on_srv_rfc_connect() argument
523 srv_rs, &p_open->rem_bda, p_open->handle, p_open->new_listen_handle); in on_srv_rfc_connect()
545 static void on_cli_rfc_connect(tBTA_JV_RFCOMM_OPEN* p_open, uint32_t id) { in on_cli_rfc_connect() argument
550 if (p_open->status != BTA_JV_SUCCESS) { in on_cli_rfc_connect()
555 slot->rfc_port_handle = BTA_JvRfcommGetPortHdl(p_open->handle); in on_cli_rfc_connect()
556 slot->addr = p_open->rem_bda; in on_cli_rfc_connect()