Searched refs:gap_handle (Results 1 – 4 of 4) sorted by relevance
/system/bt/stack/include/ |
D | gap_api.h | 110 uint16_t gap_handle; member 125 typedef void(tGAP_CONN_CALLBACK)(uint16_t gap_handle, uint16_t event, 194 extern uint16_t GAP_ConnClose(uint16_t gap_handle); 209 extern uint16_t GAP_ConnReadData(uint16_t gap_handle, uint8_t* p_data, 238 extern uint16_t GAP_ConnBTRead(uint16_t gap_handle, BT_HDR** pp_buf); 254 extern uint16_t GAP_ConnWriteData(uint16_t gap_handle, BT_HDR* msg); 267 extern uint16_t GAP_ConnReconfig(uint16_t gap_handle, tL2CAP_CFG_INFO* p_cfg); 285 extern uint16_t GAP_ConnSetIdleTimeout(uint16_t gap_handle, uint16_t timeout); 298 extern const RawAddress* GAP_ConnGetRemoteAddr(uint16_t gap_handle); 310 extern uint16_t GAP_ConnGetRemMtuSize(uint16_t gap_handle); [all …]
|
/system/bt/stack/gap/ |
D | gap_conn.cc | 52 uint16_t gap_handle; /* GAP handle */ member 290 return (p_ccb->gap_handle); in GAP_ConnOpen() 309 return (p_ccb->gap_handle); in GAP_ConnOpen() 317 return (p_ccb->gap_handle); in GAP_ConnOpen() 338 uint16_t GAP_ConnClose(uint16_t gap_handle) { in GAP_ConnClose() argument 339 tGAP_CCB* p_ccb = gap_find_ccb_by_handle(gap_handle); in GAP_ConnClose() 341 DVLOG(1) << StringPrintf("GAP_CONN - close handle: 0x%x", gap_handle); in GAP_ConnClose() 373 uint16_t GAP_ConnReadData(uint16_t gap_handle, uint8_t* p_data, in GAP_ConnReadData() argument 375 tGAP_CCB* p_ccb = gap_find_ccb_by_handle(gap_handle); in GAP_ConnReadData() 465 uint16_t GAP_ConnBTRead(uint16_t gap_handle, BT_HDR** pp_buf) { in GAP_ConnBTRead() argument [all …]
|
/system/bt/bta/hearing_aid/ |
D | hearing_aid.cc | 133 uint16_t gap_handle; member 156 gap_handle(0), in HearingDevice() 173 gap_handle(0), in HearingDevice() 221 HearingDevice* FindByGapHandle(uint16_t gap_handle) { in FindByGapHandle() argument 223 [&gap_handle](const HearingDevice& device) { in FindByGapHandle() 224 return device.gap_handle == gap_handle; in FindByGapHandle() 593 uint16_t gap_handle = GAP_ConnOpen( in ConnectSocket() local 598 if (gap_handle == GAP_INVALID_HANDLE) { in ConnectSocket() 603 hearingDevice->gap_handle = gap_handle; in ConnectSocket() 811 uint16_t cid = GAP_ConnGetL2CAPCid(left->gap_handle); in OnAudioDataReady() [all …]
|
/system/bt/bta/jv/ |
D | bta_jv_act.cc | 852 static void bta_jv_l2cap_client_cback(uint16_t gap_handle, uint16_t event, in bta_jv_l2cap_client_cback() argument 854 tBTA_JV_L2C_CB* p_cb = &bta_jv_cb.l2c_cb[gap_handle]; in bta_jv_l2cap_client_cback() 857 if (gap_handle >= BTA_JV_MAX_L2C_CONN && !p_cb->p_cback) return; in bta_jv_l2cap_client_cback() 859 VLOG(2) << __func__ << ": gap_handle=" << gap_handle in bta_jv_l2cap_client_cback() 862 evt_data.l2c_open.handle = gap_handle; in bta_jv_l2cap_client_cback() 866 evt_data.l2c_open.rem_bda = *GAP_ConnGetRemoteAddr(gap_handle); in bta_jv_l2cap_client_cback() 867 evt_data.l2c_open.tx_mtu = GAP_ConnGetRemMtuSize(gap_handle); in bta_jv_l2cap_client_cback() 881 evt_data.data_ind.handle = gap_handle; in bta_jv_l2cap_client_cback() 1001 static void bta_jv_l2cap_server_cback(uint16_t gap_handle, uint16_t event, in bta_jv_l2cap_server_cback() argument 1003 tBTA_JV_L2C_CB* p_cb = &bta_jv_cb.l2c_cb[gap_handle]; in bta_jv_l2cap_server_cback() [all …]
|