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

Commit 432fb372 authored by Chris Manton's avatar Chris Manton
Browse files

Use global test mocks net_test_stack_gatt_sr_hash_native

Bug: 188077107
Tag: #refactor
Test: gd/cert/run
Change-Id: Ida0bf6e3912b32ac59b51e5e3fb51f6540d76039
parent 1b5c7a8e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -632,6 +632,7 @@ cc_test {
        "packages/modules/Bluetooth/system/utils/include",
    ],
    srcs: crypto_toolbox_srcs + [
        ":TestMockStackBtm",
        "gatt/gatt_db.cc",
        "gatt/gatt_sr_hash.cc",
        "gatt/gatt_utils.cc",
+0 −8
Original line number Diff line number Diff line
@@ -17,14 +17,6 @@
#include "stack/gatt/gatt_int.h"
#include "utils/include/bt_utils.h"

/** stack/btm/btm_ble.cc*/
uint8_t btm_ble_read_sec_key_size(const RawAddress& bd_addr) { return 0; }
bool BTM_GetSecurityFlagsByTransport(const RawAddress& bd_addr,
                                     uint8_t* p_sec_flags,
                                     tBT_TRANSPORT transport) {
  return false;
}

/** stack/btu/btu_task.cc, indirect reference, gatt_utils.cc -> libosi */
bluetooth::common::MessageLoopThread* get_main_thread() { return nullptr; }