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

Commit 9ea5e1ee authored by Chris Manton's avatar Chris Manton
Browse files

unittest: btif:: Use common log msg

Bug: 264590827
Tag: #refactor
Test: gd/cert/run
Change-Id: I21cff50fb264a4f6f7dc2fc0a4d4bbb56b61fb83
parent 0f7217db
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -351,6 +351,7 @@ cc_test {
    },
    include_dirs: btifCommonIncludes,
    srcs: [
        ":TestCommonLogMsg",
        "test/btif_rc_test.cc",
    ],
    header_libs: ["libbluetooth_headers"],
@@ -425,6 +426,7 @@ cc_test {
    test_suites: ["device-tests"],
    include_dirs: btifCommonIncludes,
    srcs: [
        ":TestCommonLogMsg",
        "test/btif_hf_client_service_test.cc",
    ],
    header_libs: ["libbluetooth_headers"],
+0 −2
Original line number Diff line number Diff line
@@ -7,9 +7,7 @@

static tBTA_HF_CLIENT_FEAT gFeatures;


uint8_t btif_trace_level = BT_TRACE_LEVEL_WARNING;
void LogMsg(uint32_t trace_set_mask, const char* fmt_str, ...) {}
tBTA_STATUS BTA_HfClientEnable(tBTA_HF_CLIENT_CBACK* p_cback,
                               tBTA_HF_CLIENT_FEAT features,
                               const char* p_service_name) {
+0 −1
Original line number Diff line number Diff line
@@ -100,7 +100,6 @@ bool interop_match_addr(const interop_feature_t feature,
                        const RawAddress* addr) {
  return false;
}
void LogMsg(uint32_t trace_set_mask, const char* fmt_str, ...) {}

/**
 * Test class to test selected functionality in hci/src/hci_layer.cc