Home
last modified time | relevance | path

Searched refs:cid (Results 1 – 25 of 33) sorted by relevance

12

/system/bt/stack/hid/
Dhidd_conn.cc47 static void hidd_l2cif_connect_ind(const RawAddress& bd_addr, uint16_t cid,
49 static void hidd_l2cif_connect_cfm(uint16_t cid, uint16_t result);
50 static void hidd_l2cif_config_ind(uint16_t cid, tL2CAP_CFG_INFO* p_cfg);
51 static void hidd_l2cif_config_cfm(uint16_t cid, tL2CAP_CFG_INFO* p_cfg);
52 static void hidd_l2cif_disconnect_ind(uint16_t cid, bool ack_needed);
53 static void hidd_l2cif_disconnect_cfm(uint16_t cid, uint16_t result);
54 static void hidd_l2cif_data_ind(uint16_t cid, BT_HDR* p_msg);
55 static void hidd_l2cif_cong_ind(uint16_t cid, bool congested);
178 static void hidd_l2cif_connect_ind(const RawAddress& bd_addr, uint16_t cid, in hidd_l2cif_connect_ind() argument
184 HIDD_TRACE_EVENT("%s: psm=%04x cid=%04x id=%02x", __func__, psm, cid, id); in hidd_l2cif_connect_ind()
[all …]
Dhidh_conn.cc48 static uint8_t find_conn_by_cid(uint16_t cid);
884 uint16_t cid; in hidh_conn_snd_data() local
908 cid = p_hcon->ctrl_cid; in hidh_conn_snd_data()
912 cid = p_hcon->intr_cid; in hidh_conn_snd_data()
973 (!L2CA_DataWrite(cid, p_buf))) in hidh_conn_snd_data()
1045 static uint8_t find_conn_by_cid(uint16_t cid) { in find_conn_by_cid() argument
1051 ((hh_cb.devices[xx].conn.ctrl_cid == cid) || in find_conn_by_cid()
1052 (hh_cb.devices[xx].conn.intr_cid == cid))) in find_conn_by_cid()
/system/bt/stack/test/common/
Dmock_l2cap_layer.cc43 bool L2CA_DisconnectReq(uint16_t cid) { in L2CA_DisconnectReq() argument
44 return l2cap_interface->DisconnectRequest(cid); in L2CA_DisconnectReq()
47 bool L2CA_DisconnectRsp(uint16_t cid) { in L2CA_DisconnectRsp() argument
48 return l2cap_interface->DisconnectResponse(cid); in L2CA_DisconnectRsp()
51 bool L2CA_ConfigReq(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) { in L2CA_ConfigReq() argument
52 return l2cap_interface->ConfigRequest(cid, p_cfg); in L2CA_ConfigReq()
55 bool L2CA_ConfigRsp(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) { in L2CA_ConfigRsp() argument
56 return l2cap_interface->ConfigResponse(cid, p_cfg); in L2CA_ConfigRsp()
59 uint8_t L2CA_DataWrite(uint16_t cid, BT_HDR* p_data) { in L2CA_DataWrite() argument
60 return l2cap_interface->DataWrite(cid, p_data); in L2CA_DataWrite()
Dmock_l2cap_layer.h35 virtual bool DisconnectRequest(uint16_t cid) = 0;
36 virtual bool DisconnectResponse(uint16_t cid) = 0;
37 virtual bool ConfigRequest(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) = 0;
38 virtual bool ConfigResponse(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) = 0;
39 virtual uint8_t DataWrite(uint16_t cid, BT_HDR* p_data) = 0;
52 MOCK_METHOD1(DisconnectRequest, bool(uint16_t cid));
53 MOCK_METHOD1(DisconnectResponse, bool(uint16_t cid));
54 MOCK_METHOD2(ConfigRequest, bool(uint16_t cid, tL2CAP_CFG_INFO* p_cfg));
55 MOCK_METHOD2(ConfigResponse, bool(uint16_t cid, tL2CAP_CFG_INFO* p_cfg));
56 MOCK_METHOD2(DataWrite, uint8_t(uint16_t cid, BT_HDR* p_data));
/system/bt/stack/l2cap/
Dl2c_api.cc819 bool L2CA_ConfigReq(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) { in L2CA_ConfigReq() argument
825 cid, p_cfg->fcr_present, p_cfg->fcr.mode, p_cfg->mtu_present, p_cfg->mtu); in L2CA_ConfigReq()
828 p_ccb = l2cu_find_ccb_by_cid(NULL, cid); in L2CA_ConfigReq()
830 L2CAP_TRACE_WARNING("L2CAP - no CCB for L2CA_cfg_req, CID: %d", cid); in L2CA_ConfigReq()
868 bool L2CA_ConfigRsp(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) { in L2CA_ConfigRsp() argument
874 cid, p_cfg->result, p_cfg->mtu_present, p_cfg->flush_to_present, in L2CA_ConfigRsp()
878 p_ccb = l2cu_find_ccb_by_cid(NULL, cid); in L2CA_ConfigRsp()
880 L2CAP_TRACE_WARNING("L2CAP - no CCB for L2CA_cfg_rsp, CID: %d", cid); in L2CA_ConfigRsp()
911 bool L2CA_DisconnectReq(uint16_t cid) { in L2CA_DisconnectReq() argument
914 L2CAP_TRACE_API("L2CA_DisconnectReq() CID: 0x%04x", cid); in L2CA_DisconnectReq()
[all …]
Dl2c_main.cc960 uint8_t l2c_data_write(uint16_t cid, BT_HDR* p_data, uint16_t flags) { in l2c_data_write() argument
963 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(NULL, cid); in l2c_data_write()
965 L2CAP_TRACE_WARNING("L2CAP - no CCB for L2CA_DataWrite, CID: %d", cid); in l2c_data_write()
984 cid, p_data->len, mtu); in l2c_data_write()
/system/bt/stack/include/
Dl2c_api.h563 extern bool L2CA_ConfigReq(uint16_t cid, tL2CAP_CFG_INFO* p_cfg);
575 extern bool L2CA_ConfigRsp(uint16_t cid, tL2CAP_CFG_INFO* p_cfg);
586 extern bool L2CA_DisconnectReq(uint16_t cid);
598 extern bool L2CA_DisconnectRsp(uint16_t cid);
612 extern uint8_t L2CA_DataWrite(uint16_t cid, BT_HDR* p_data);
660 extern bool L2CA_SetIdleTimeout(uint16_t cid, uint16_t timeout, bool is_global);
768 extern bool L2CA_FlowControl(uint16_t cid, bool data_enabled);
779 extern bool L2CA_SendTestSFrame(uint16_t cid, uint8_t sup_type,
791 extern bool L2CA_SetTxPriority(uint16_t cid, tL2CAP_CHNL_PRIORITY priority);
816 extern bool L2CA_SetChnlDataRate(uint16_t cid, tL2CAP_CHNL_DATA_RATE tx,
[all …]
/system/chre/apps/chqts/src/general_test/
Dcell_info_tdscdma.cc33 } else if (!isBoundedInt32(identity.cid, 0, 65535, INT32_MAX)) { in validateIdentity()
35 "Invalid TDSCDMA Cell Identity: %d", identity.cid); in validateIdentity()
Dcell_info_wcdma.cc33 } else if (!isBoundedInt32(identity.cid, 0, 268435455, INT32_MAX)) { in validateIdentity()
34 sendFatalFailureInt32("Invalid WCDMA Cell Identity: %d", identity.cid); in validateIdentity()
Dcell_info_gsm.cc32 } else if (!isBoundedInt32(identity.cid, 0, 65535, INT32_MAX)) { in validateIdentity()
33 sendFatalFailureInt32("Invalid GSM Cell Identity: %d", identity.cid); in validateIdentity()
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/src/main/cpp/
Dnative-lib.cpp24 jmethodID cid = env->GetMethodID(cls, "<init>", "(Ljava/lang/String;I)V"); in ThrowErrnoException() local
25 if (cid == nullptr) { in ThrowErrnoException()
32 jthrowable obj = (jthrowable)env->NewObject(cls, cid, msg, err); in ThrowErrnoException()
/system/chre/chre_api/include/chre_api/chre/
Dwwan.h100 int32_t cid; member
125 int32_t cid; member
193 int32_t cid; member
/system/chre/chre_api/legacy/v1_1/chre/
Dwwan.h100 int32_t cid; member
125 int32_t cid; member
193 int32_t cid; member
/system/chre/chre_api/legacy/v1_2/chre/
Dwwan.h100 int32_t cid; member
125 int32_t cid; member
193 int32_t cid; member
/system/bt/vendor_libs/test_vendor_lib/scripts/
Dhci_socket.py353 l2cap_req[L2CAP_Hdr].cid == L2CAP_Hdr(cid='control').cid) and (
359 L2CAP_Hdr(len=12, cid='control') /
367 L2CAP_Hdr(len=12, cid='control') / L2CAP_CmdHdr(
/system/bt/stack/gap/
Dgap_conn.cc100 static tGAP_CCB* gap_find_ccb_by_cid(uint16_t cid);
175 uint16_t cid; in GAP_ConnOpen() local
305 cid = L2CA_CONNECT_REQ(p_ccb->psm, *p_rem_bda, &p_ccb->ertm_info); in GAP_ConnOpen()
306 if (cid != 0) { in GAP_ConnOpen()
307 p_ccb->connection_id = cid; in GAP_ConnOpen()
313 cid = L2CA_CONNECT_COC_REQ(p_ccb->psm, *p_rem_bda, &p_ccb->local_coc_cfg); in GAP_ConnOpen()
314 if (cid != 0) { in GAP_ConnOpen()
315 p_ccb->connection_id = cid; in GAP_ConnOpen()
1049 static tGAP_CCB* gap_find_ccb_by_cid(uint16_t cid) { in gap_find_ccb_by_cid() argument
1056 (p_ccb->connection_id == cid)) in gap_find_ccb_by_cid()
/system/core/adb/
Dsocket_spec.cpp193 unsigned int cid = 0; in socket_spec_connect() local
194 if (!android::base::ParseUint(fragments[1], &cid)) { in socket_spec_connect()
219 addr.svm_cid = cid; in socket_spec_connect()
221 *serial = android::base::StringPrintf("vsock:%u:%d", cid, port_value); in socket_spec_connect()
/system/nfc/src/include/
Dnci_defs.h121 #define NCI_DATA_PBLD_HDR(p, pbf, cid, len) \ argument
122 *(p)++ = (uint8_t)(((pbf) << NCI_PBF_SHIFT) | (cid)); \
126 #define NCI_DATA_PRS_HDR(p, pbf, cid, len) \ argument
128 (cid) = (*(p)&NCI_CID_MASK); \
/system/chre/apps/wwan_world/
Dwwan_world.cc84 LOGI(" cid %" PRId32, cell->CellInfo.gsm.cellIdentityGsm.cid); in logChreWwanInfo()
93 LOGI(" cid %" PRId32, cell->CellInfo.wcdma.cellIdentityWcdma.cid); in logChreWwanInfo()
/system/bt/hci/src/
Dbtsnoop.cc139 bool isWhitelistedL2c(bool local, uint16_t cid) { in isWhitelistedL2c() argument
141 return (set.find(cid) != set.end()); in isWhitelistedL2c()
144 bool isRfcChannel(bool local, uint16_t cid) { in isRfcChannel() argument
146 return cid == channel; in isRfcChannel()
/system/bt/stack/smp/
Dsmp_l2c.cc35 static void smp_tx_complete_callback(uint16_t cid, uint16_t num_pkt);
217 static void smp_tx_complete_callback(uint16_t cid, uint16_t num_pkt) { in smp_tx_complete_callback() argument
228 if (cid == L2CAP_SMP_CID) { in smp_tx_complete_callback()
/system/bt/stack/bnep/
Dbnep_api.cc130 uint16_t cid; in BNEP_Connect() local
175 cid = L2CA_ConnectReq(BT_PSM_BNEP, p_bcb->rem_bda); in BNEP_Connect()
176 if (cid != 0) { in BNEP_Connect()
177 p_bcb->l2cap_cid = cid; in BNEP_Connect()
Dbnep_int.h194 extern tBNEP_CONN* bnepu_find_bcb_by_cid(uint16_t cid);
/system/bt/stack/sdp/
Dsdp_main.cc517 uint16_t cid; in sdp_conn_originate() local
540 cid = L2CA_ConnectReq(SDP_PSM, p_bd_addr); in sdp_conn_originate()
543 if (cid == 0) { in sdp_conn_originate()
549 p_ccb->connection_id = cid; in sdp_conn_originate()
Dsdpint.h252 extern tCONN_CB* sdpu_find_ccb_by_cid(uint16_t cid);

12