Remove unnecessary log 01/307001/1
authorWootak Jung <wootak.jung@samsung.com>
Tue, 27 Feb 2024 01:30:21 +0000 (10:30 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Sun, 3 Mar 2024 22:59:06 +0000 (07:59 +0900)
Change-Id: I15e7002a89c4bff6a021683f9b918ea5ba820cdc
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
bt-oal/bluez_hal/src/bt-hal-event-receiver.c
bt-oal/bluez_hal/src/bt-hal-gatt.c
bt-oal/common/oal-event-dispatcher.c
bt-service/services/adapter/bt-service-core-adapter-le.c
bt-service/services/bt-service-event-sender.c
bt-service/services/ipsp/bt-service-ipsp-event-receiver.c

index 65860c0..4534e01 100644 (file)
@@ -844,7 +844,6 @@ static void __bt_hal_handle_property_changed_event(GVariant *msg, const char *ob
                DBG("Event: Property Changed: Interface: BT_HAL_ADAPTER_INTERFACE");
                __bt_hal_adapter_property_changed_event(val);
        } else if (strcasecmp(interface_name, BT_HAL_DEVICE_INTERFACE) == 0) {
-               DBG("Event: Property Changed: Interface: BT_HAL_DEVICE_INTERFACE");
                __bt_hal_device_property_changed_event(val, object_path);
        } else if (strcasecmp(interface_name, BT_HAL_OBEX_TRANSFER_INTERFACE) == 0) {
                DBG("Event: Property Changed: Interface: BT_HAL_OBEX_TRANSFER_INTERFACE");
@@ -1159,7 +1158,6 @@ static gboolean __bt_hal_event_manager(gpointer data)
                /* TODO: Handle Agent events from stack */
                DBG("Manager Event: Interface Name:BT_HAL_AGENT_INTERFACE");
        } else if (g_strcmp0(param->interface_name, BT_HAL_DEVICE_INTERFACE) == 0) {
-               DBG("Manager Event: Interface Name:BT_HAL_DEVICE_INTERFACE");
                __bt_hal_handle_device_specific_events(param->parameters, param->signal_name, param->object_path);
        } else if (g_strcmp0(param->interface_name, BT_HAL_PLAYER_CONTROL_INTERFACE) == 0) {
                DBG("Manager Event: Interface Name: BT_HAL_PLAYER_CONTROL_INTERFACE");
@@ -1657,7 +1655,7 @@ static void __bt_hal_device_property_changed_event(GVariant *msg, const char *pa
                        DBG("Address: %s, TrustedProfiles: 0x%X", address, trust_val);
                        __bt_hal_send_device_trusted_profile_changed_event(trust_val, address);
                } else {
-                       DBG("Unhandled Property:[%s]", key);
+                       //DBG("Unhandled Property:[%s]", key);
                }
        }
 }
@@ -2221,8 +2219,8 @@ static void __bt_hal_handle_adv_report(GVariant *msg, const char *path)
                data_len = buffer_len;
        }
 
-       DBG("Address: %s, len: %d, rssi: %d, addr_type: 0x%02X, adv_type: 0x%02X",
-                       address, data_len, rssi, addr_type, adv_type);
+//     DBG("Address: %s, len: %d, rssi: %d, addr_type: 0x%02X, adv_type: 0x%02X",
+//                     address, data_len, rssi, addr_type, adv_type);
 
        _bt_hal_convert_addr_string_to_type(ev->bd_addr, address);
        ev->addr_type = addr_type;
index 635300c..c1769b8 100644 (file)
@@ -299,7 +299,6 @@ static void __bt_hal_handle_gatt_server_mtu_changed(void *buf, uint16_t len)
 
 static void __bt_hal_gatt_events(int message, void *buf, uint16_t len)
 {
-       DBG("GATT event 0x%x", message);
        /* Check if GATT interface is Ready */
        if (!_bt_hal_gatt_interface_ready())
                return;
index daf4cae..ca11cb9 100644 (file)
@@ -137,7 +137,6 @@ void send_event_no_trace(oal_event_t event, gpointer event_data, gsize len)
        /* Invoke the function. */
 
        if (need_same_context(event)) {
-               BT_INFO("Without context change");
                dispatch_idle(event_info);
                event_data_free(event_info);
        } else
index 6dbfc44..f00c305 100644 (file)
@@ -653,7 +653,7 @@ static gboolean __bt_check_scan_result_with_filter(const char *device_address, i
        int idx;
 
        if (scanner->filter_list == NULL) {
-               BT_DBG("This scanner is on Full Scan.");
+               //BT_DBG("This scanner is on Full Scan.");
                return TRUE;
        }
 
@@ -1048,8 +1048,6 @@ static void __bt_le_state_change_callback(int bt_status)
 
 static void __bt_le_event_handler(int event_type, gpointer event_data)
 {
-       BT_INFO("OAL event = %d", event_type);
-
        switch (event_type) {
        case OAL_EVENT_BLE_ENABLED: {
                __bt_le_state_change_callback(BT_LE_ACTIVATED);
index 5690065..ebd978f 100644 (file)
@@ -636,8 +636,6 @@ int _bt_send_event_to_dest(const char* dest, int event_type,
 
        retv_if(event_conn == NULL, BLUETOOTH_ERROR_INTERNAL);
 
-       BT_DBG("event_type [%d], event [%d]", event_type, event);
-
        switch (event_type) {
        case BT_ADAPTER_EVENT:
                path = BT_ADAPTER_PATH;
index f29ca46..8312faa 100644 (file)
@@ -51,7 +51,6 @@ static void __bt_device_property_changed_event(GVariant *msg, const char *path)
        g_variant_iter_init(&value_iter, msg);
 
        while ((g_variant_iter_loop(&value_iter, "{sv}", &property, &val))) {
-               BT_DBG("Property %s", property);
                if (strcasecmp(property, "IpspConnected") == 0) {
                        gboolean connected = FALSE;