Home
last modified time | relevance | path

Searched refs:is_initiator (Results 1 – 16 of 16) sorted by relevance

/system/nfc/src/nfa/p2p/
Dnfa_p2p_main.cc291 if (nfa_p2p_cb.is_initiator) { in nfa_p2p_llcp_link_cback()
296 llcp_activated.is_initiator = nfa_p2p_cb.is_initiator; in nfa_p2p_llcp_link_cback()
310 if (nfa_p2p_cb.is_initiator) { in nfa_p2p_llcp_link_cback()
325 if ((nfa_p2p_cb.is_active_mode) && (!nfa_p2p_cb.is_initiator)) { in nfa_p2p_llcp_link_cback()
357 if (nfa_p2p_cb.is_initiator) { in nfa_p2p_llcp_link_cback()
395 config.is_initiator = true; in nfa_p2p_activate_llcp()
397 config.is_initiator = false; in nfa_p2p_activate_llcp()
401 config.is_initiator = true; in nfa_p2p_activate_llcp()
408 config.is_initiator = true; in nfa_p2p_activate_llcp()
435 nfa_p2p_cb.is_initiator = config.is_initiator; in nfa_p2p_activate_llcp()
/system/bt/stack/rfcomm/
Drfc_utils.cc134 bool is_initiator) { in rfc_alloc_multiplexer_channel() argument
139 is_initiator); in rfc_alloc_multiplexer_channel()
157 is_initiator, rfc_cb.port.rfc_mcb[i].state, &rfc_cb.port.rfc_mcb[i]); in rfc_alloc_multiplexer_channel()
176 is_initiator, &rfc_cb.port.rfc_mcb[j], j); in rfc_alloc_multiplexer_channel()
181 p_mcb->is_initiator = is_initiator; in rfc_alloc_multiplexer_channel()
Drfc_mx_fsm.cc237 p_mcb->is_initiator = false; in rfc_mx_sm_state_wait_conn_cnf()
460 if (p_mcb->is_initiator) { in rfc_mx_sm_state_connected()
511 p_mcb->is_initiator = true; in rfc_mx_sm_state_disc_wait_ua()
592 if (p_mcb->is_initiator) { in rfc_mx_conf_cnf()
604 if (p_mcb->is_initiator) { in rfc_mx_conf_cnf()
645 if (p_mcb->is_initiator) { in rfc_mx_conf_ind()
Drfc_ts_frames.cc44 uint8_t cr = RFCOMM_CR(p_mcb->is_initiator, true); in rfc_send_sabme()
72 uint8_t cr = RFCOMM_CR(p_mcb->is_initiator, false); in rfc_send_ua()
99 uint8_t cr = RFCOMM_CR(p_mcb->is_initiator, false); in rfc_send_dm()
126 uint8_t cr = RFCOMM_CR(p_mcb->is_initiator, true); in rfc_send_disc()
153 uint8_t cr = RFCOMM_CR(p_mcb->is_initiator, true); in rfc_send_buf_uih()
484 uint8_t cr = RFCOMM_CR(p_mcb->is_initiator, true); in rfc_send_credit()
571 if (RFCOMM_FRAME_IS_RSP(p_mcb->is_initiator, p_frame->cr) || in rfc_parse_data()
580 if (RFCOMM_FRAME_IS_CMD(p_mcb->is_initiator, p_frame->cr) || in rfc_parse_data()
589 if (RFCOMM_FRAME_IS_CMD(p_mcb->is_initiator, p_frame->cr) || len || in rfc_parse_data()
598 if (RFCOMM_FRAME_IS_RSP(p_mcb->is_initiator, p_frame->cr) || in rfc_parse_data()
[all …]
Drfc_l2cap_if.cc95 if ((p_mcb->is_initiator) && (p_mcb->state == RFC_MX_STATE_WAIT_CONN_CNF)) { in RFCOMM_ConnectInd()
161 p_mcb->is_initiator = false; in RFCOMM_ConnectCnf()
326 if ((p_mcb->is_initiator && !rfc_cb.rfc.rx_frame.cr) || in RFCOMM_BufDataInd()
327 (!p_mcb->is_initiator && rfc_cb.rfc.rx_frame.cr)) { in RFCOMM_BufDataInd()
Dport_int.h99 uint8_t is_initiator; /* true if this side sends SABME (dlci=0) */ member
Drfc_int.h301 bool is_initiator);
Drfc_port_fsm.cc574 __func__, p_mcb->is_initiator, is_command, p_mcb->state, in rfc_process_pn()
Dport_api.cc134 if (p_mcb && !p_mcb->is_initiator && !is_server) { in RFCOMM_CreateConnection()
/system/nfc/src/nfc/llcp/
Dllcp_link.cc200 if (appl_dta_mode_flag == 1 && p_config->is_initiator == FALSE) { in llcp_link_activate()
216 if (p_config->is_initiator == false) { in llcp_link_activate()
228 if ((p_config->is_initiator) && in llcp_link_activate()
249 if (p_config->is_initiator == false) { in llcp_link_activate()
258 llcp_cb.lcb.is_initiator = p_config->is_initiator; in llcp_link_activate()
274 if (llcp_cb.lcb.is_initiator) { in llcp_link_activate()
445 llcp_cb.lcb.is_initiator == false && in llcp_link_deactivate()
469 (!llcp_cb.lcb.is_initiator)) { in llcp_link_deactivate()
582 data.link_status.is_initiator = llcp_cb.lcb.is_initiator; in llcp_link_update_status()
1618 (!llcp_cb.lcb.is_initiator)) { in llcp_link_connection_cback()
/system/nfc/src/nfc/include/
Dllcp_api.h54 bool is_initiator; /* TRUE if we are POLL mode */ member
181 bool is_initiator; /* TRUE if local LLCP is initiator */ member
Dllcp_int.h63 bool is_initiator; /* TRUE if initiator role */ member
/system/bt/btif/src/
Dbtif_hf.cc111 bool is_initiator; member
254 hf_cb->is_initiator = false; in reset_control_block()
321 if (btif_hf_cb[idx].is_initiator) { in btif_hf_upstreams_evt()
340 if (!btif_hf_cb[idx].is_initiator) { in btif_hf_upstreams_evt()
365 btif_hf_cb[idx].is_initiator; in btif_hf_upstreams_evt()
383 if (btif_hf_cb[idx].is_initiator) { in btif_hf_upstreams_evt()
632 hf_cb->is_initiator = true; in connect_int()
/system/nfc/src/nfa/include/
Dnfa_p2p_int.h235 bool is_initiator; member
Dnfa_api.h426 bool is_initiator; /* TRUE if initiator */ member
/system/bt/stack/test/rfcomm/
Dstack_rfcomm_test.cc410 bool is_initiator, uint8_t scn, in SendAndVerifyOutgoingTransmission() argument
416 CreateQuickDataPacket(GetDlci(is_initiator, scn), cr, lcid, acl_handle, in SendAndVerifyOutgoingTransmission()
428 bool is_initiator, uint8_t scn, in ReceiveAndVerifyIncomingTransmission() argument
435 CreateQuickDataPacket(GetDlci(is_initiator, scn), cr, lcid, acl_handle, in ReceiveAndVerifyIncomingTransmission()