From 757a23de9693fd24feb8a60b4bb0f02e18f341fc Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Thu, 25 Feb 2021 08:40:20 +0900 Subject: [PATCH] Add the coverage exception for internal function Change-Id: Ic1a556c05bfbde00fa732a52719d5c7e03fdb7cf Signed-off-by: DoHyun Pyun --- src/bluetooth-adapter.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/bluetooth-adapter.c b/src/bluetooth-adapter.c index 248aaa4..c0cee95 100644 --- a/src/bluetooth-adapter.c +++ b/src/bluetooth-adapter.c @@ -2485,6 +2485,7 @@ int bt_adapter_le_set_advertising_tx_power_level(bt_advertiser_h advertiser, return ret; } +/* LCOV_EXCL_START */ static unsigned char __bt_tds_set_org_id(bt_tds_transport_e org_id) { BT_INFO("organization id: %d", org_id); @@ -2537,6 +2538,7 @@ int bt_adapter_le_set_advertising_transport_discovery_data(bt_advertiser_h adver g_free(adv_data); return ret; } +/* LCOV_EXCL_STOP */ int bt_adapter_le_clear_advertising_data(bt_advertiser_h advertiser, bt_adapter_le_packet_type_e pkt_type) @@ -2802,7 +2804,6 @@ int bt_adapter_le_set_advertising_custom_tx_power_level(bt_advertiser_h advertis return error_code; } -/* LCOV_EXCL_STOP */ int bt_adapter_le_set_advertising_interval(bt_advertiser_h advertiser, int interval_min, int interval_max) @@ -2833,6 +2834,7 @@ int bt_adapter_le_set_advertising_interval(bt_advertiser_h advertiser, return error_code; } +/* LCOV_EXCL_STOP */ /* LCOV_EXCL_START */ int bt_adapter_le_enable_privacy(bool enable_privacy) @@ -3974,6 +3976,7 @@ int bt_adapter_le_scan_filter_set_manufacturer_data_with_mask(bt_scan_filter_h s return BT_ERROR_NONE; } +/* LCOV_EXCL_START */ int bt_adapter_le_scan_filter_set_rssi_high_threshold(bt_scan_filter_h scan_filter, int rssi) { @@ -3993,6 +3996,7 @@ int bt_adapter_le_scan_filter_set_rssi_high_threshold(bt_scan_filter_h scan_filt return BT_ERROR_NONE; } +/* LCOV_EXCL_STOP */ int bt_adapter_le_scan_filter_register(bt_scan_filter_h scan_filter) { -- 2.7.4