/packages/modules/Bluetooth/system/stack/test/gatt/ |
D | gatt_sr_test.cc | 154 tcb_.att_lcid = L2CAP_ATT_CID; in SetUp() 185 gatts_process_write_req(tcb_, L2CAP_ATT_CID, el_, kHandle, in TEST_F() 192 gatts_process_write_req(tcb_, L2CAP_ATT_CID, el_, kHandle, in TEST_F() 200 gatts_process_write_req(tcb_, L2CAP_ATT_CID, el_, kHandle, in TEST_F() 208 gatts_process_write_req(tcb_, L2CAP_ATT_CID, el_, kHandle, in TEST_F() 224 gatts_process_write_req(tcb_, L2CAP_ATT_CID, el_, kHandle, in TEST_F() 231 gatts_process_write_req(tcb_, L2CAP_ATT_CID, el_, kHandle, in TEST_F() 239 gatts_process_write_req(tcb_, L2CAP_ATT_CID, el_, kHandle, in TEST_F() 250 gatts_process_write_req(tcb_, L2CAP_ATT_CID, el_, kHandle, in TEST_F() 268 gatts_process_write_req(tcb_, L2CAP_ATT_CID, el_, kHandle, GATT_CMD_WRITE, 0, in TEST_F() [all …]
|
/packages/modules/Bluetooth/system/stack/fuzzers/ |
D | gatt_fuzzer.cc | 80 bluetooth::log::assert_that(lcid == L2CAP_ATT_CID, in FakeBtStack() 227 fixed_chnl_reg.pL2CA_FixedConn_Cb(L2CAP_ATT_CID, kDummyAddr, true, 0, in FuzzAsServer() 236 fixed_chnl_reg.pL2CA_FixedData_Cb(L2CAP_ATT_CID, kDummyAddr, hdr); in FuzzAsServer() 256 fixed_chnl_reg.pL2CA_FixedConn_Cb(L2CAP_ATT_CID, kDummyAddr, true, 0, in FuzzAsClient() 306 fixed_chnl_reg.pL2CA_FixedData_Cb(L2CAP_ATT_CID, kDummyAddr, hdr); in FuzzAsClient() 309 fixed_chnl_reg.pL2CA_FixedConn_Cb(L2CAP_ATT_CID, kDummyAddr, false, 0, in FuzzAsClient()
|
D | l2cap_fuzzer.cc | 220 L2CA_RegisterFixedChannel(L2CAP_ATT_CID, ®), in Fuzz() 223 L2CA_ConnectFixedChnl(L2CAP_ATT_CID, kAttAddr), in Fuzz() 271 (void)L2CA_RemoveFixedChnl(L2CAP_ATT_CID, kAttAddr); in Fuzz()
|
/packages/modules/Bluetooth/system/stack/gatt/ |
D | gatt_main.cc | 133 if (!L2CA_RegisterFixedChannel(L2CAP_ATT_CID, &fixed_reg)) { in gatt_init() 236 p_tcb->att_lcid = L2CAP_ATT_CID; in gatt_connect() 273 if (p_tcb->att_lcid == L2CAP_ATT_CID) { in gatt_disconnect() 275 if (!L2CA_RemoveFixedChnl(L2CAP_ATT_CID, p_tcb->peer_bda)) { in gatt_disconnect() 387 if (p_tcb->att_lcid == L2CAP_ATT_CID && is_valid_handle) { in gatt_update_app_use_link_flag() 399 if (p_tcb->att_lcid == L2CAP_ATT_CID && is_valid_handle) { in gatt_update_app_use_link_flag() 472 gatt_le_connect_cback(L2CAP_ATT_CID, address, false, 0x08, BT_TRANSPORT_LE); in on_connection_timed_out() 474 gatt_le_connect_cback(L2CAP_ATT_CID, address, false, 0xff, BT_TRANSPORT_LE); in on_connection_timed_out() 543 p_tcb->att_lcid = L2CAP_ATT_CID; in gatt_le_connect_cback() 756 gatt_data_process(*p_tcb, L2CAP_ATT_CID, p_buf); in gatt_le_data_ind() [all …]
|
D | gatt_utils.cc | 659 if (p_tcb->eatt && cid != L2CAP_ATT_CID) in gatt_start_conf_timer() 678 if (tcb.eatt && cid != L2CAP_ATT_CID) in gatt_stop_conf_timer() 696 if (tcb.eatt && cid != L2CAP_ATT_CID) in gatt_start_ind_ack_timer() 714 if (p_tcb->eatt && cid != L2CAP_ATT_CID) { in gatt_stop_ind_ack_timer() 820 attp_send_cl_confirmation_msg(*p_tcb, L2CAP_ATT_CID); in gatt_ind_ack_timeout()
|
D | att_protocol.cc | 379 if (lcid == L2CAP_ATT_CID) { in attp_send_msg_to_l2cap()
|
D | gatt_sr.cc | 829 if (cid != L2CAP_ATT_CID) { in gatts_process_mtu_req()
|
D | gatt_api.cc | 717 p_clcb->cid = L2CAP_ATT_CID; in GATTC_ConfigureMTU()
|
/packages/modules/Bluetooth/system/stack/include/ |
D | l2cdefs.h | 274 L2CAP_ATT_CID = 4, enumerator 286 CASE_RETURN_STRING_HEX04(L2CAP_ATT_CID); in l2cap_cid_fixed_text() 304 #define L2CAP_FIXED_CHNL_ATT_BIT (1 << L2CAP_ATT_CID)
|
/packages/modules/Bluetooth/system/stack/arbiter/ |
D | acl_arbiter.cc | 119 if (L2CA_SendFixedChnlData(L2CAP_ATT_CID, p_tcb->peer_bda, p_buf) != in SendPacketToPeer() 122 p_tcb->peer_bda, L2CAP_ATT_CID, p_buf->len); in SendPacketToPeer()
|
/packages/modules/Bluetooth/system/stack/l2cap/ |
D | l2c_api.cc | 63 if (fixed_cid >= L2CAP_ATT_CID && fixed_cid <= L2CAP_SMP_CID) in l2c_get_transport_from_fixed_cid() 1140 case L2CAP_ATT_CID: in fixed_channel_text() 1199 if (fixed_cid >= L2CAP_ATT_CID && fixed_cid <= L2CAP_SMP_CID) in L2CA_ConnectFixedChnl() 1295 if (fixed_cid >= L2CAP_ATT_CID && fixed_cid <= L2CAP_SMP_CID) in L2CA_SendFixedChnlData() 1408 if (fixed_cid >= L2CAP_ATT_CID && fixed_cid <= L2CAP_SMP_CID) in L2CA_RemoveFixedChnl() 1435 if ((fixed_cid == L2CAP_ATT_CID) && !p_lcb->ccb_queue.p_first_ccb) in L2CA_RemoveFixedChnl()
|
D | l2c_utils.cc | 1126 if ((xx >= L2CAP_ATT_CID - L2CAP_FIRST_FIXED_CHNL) && in l2cu_send_peer_info_rsp() 1625 p_ccb->local_cid == L2CAP_ATT_CID) { in l2cu_release_ccb() 2814 channel_id >= L2CAP_ATT_CID && channel_id <= L2CAP_SMP_CID) in l2cu_process_fixed_chnl_resp()
|
D | l2c_ble.cc | 143 if (!l2cu_initialize_fixed_ccb(p_lcb, L2CAP_ATT_CID)) { in l2cble_conn_comp()
|
/packages/modules/Bluetooth/system/tools/scripts/ |
D | dump_le_audio.py | 66 L2CAP_ATT_CID = 0x0004 variable 732 if channel_id == L2CAP_ATT_CID:
|