From: Wootak Jung Date: Thu, 16 May 2019 04:08:10 +0000 (+0900) Subject: Exclude unsupported functions in coverage X-Git-Tag: accepted/tizen/unified/20190611.050046~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=95ffff8775e1585ccf89b80ea821c68c12cd6321;p=platform%2Fcore%2Fapi%2Fbluetooth.git Exclude unsupported functions in coverage hid, opp features are disabled on wearable. Change-Id: I49c75168e2559030650a9ad695e4e627fa56c12d --- diff --git a/src/bluetooth-hid.c b/src/bluetooth-hid.c index acb2001..d2cd471 100644 --- a/src/bluetooth-hid.c +++ b/src/bluetooth-hid.c @@ -49,6 +49,7 @@ static bool is_hid_host_initialized = false; return BT_ERROR_NOT_INITIALIZED; \ } +/* LCOV_EXCL_START */ int __bt_check_hid_host_init_status(void) { if (is_hid_host_initialized != true) { @@ -58,6 +59,7 @@ int __bt_check_hid_host_init_status(void) return BT_ERROR_NONE; } +/* LCOV_EXCL_STOP */ int bt_hid_host_initialize(bt_hid_host_connection_state_changed_cb connection_cb, void *user_data) diff --git a/src/bluetooth-opp-client.c b/src/bluetooth-opp-client.c index cf24c64..4d51e18 100644 --- a/src/bluetooth-opp-client.c +++ b/src/bluetooth-opp-client.c @@ -39,6 +39,7 @@ static bool is_opp_client_initialized = false; return BT_ERROR_NOT_INITIALIZED; \ } +/* LCOV_EXCL_START */ int __bt_check_opp_client_init_status(void) { if (is_opp_client_initialized != true) { @@ -48,7 +49,7 @@ int __bt_check_opp_client_init_status(void) return BT_ERROR_NONE; } -/* LCOV_EXCL_START */ + char **__bt_opp_get_file_array(GList *file_list) { char **files = NULL; diff --git a/src/bluetooth-opp-server.c b/src/bluetooth-opp-server.c index 22cfcc3..1468a42 100644 --- a/src/bluetooth-opp-server.c +++ b/src/bluetooth-opp-server.c @@ -38,6 +38,7 @@ static bool is_opp_server_initialized = false; return BT_ERROR_NOT_INITIALIZED; \ } +/* LCOV_EXCL_START */ int __bt_check_opp_server_init_status(void) { if (is_opp_server_initialized != true) { @@ -47,6 +48,7 @@ int __bt_check_opp_server_init_status(void) return BT_ERROR_NONE; } +/* LCOV_EXCL_STOP */ /* LCOV_EXCL_START */ int bt_opp_server_initialize(const char *destination,