/foundation/communication/bluetooth_service/services/bluetooth/stack/src/avctp/ |
H A D | avctp_br_act.h | 22 extern uint16_t AvctCbBrChConn(AvctCbDev *cbDev, const AvctEvtData *data); 23 extern uint16_t AvctCbBrChConnFail(AvctCbDev *cbDev, const AvctEvtData *data); 24 extern uint16_t AvctCbBrChBind(AvctCbDev *cbDev, const AvctEvtData *data); 25 extern uint16_t AvctCbBrChBindFail(AvctCbDev *cbDev, const AvctEvtData *data); 26 extern uint16_t AvctCbBrChDisconn(AvctCbDev *cbDev, const AvctEvtData *data); 27 extern uint16_t AvctCbBrChUnbind(AvctCbDev *cbDev, const AvctEvtData *data); 28 extern uint16_t AvctCbBrChCheckDisconn(AvctCbDev *cbDev, const AvctEvtData *data); 29 extern uint16_t AvctCbBrChConnInd(AvctCbDev *cbDev, const AvctEvtData *data); 30 extern uint16_t AvctCbBrChCloseInd(AvctCbDev *cbDev, const AvctEvtData *data); 31 extern uint16_t AvctCbBrChCloseCfm(AvctCbDev *cbDe [all...] |
H A D | avctp_ctrl_act.h | 28 extern uint16_t AvctCbCtrlChConn(AvctCbDev *cbDev, const AvctEvtData *data); 29 extern uint16_t AvctCbCtrlChBindFail(AvctCbDev *cbDev, const AvctEvtData *data); 30 extern uint16_t AvctCbCtrlChBind(AvctCbDev *cbDev, const AvctEvtData *data); 31 extern uint16_t AvctCbCtrlChConnFail(AvctCbDev *cbDev, const AvctEvtData *data); 32 extern uint16_t AvctCbCtrlChDisconn(AvctCbDev *cbDev, const AvctEvtData *data); 33 extern uint16_t AvctCbCtrlChUnbind(AvctCbDev *cbDev, const AvctEvtData *data); 34 extern uint16_t AvctCbCtrlChCheckDisconn(AvctCbDev *cbDev, const AvctEvtData *data); 35 extern uint16_t AvctCbCtrlChConnInd(AvctCbDev *cbDev, const AvctEvtData *data); 36 extern uint16_t AvctCbCtrlChCloseInd(AvctCbDev *cbDev, const AvctEvtData *data); 37 extern uint16_t AvctCbCtrlChCloseCfm(AvctCbDev *cbDe [all...] |
H A D | avctp_dev.c | 31 * Return AvctCbDev the point of control channel block. 33 AvctCbDev *AvctGetCbDevByAddress(const BtAddr *peerAddr) in AvctGetCbDevByAddress() 36 AvctCbDev *cbDev = NULL; in AvctGetCbDevByAddress() 52 * Return AvctCbDev the point of device block. 54 AvctCbDev *AvctGetCbDevByChId(uint16_t chId) in AvctGetCbDevByChId() 57 AvctCbDev *cbDev = NULL; in AvctGetCbDevByChId() 74 * Return AvctCbDev the point of device block. 76 AvctCbDev *AvctCbDevAlloc(const BtAddr *peerAddr) in AvctCbDevAlloc() 79 AvctCbDev *cbDev = NULL; in AvctCbDevAlloc() 83 (void)memset_s(cbDev, sizeof(AvctCbDev), in AvctCbDevAlloc() [all...] |
H A D | avctp_br_act.c | 35 uint16_t AvctCbBrChConn(AvctCbDev *cbDev, const AvctEvtData *data) in AvctCbBrChConn() 56 uint16_t AvctCbBrChConnFail(AvctCbDev *cbDev, const AvctEvtData *data) in AvctCbBrChConnFail() 81 uint16_t AvctCbBrChBind(AvctCbDev *cbDev, const AvctEvtData *data) in AvctCbBrChBind() 97 uint16_t AvctCbBrChBindFail(AvctCbDev *cbDev, const AvctEvtData *data) in AvctCbBrChBindFail() 112 uint16_t AvctCbBrChDisconn(AvctCbDev *cbDev, const AvctEvtData *data) in AvctCbBrChDisconn() 127 uint16_t AvctCbBrChUnbind(AvctCbDev *cbDev, const AvctEvtData *data) in AvctCbBrChUnbind() 143 uint16_t AvctCbBrChCheckDisconn(AvctCbDev *cbDev, const AvctEvtData *data) in AvctCbBrChCheckDisconn() 166 uint16_t AvctCbBrChConnInd(AvctCbDev *cbDev, const AvctEvtData *data) in AvctCbBrChConnInd() 198 uint16_t AvctCbBrChCloseInd(AvctCbDev *cbDev, const AvctEvtData *data) in AvctCbBrChCloseInd() 222 uint16_t AvctCbBrChCloseCfm(AvctCbDev *cbDe [all...] |
H A D | avctp_dev.h | 22 extern AvctCbDev *AvctCbDevAlloc(const BtAddr *peerAddr); 23 extern AvctCbDev *AvctGetCbDevByChId(uint16_t chId); 24 extern void AvctCbDevDealloc(AvctCbDev *cbDev);
|
H A D | avctp_ctrl_act.c | 42 uint16_t AvctCbCtrlChConn(AvctCbDev *cbDev, const AvctEvtData *data) in AvctCbCtrlChConn() 63 uint16_t AvctCbCtrlChConnFail(AvctCbDev *cbDev, const AvctEvtData *data) in AvctCbCtrlChConnFail() 86 uint16_t AvctCbCtrlChBind(AvctCbDev *cbDev, const AvctEvtData *data) in AvctCbCtrlChBind() 103 uint16_t AvctCbCtrlChBindFail(AvctCbDev *cbDev, const AvctEvtData *data) in AvctCbCtrlChBindFail() 120 uint16_t AvctCbCtrlChDisconn(AvctCbDev *cbDev, const AvctEvtData *data) in AvctCbCtrlChDisconn() 135 uint16_t AvctCbCtrlChUnbind(AvctCbDev *cbDev, const AvctEvtData *data) in AvctCbCtrlChUnbind() 154 uint16_t AvctCbCtrlChCheckDisconn(AvctCbDev *cbDev, const AvctEvtData *data) in AvctCbCtrlChCheckDisconn() 179 uint16_t AvctCbCtrlChConnInd(AvctCbDev *cbDev, const AvctEvtData *data) in AvctCbCtrlChConnInd() 223 uint16_t AvctCbCtrlChCloseInd(AvctCbDev *cbDev, const AvctEvtData *data) in AvctCbCtrlChCloseInd() 252 uint16_t AvctCbCtrlChCloseCfm(AvctCbDev *cbDe [all...] |
H A D | avctp_ctrl.h | 22 extern uint16_t AvctCbCtrlEvt(AvctCbDev *cbDev, uint8_t event, const AvctEvtData *data); 23 extern AvctCbDev *AvctGetCbDevByAddress(const BtAddr *peerAddr);
|
H A D | avctp_int.h | 111 } AvctCbDev; typedef 116 AvctCbDev *cbDev; /* The point to the device ControlBlock */ 124 AvctCbDev cbDev[AVCT_MAX_DEVICES]; /* Device control blocks */
|
H A D | avctp_ctrl.c | 24 typedef uint16_t (*AvctCtrlAction_t)(AvctCbDev *cbDev, const AvctEvtData *data); 58 uint16_t AvctCbCtrlEvt(AvctCbDev *cbDev, uint8_t event, const AvctEvtData *data) in AvctCbCtrlEvt()
|
H A D | avctp_ctrl_l2cap.c | 121 AvctCbDev *cbDev = AvctGetCbDevByAddress(addr); in AvctRecvConnectionReqAct() 196 AvctCbDev *cbDev = AvctGetCbDevByChId(lcid); in AvctRecvConnectionRspCBack() 263 AvctCbDev *cbDev = AvctGetCbDevByChId(lcid); in AvctRecvConfigReqCBack() 336 AvctCbDev *cbDev = AvctGetCbDevByChId(lcid); in AvctRecvConfigRspCBack() 402 AvctCbDev *cbDev = AvctGetCbDevByChId(lcid); in AvctRecvDisconnectionReqCBack() 446 AvctCbDev *cbDev = AvctGetCbDevByChId(lcid); in AvctRecvDisconnectionRspCBack() 494 AvctCbDev *cbDev = AvctGetCbDevByChId(lcid); in AvctDisconnectAbnormalCBack() 550 AvctCbDev *cbDev = AvctGetCbDevByChId(lcid); in AvctRecvDataCBack() 596 AvctCbDev *cbDev = AvctGetCbDevByChId(lcid); in AvctRemoteBusyCBack() 652 AvctCbDev *cbDe in AvctCtrlConnectResult() [all...] |
H A D | avctp_br_l2cap.c | 113 AvctCbDev *cbDev = NULL; in AvctBrRecvConnectionReqAct() 203 AvctCbDev *cbDev = AvctGetCbDevByChId(lcid); in AvctBrRecvConnectionRspCBack() 276 AvctCbDev *cbDev = AvctGetCbDevByChId(lcid); in AvctBrRecvConfigReqCBack() 343 AvctCbDev *cbDev = AvctGetCbDevByChId(lcid); in AvctBrRecvConfigRspCBack() 413 AvctCbDev *cbDev = AvctGetCbDevByChId(lcid); in AvctBrRecvDisconnectionReqCBack() 461 AvctCbDev *cbDev = AvctGetCbDevByChId(lcid); in AvctBrRecvDisconnectionRspCBack() 510 AvctCbDev *cbDev = AvctGetCbDevByChId(lcid); in AvctBrDisconnectAbnormalCBack() 566 AvctCbDev *cbDev = AvctGetCbDevByChId(lcid); in AvctBrRecvDataCBack() 614 AvctCbDev *cbDev = AvctGetCbDevByChId(lcid); in AvctBrRemoteBusyCBack() 671 AvctCbDev *cbDe in AvctBrwL2CIFConnectResult() [all...] |
H A D | avctp_gap.c | 66 AvctCbDev *cbDev = ((AvctCbDev *)context); in AvctSecurityResult() 175 void AvctRequestSecurity(const AvctCbDev *cbDev, GAP_Service serviceId, uint16_t psm) in AvctRequestSecurity() 182 gapParam.context = (AvctCbDev *)cbDev; in AvctRequestSecurity()
|
H A D | avctp_br.c | 25 typedef uint16_t (*AvctBrAction_t)(AvctCbDev *cbDev, const AvctEvtData *data); 50 uint16_t AvctCbBrEvt(AvctCbDev *cbDev, uint8_t event, const AvctEvtData *data) in AvctCbBrEvt()
|
H A D | avctp_br.h | 22 extern uint16_t AvctCbBrEvt(AvctCbDev *cbDev, uint8_t event, const AvctEvtData *data);
|
H A D | avctp_conn.h | 24 extern AvctCbConn *AvctGetCbConnByPid(const AvctCbDev *cbDev, uint16_t pid);
|
H A D | avctp_gap.h | 35 extern void AvctRequestSecurity(const AvctCbDev *cbDev, GAP_Service serviceId, uint16_t psm);
|
H A D | avctp_conn.c | 112 AvctCbConn *AvctGetCbConnByPid(const AvctCbDev *cbDev, uint16_t pid) in AvctGetCbConnByPid()
|
H A D | avctp_api.c | 564 AvctCbDev *cbDev = AvctGetCbDevByAddress(peerAddr); in AvctConnectInitiate()
|