Loading system/bta/Android.bp +2 −0 Original line number Diff line number Diff line Loading @@ -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", Loading system/stack/Android.bp +6 −0 Original line number Diff line number Diff line Loading @@ -890,10 +890,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", Loading system/stack/test/gatt/mock_gatt_utils_ref.cc +1 −21 Original line number Diff line number Diff line Loading @@ -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) {} system/stack/test/sdp/stack_sdp_test.cc +1 −0 Original line number Diff line number Diff line Loading @@ -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" Loading Loading
system/bta/Android.bp +2 −0 Original line number Diff line number Diff line Loading @@ -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", Loading
system/stack/Android.bp +6 −0 Original line number Diff line number Diff line Loading @@ -890,10 +890,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", Loading
system/stack/test/gatt/mock_gatt_utils_ref.cc +1 −21 Original line number Diff line number Diff line Loading @@ -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) {}
system/stack/test/sdp/stack_sdp_test.cc +1 −0 Original line number Diff line number Diff line Loading @@ -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" Loading