Searched refs:conn_cb (Results 1 – 8 of 8) sorted by relevance
/system/bt/profile/avrcp/tests/ |
D | avrcp_connection_handler_test.cc | 93 tAVRC_CONN_CB conn_cb; in TEST_F() local 97 DoAll(SetArgPointee<0>(1), SaveArgPointee<1>(&conn_cb), Return(0))); in TEST_F() 106 ASSERT_EQ(conn_cb.conn, 1); in TEST_F() 116 tAVRC_CONN_CB conn_cb; in TEST_F() local 120 DoAll(SetArgPointee<0>(1), SaveArgPointee<1>(&conn_cb), Return(0))); in TEST_F() 130 conn_cb.ctrl_cback.Run(1, AVRC_CLOSE_IND_EVT, 0, &RawAddress::kAny); in TEST_F() 140 tAVRC_CONN_CB conn_cb; in TEST_F() local 144 DoAll(SetArgPointee<0>(1), SaveArgPointee<1>(&conn_cb), Return(0))); in TEST_F() 157 conn_cb.ctrl_cback.Run(1, AVRC_CLOSE_IND_EVT, 0, &RawAddress::kAny); in TEST_F() 165 tAVRC_CONN_CB conn_cb; in TEST_F() local [all …]
|
/system/nfc/src/nfc/nfc/ |
D | nfc_utils.cc | 53 if (nfc_cb.conn_cb[xx].conn_id == NFC_ILLEGAL_CONN_ID) { in nfc_alloc_conn_cb() 54 nfc_cb.conn_cb[xx].conn_id = in nfc_alloc_conn_cb() 56 p_conn_cb = &nfc_cb.conn_cb[xx]; in nfc_alloc_conn_cb() 80 handle = (uint8_t)(p_cb - nfc_cb.conn_cb + 1); in nfc_set_conn_id() 101 if (nfc_cb.conn_cb[xx].id == id) { in nfc_find_conn_cb_by_handle() 102 p_conn_cb = &nfc_cb.conn_cb[xx]; in nfc_find_conn_cb_by_handle() 127 if (nfc_cb.conn_cb[xx].conn_id == NFC_PEND_CONN_ID) { in nfc_find_conn_cb_by_conn_id() 128 p_conn_cb = &nfc_cb.conn_cb[xx]; in nfc_find_conn_cb_by_conn_id() 136 if (handle > 0) p_conn_cb = &nfc_cb.conn_cb[handle - 1]; in nfc_find_conn_cb_by_conn_id() 179 tNFC_CONN_CB* p_conn_cb = &nfc_cb.conn_cb[0]; in nfc_reset_all_conn_cbs()
|
D | nfc_main.cc | 195 tNFC_CONN_CB* p_cb = &nfc_cb.conn_cb[NFC_RF_CONN_ID]; in nfc_enabled() 242 p_cb = &nfc_cb.conn_cb[NFC_HCI_CONN_ID]; in nfc_enabled() 729 nfc_cb.conn_cb[xx].conn_id = NFC_ILLEGAL_CONN_ID; in NFC_Init() 1021 tNFC_CONN_CB* p_cb = &nfc_cb.conn_cb[NFC_RF_CONN_ID]; in NFC_SetStaticRfCback() 1124 tNFC_CONN_CB* p_cb = &nfc_cb.conn_cb[NFC_RF_CONN_ID]; in NFC_Deactivate() 1339 tNFC_CONN_CB* p_cb = &nfc_cb.conn_cb[NFC_HCI_CONN_ID]; in NFC_SetStaticHciCback()
|
D | nfc_ncif.cc | 881 tNFC_CONN_CB* p_cb = &nfc_cb.conn_cb[NFC_RF_CONN_ID]; in nfc_ncif_proc_activate() 1118 tNFC_CONN_CB* p_cb = &nfc_cb.conn_cb[NFC_RF_CONN_ID]; in nfc_ncif_proc_deactivate() 1473 tNFC_CONN_CB* p_cb = &nfc_cb.conn_cb[NFC_RF_CONN_ID]; in nfc_ncif_proc_init_rsp()
|
/system/nfc/src/nfa/p2p/ |
D | nfa_p2p_act.cc | 62 if (nfa_p2p_cb.conn_cb[xx].flags == 0) { in nfa_p2p_allocate_conn_cb() 63 nfa_p2p_cb.conn_cb[xx].flags |= NFA_P2P_CONN_FLAG_IN_USE; in nfa_p2p_allocate_conn_cb() 64 nfa_p2p_cb.conn_cb[xx].local_sap = local_sap; in nfa_p2p_allocate_conn_cb() 87 nfa_p2p_cb.conn_cb[xx].flags = 0; in nfa_p2p_deallocate_conn_cb() 107 if ((nfa_p2p_cb.conn_cb[xx].flags & NFA_P2P_CONN_FLAG_IN_USE) && in nfa_p2p_find_conn_cb() 108 (nfa_p2p_cb.conn_cb[xx].local_sap == local_sap) && in nfa_p2p_find_conn_cb() 109 (nfa_p2p_cb.conn_cb[xx].remote_sap == remote_sap)) { in nfa_p2p_find_conn_cb() 299 nfa_p2p_cb.conn_cb[xx].remote_sap = p_data->connect_ind.remote_sap; in nfa_p2p_proc_llcp_connect_ind() 300 nfa_p2p_cb.conn_cb[xx].remote_miu = p_data->connect_ind.miu; in nfa_p2p_proc_llcp_connect_ind() 304 nfa_p2p_cb.conn_cb[xx].flags |= NFA_P2P_CONN_FLAG_REMOTE_RW_ZERO; in nfa_p2p_proc_llcp_connect_ind() [all …]
|
D | nfa_p2p_api.cc | 221 if ((xx >= LLCP_MAX_DATA_LINK) || (nfa_p2p_cb.conn_cb[xx].flags == 0)) { in NFA_P2pAcceptConn() 273 if ((xx >= LLCP_MAX_DATA_LINK) || (nfa_p2p_cb.conn_cb[xx].flags == 0)) { in NFA_P2pRejectConn() 322 if ((xx >= LLCP_MAX_DATA_LINK) || (nfa_p2p_cb.conn_cb[xx].flags == 0)) { in NFA_P2pDisconnect() 653 (nfa_p2p_cb.conn_cb[xx].flags == 0)) { in NFA_P2pSendData() 656 } else if (nfa_p2p_cb.conn_cb[xx].flags & NFA_P2P_CONN_FLAG_REMOTE_RW_ZERO) { in NFA_P2pSendData() 660 } else if (nfa_p2p_cb.conn_cb[xx].remote_miu < length) { in NFA_P2pSendData() 662 handle, nfa_p2p_cb.conn_cb[xx].remote_miu); in NFA_P2pSendData() 664 } else if (nfa_p2p_cb.conn_cb[xx].flags & NFA_P2P_CONN_FLAG_CONGESTED) { in NFA_P2pSendData() 670 } else if (LLCP_IsDataLinkCongested(nfa_p2p_cb.conn_cb[xx].local_sap, in NFA_P2pSendData() 671 nfa_p2p_cb.conn_cb[xx].remote_sap, in NFA_P2pSendData() [all …]
|
/system/nfc/src/nfa/include/ |
D | nfa_p2p_int.h | 249 tNFA_P2P_CONN_CB conn_cb[LLCP_MAX_DATA_LINK]; member
|
/system/nfc/src/nfc/include/ |
D | nfc_int.h | 164 tNFC_CONN_CB conn_cb[NCI_MAX_CONN_CBS]; member
|