Home
last modified time | relevance | path

Searched refs:tL2CAP_DW_RESULT (Results 1 – 25 of 38) sorted by relevance

12

/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_l2cap_api.h331 std::function<tL2CAP_DW_RESULT(uint16_t fixed_cid, const RawAddress& rem_bda, BT_HDR* p_buf)>
333 BT_HDR* /* p_buf */) -> tL2CAP_DW_RESULT { return tL2CAP_DW_RESULT::FAILED; }};
334 tL2CAP_DW_RESULT operator()(uint16_t fixed_cid, const RawAddress& rem_bda, BT_HDR* p_buf) { in operator()
374 std::function<tL2CAP_DW_RESULT(uint16_t cid, BT_HDR* p_data)> body{
375 [](uint16_t /* cid */, BT_HDR* /* p_data */) -> tL2CAP_DW_RESULT {
376 return tL2CAP_DW_RESULT::FAILED;
378 tL2CAP_DW_RESULT operator()(uint16_t cid, BT_HDR* p_data) { return body(cid, p_data); } in operator()
385 std::function<tL2CAP_DW_RESULT(uint16_t cid, BT_HDR* p_data)> body{
386 [](uint16_t /* cid */, BT_HDR* /* p_data */) -> tL2CAP_DW_RESULT {
387 return tL2CAP_DW_RESULT::FAILED;
[all …]
Dmock_stack_l2cap_main.cc28 tL2CAP_DW_RESULT l2c_data_write(uint16_t /* cid */, BT_HDR* /* p_data */, uint16_t /* flags */) { in l2c_data_write()
30 return tL2CAP_DW_RESULT::FAILED; in l2c_data_write()
Dmock_stack_l2cap_interface.h115 MOCK_METHOD(tL2CAP_DW_RESULT, L2CA_DataWrite, (uint16_t cid, BT_HDR* p_data));
116 MOCK_METHOD(tL2CAP_DW_RESULT, L2CA_LECocDataWrite, (uint16_t cid, BT_HDR* p_data));
120 MOCK_METHOD(tL2CAP_DW_RESULT, L2CA_SendFixedChnlData,
Dmock_stack_l2cap_api.cc201 tL2CAP_DW_RESULT L2CA_SendFixedChnlData(uint16_t fixed_cid, const RawAddress& rem_bda, in L2CA_SendFixedChnlData()
218 tL2CAP_DW_RESULT L2CA_DataWrite(uint16_t cid, BT_HDR* p_data) { in L2CA_DataWrite()
222 tL2CAP_DW_RESULT L2CA_LECocDataWrite(uint16_t cid, BT_HDR* p_data) { in L2CA_LECocDataWrite()
/packages/modules/Bluetooth/system/stack/test/rfcomm/
Dstack_rfcomm_test.cc173 .WillOnce(Return(tL2CAP_DW_RESULT::SUCCESS)); in ConnectServerL2cap()
191 .WillOnce(Return(tL2CAP_DW_RESULT::SUCCESS)); in ConnectServerPort()
217 .WillOnce(Return(tL2CAP_DW_RESULT::SUCCESS)); in ConnectServerPort()
230 .WillOnce(Return(tL2CAP_DW_RESULT::SUCCESS)); in ConnectServerPort()
234 .WillOnce(Return(tL2CAP_DW_RESULT::SUCCESS)); in ConnectServerPort()
260 .WillOnce(Return(tL2CAP_DW_RESULT::SUCCESS)); in StartClientPort()
294 .WillOnce(Return(tL2CAP_DW_RESULT::SUCCESS)); in TestConnectClientPortL2cap()
313 .WillOnce(Return(tL2CAP_DW_RESULT::SUCCESS)); in ConnectClientPort()
337 .WillOnce(Return(tL2CAP_DW_RESULT::SUCCESS)); in ConnectClientPort()
350 .WillOnce(Return(tL2CAP_DW_RESULT::SUCCESS)); in ConnectClientPort()
[all …]
/packages/modules/Bluetooth/system/stack/include/
Dl2cap_interface.h32 enum class tL2CAP_DW_RESULT : uint8_t { enum
718 virtual tL2CAP_DW_RESULT L2CA_DataWrite(uint16_t cid, BT_HDR* p_data) = 0;
719 virtual tL2CAP_DW_RESULT L2CA_LECocDataWrite(uint16_t cid, BT_HDR* p_data) = 0;
829 virtual tL2CAP_DW_RESULT L2CA_SendFixedChnlData(uint16_t fixed_cid, const RawAddress& rem_bda,
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_api.cc1267 tL2CAP_DW_RESULT L2CA_SendFixedChnlData(uint16_t fixed_cid, const RawAddress& rem_bda, in L2CA_SendFixedChnlData()
1279 return tL2CAP_DW_RESULT::FAILED; in L2CA_SendFixedChnlData()
1285 return tL2CAP_DW_RESULT::FAILED; in L2CA_SendFixedChnlData()
1293 return tL2CAP_DW_RESULT::FAILED; in L2CA_SendFixedChnlData()
1308 return tL2CAP_DW_RESULT::FAILED; in L2CA_SendFixedChnlData()
1320 return tL2CAP_DW_RESULT::FAILED; in L2CA_SendFixedChnlData()
1332 return tL2CAP_DW_RESULT::FAILED; in L2CA_SendFixedChnlData()
1348 return tL2CAP_DW_RESULT::CONGESTED; in L2CA_SendFixedChnlData()
1351 return tL2CAP_DW_RESULT::SUCCESS; in L2CA_SendFixedChnlData()
1481 tL2CAP_DW_RESULT L2CA_DataWrite(uint16_t cid, BT_HDR* p_data) { in L2CA_DataWrite()
[all …]
Dl2c_api.h119 [[nodiscard]] tL2CAP_DW_RESULT L2CA_DataWrite(uint16_t cid, BT_HDR* p_data) override;
120 [[nodiscard]] tL2CAP_DW_RESULT L2CA_LECocDataWrite(uint16_t cid, BT_HDR* p_data) override;
126 [[nodiscard]] tL2CAP_DW_RESULT L2CA_SendFixedChnlData(uint16_t fixed_cid,
Dl2c_main.cc921 tL2CAP_DW_RESULT l2c_data_write(uint16_t cid, BT_HDR* p_data, uint16_t flags) { in l2c_data_write()
927 return tL2CAP_DW_RESULT::FAILED; in l2c_data_write()
945 return tL2CAP_DW_RESULT::FAILED; in l2c_data_write()
959 return tL2CAP_DW_RESULT::FAILED; in l2c_data_write()
965 return tL2CAP_DW_RESULT::CONGESTED; in l2c_data_write()
968 return tL2CAP_DW_RESULT::SUCCESS; in l2c_data_write()
Dl2cap_api.cc109 [[nodiscard]] tL2CAP_DW_RESULT bluetooth::stack::l2cap::Impl::L2CA_DataWrite(uint16_t cid, in L2CA_DataWrite()
114 [[nodiscard]] tL2CAP_DW_RESULT bluetooth::stack::l2cap::Impl::L2CA_LECocDataWrite(uint16_t cid, in L2CA_LECocDataWrite()
170 [[nodiscard]] tL2CAP_DW_RESULT bluetooth::stack::l2cap::Impl::L2CA_SendFixedChnlData( in L2CA_SendFixedChnlData()
/packages/modules/Bluetooth/system/stack/test/sdp/
Dstack_sdp_test.cc108 .WillOnce(Invoke([](uint16_t /* cid */, BT_HDR* p_data) -> tL2CAP_DW_RESULT { in TEST_F()
110 return tL2CAP_DW_RESULT::SUCCESS; in TEST_F()
150 .WillRepeatedly(Invoke([](uint16_t /* cid */, BT_HDR* data) -> tL2CAP_DW_RESULT { in TEST_F()
152 return tL2CAP_DW_RESULT::SUCCESS; in TEST_F()
202 .WillOnce(Invoke([](uint16_t /* cid */, BT_HDR* p_data) -> tL2CAP_DW_RESULT { in TEST_F()
204 return tL2CAP_DW_RESULT::SUCCESS; in TEST_F()
/packages/modules/Bluetooth/system/stack/l2cap/internal/
Dl2c_api.h439 [[nodiscard]] tL2CAP_DW_RESULT L2CA_DataWrite(uint16_t cid, BT_HDR* p_data);
441 [[nodiscard]] tL2CAP_DW_RESULT L2CA_LECocDataWrite(uint16_t cid, BT_HDR* p_data);
643 [[nodiscard]] tL2CAP_DW_RESULT L2CA_SendFixedChnlData(uint16_t fixed_cid, const RawAddress& rem_bda,
/packages/modules/Bluetooth/system/stack/test/common/
Dmock_l2cap_layer.h42 virtual tL2CAP_DW_RESULT DataWrite(uint16_t cid, BT_HDR* p_data) = 0;
69 MOCK_METHOD2(DataWrite, tL2CAP_DW_RESULT(uint16_t cid, BT_HDR* p_data));
Dmock_l2cap_layer.cc47 tL2CAP_DW_RESULT L2CA_DataWrite(uint16_t cid, BT_HDR* p_data) { in L2CA_DataWrite()
/packages/modules/Bluetooth/system/stack/gatt/
Datt_protocol.cc368 tL2CAP_DW_RESULT l2cap_ret; in attp_send_msg_to_l2cap()
378 if (l2cap_ret == tL2CAP_DW_RESULT::FAILED) { in attp_send_msg_to_l2cap()
381 } else if (l2cap_ret == tL2CAP_DW_RESULT::CONGESTED) { in attp_send_msg_to_l2cap()
/packages/modules/Bluetooth/system/stack/fuzzers/
Dsdp_fuzzer.cc81 BT_HDR* p_data) -> tL2CAP_DW_RESULT { in FakeL2cap()
84 return tL2CAP_DW_RESULT::SUCCESS; in FakeL2cap()
Dgatt_fuzzer.cc90 return tL2CAP_DW_RESULT::SUCCESS; in FakeBtStack()
96 return tL2CAP_DW_RESULT::SUCCESS; in FakeBtStack()
Dbnep_fuzzer.cc55 return tL2CAP_DW_RESULT::SUCCESS; in FakeBtStack()
Drfcomm_fuzzer.cc85 return tL2CAP_DW_RESULT::SUCCESS; in FakeBtStack()
/packages/modules/Bluetooth/system/stack/avct/
Davct_lcb_act.cc505 tL2CAP_DW_RESULT::CONGESTED) { in avct_lcb_cong_ind()
614 tL2CAP_DW_RESULT::CONGESTED) { in avct_lcb_send_msg()
725 tL2CAP_DW_RESULT::SUCCESS) { in avct_lcb_msg_ind()
Davct_bcb_act.cc492 tL2CAP_DW_RESULT::SUCCESS) { in avct_bcb_send_msg()
601 tL2CAP_DW_RESULT::SUCCESS) { in avct_bcb_msg_ind()
/packages/modules/Bluetooth/system/stack/gap/
Dgap_conn.cc459 tL2CAP_DW_RESULT status; in gap_try_write_queued_data()
466 if (status == tL2CAP_DW_RESULT::CONGESTED) { in gap_try_write_queued_data()
469 } else if (status != tL2CAP_DW_RESULT::SUCCESS) { in gap_try_write_queued_data()
/packages/modules/Bluetooth/system/stack/sdp/
Dsdp_server.cc301 tL2CAP_DW_RESULT::SUCCESS) { in process_service_search()
565 tL2CAP_DW_RESULT::SUCCESS) { in process_service_attr_req()
922 tL2CAP_DW_RESULT::SUCCESS) { in process_service_search_attr_req()
Dsdp_discovery.cc181 tL2CAP_DW_RESULT::SUCCESS) { in sdp_snd_service_search_req()
714 tL2CAP_DW_RESULT::SUCCESS) { in process_service_search_attr_rsp()
883 tL2CAP_DW_RESULT::SUCCESS) { in process_service_attr_rsp()
/packages/modules/Bluetooth/system/stack/arbiter/
Dacl_arbiter.cc116 p_buf) != tL2CAP_DW_RESULT::SUCCESS) { in SendPacketToPeer()

12