Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8bb9c7b5 authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

Re-link tests with mocks for SDP API update am: ccbe7e3a

parents 86231ee0 ccbe7e3a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -205,6 +205,8 @@ cc_test {
        ":TestMockBtif",
        ":TestMockMainShim",
        ":TestMockStackBtm",
        ":TestMockStackL2cap",
        ":TestMockStackMetrics",
        "test/bta_dip_test.cc",
        "test/bta_dm_cust_uuid_test.cc",
        "test/bta_hf_client_add_record_test.cc",
+6 −0
Original line number Diff line number Diff line
@@ -895,10 +895,16 @@ cc_test {
        "packages/modules/Bluetooth/system/stack/include",
    ],
    srcs: crypto_toolbox_srcs + [
        ":LegacyStackSdp",
        ":TestCommonLogMsg",
        ":TestCommonMainHandler",
        ":TestCommonMockFunctions",
        ":TestMockBtif",
        ":TestMockDevice",
        ":TestMockRustFfi",
        ":TestMockStackBtm",
        ":TestMockStackL2cap",
        ":TestMockStackMetrics",
        "gatt/gatt_db.cc",
        "gatt/gatt_sr_hash.cc",
        "gatt/gatt_utils.cc",
+1 −21
Original line number Diff line number Diff line
@@ -72,24 +72,4 @@ void l2cble_set_fixed_channel_tx_data_length(const RawAddress& remote_bda,
                                             uint16_t fix_cid,
                                             uint16_t tx_mtu) {}
void L2CA_SetLeFixedChannelTxDataLength(const RawAddress& remote_bda,
                                        uint16_t fix_cid,
                                        uint16_t tx_mtu) {}
/** stack/sdp/sdp_db.cc */
bool SDP_AddAttribute(uint32_t handle, uint16_t attr_id, uint8_t attr_type,
                      uint32_t attr_len, uint8_t* p_val) {
  return false;
}
bool SDP_AddProtocolList(uint32_t handle, uint16_t num_elem,
                         tSDP_PROTOCOL_ELEM* p_elem_list) {
  return false;
}
bool SDP_AddServiceClassIdList(uint32_t handle, uint16_t num_services,
                               uint16_t* p_service_uuids) {
  return false;
}
bool SDP_AddUuidSequence(uint32_t handle, uint16_t attr_id, uint16_t num_uuids,
                         uint16_t* p_uuids) {
  return false;
}
uint32_t SDP_CreateRecord(void) { return 0; }
                                        uint16_t fix_cid, uint16_t tx_mtu) {}
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@
#include <cstddef>

#include "stack/include/sdp_api.h"
#include "stack/sdp/internal/sdp_api.h"
#include "stack/sdp/sdpint.h"
#include "test/mock/mock_osi_allocator.h"
#include "test/mock/mock_stack_l2cap_api.h"