Home
last modified time | relevance | path

Searched refs:L2CAP_ATT_CID (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Bluetooth/system/stack/test/gatt/
Dgatt_sr_test.cc154 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/
Dgatt_fuzzer.cc80 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()
Dl2cap_fuzzer.cc220 L2CA_RegisterFixedChannel(L2CAP_ATT_CID, &reg), 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/
Dgatt_main.cc133 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 …]
Dgatt_utils.cc659 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()
Datt_protocol.cc379 if (lcid == L2CAP_ATT_CID) { in attp_send_msg_to_l2cap()
Dgatt_sr.cc829 if (cid != L2CAP_ATT_CID) { in gatts_process_mtu_req()
Dgatt_api.cc717 p_clcb->cid = L2CAP_ATT_CID; in GATTC_ConfigureMTU()
/packages/modules/Bluetooth/system/stack/include/
Dl2cdefs.h274 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/
Dacl_arbiter.cc119 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/
Dl2c_api.cc63 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()
Dl2c_utils.cc1126 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()
Dl2c_ble.cc143 if (!l2cu_initialize_fixed_ccb(p_lcb, L2CAP_ATT_CID)) { in l2cble_conn_comp()
/packages/modules/Bluetooth/system/tools/scripts/
Ddump_le_audio.py66 L2CAP_ATT_CID = 0x0004 variable
732 if channel_id == L2CAP_ATT_CID: