sensor: remove unnecessary logs in the dummy 58/107958/1
authorkibak.yoon <kibak.yoon@samsung.com>
Wed, 14 Dec 2016 01:38:54 +0000 (10:38 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Mon, 2 Jan 2017 05:21:23 +0000 (21:21 -0800)
Change-Id: I09e38e6e4c877d0f19b29570afdd8b67300af5d4
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
(cherry picked from commit f1c6ae512b2a1366eb5364cd95b1fa0a47298995)

src/sensor_recorder_dummy.cpp

index 1a0c57c..669afae 100644 (file)
@@ -20,8 +20,6 @@
 
 int sensor_recorder_is_supported(sensor_type_e type, bool *supported)
 {
-       _D("Called : sensor[%#x]", type);
-
        if (type <= SENSOR_ALL)
                return SENSOR_ERROR_INVALID_PARAMETER;
        if (!supported)
@@ -34,8 +32,6 @@ int sensor_recorder_is_supported(sensor_type_e type, bool *supported)
 
 int sensor_recorder_start(sensor_type_e type, sensor_recorder_option_h option)
 {
-       _D("Called : sensor[%#x] with option[%d]", type, option);
-
        if (type <= SENSOR_ALL)
                return SENSOR_ERROR_INVALID_PARAMETER;
 
@@ -44,8 +40,6 @@ int sensor_recorder_start(sensor_type_e type, sensor_recorder_option_h option)
 
 int sensor_recorder_stop(sensor_type_e type)
 {
-       _D("Called : sensor[%#x]", type);
-
        if (type <= SENSOR_ALL)
                return SENSOR_ERROR_INVALID_PARAMETER;
 
@@ -54,8 +48,6 @@ int sensor_recorder_stop(sensor_type_e type)
 
 int sensor_recorder_create_option(sensor_recorder_option_h *option)
 {
-       _D("Called : option[%#x]", *option);
-
        if (!option)
                return SENSOR_ERROR_INVALID_PARAMETER;
 
@@ -68,8 +60,6 @@ int sensor_recorder_create_option(sensor_recorder_option_h *option)
 
 int sensor_recorder_destroy_option(sensor_recorder_option_h option)
 {
-       _D("Called : option[%#x]", option);
-
        if (!option)
                return SENSOR_ERROR_INVALID_PARAMETER;
 
@@ -78,8 +68,6 @@ int sensor_recorder_destroy_option(sensor_recorder_option_h option)
 
 int sensor_recorder_option_set_int(sensor_recorder_option_h option, sensor_recorder_option_e attribute, int value)
 {
-       _D("Called : attribute[%d] with value[%d] to option[%#x]", attribute, value, option);
-
        if (!option)
                return SENSOR_ERROR_INVALID_PARAMETER;
        if (attribute < 0)
@@ -90,8 +78,6 @@ int sensor_recorder_option_set_int(sensor_recorder_option_h option, sensor_recor
 
 int sensor_recorder_create_query(sensor_recorder_query_h *query)
 {
-       _D("Called : query[%#x]", *query);
-
        if (!query)
                return SENSOR_ERROR_INVALID_PARAMETER;
 
@@ -104,8 +90,6 @@ int sensor_recorder_create_query(sensor_recorder_query_h *query)
 
 int sensor_recorder_destroy_query(sensor_recorder_query_h query)
 {
-       _D("Called : query[%#x]", query);
-
        if (!query)
                return SENSOR_ERROR_INVALID_PARAMETER;
 
@@ -114,8 +98,6 @@ int sensor_recorder_destroy_query(sensor_recorder_query_h query)
 
 int sensor_recorder_query_set_int(sensor_recorder_query_h query, sensor_recorder_query_e attribute, int value)
 {
-       _D("Called : attribute[%d] with value[%d] to query[%#x]", attribute, value, query);
-
        if (!query)
                return SENSOR_ERROR_INVALID_PARAMETER;
        if (attribute < 0)
@@ -126,8 +108,6 @@ int sensor_recorder_query_set_int(sensor_recorder_query_h query, sensor_recorder
 
 int sensor_recorder_query_set_time(sensor_recorder_query_h query, sensor_recorder_query_e attribute, time_t t)
 {
-       _D("Called : attribute[%d] with time[%d] to query[%#x]", attribute, time(&t), query);
-
        if (!query)
                return SENSOR_ERROR_INVALID_PARAMETER;
        if (attribute < 0)
@@ -140,8 +120,6 @@ int sensor_recorder_query_set_time(sensor_recorder_query_h query, sensor_recorde
 
 int sensor_recorder_read(sensor_type_e type, sensor_recorder_query_h query, sensor_recorder_data_cb cb, void *user_data)
 {
-       _D("Called : query[%#x]", query);
-
        if (type <= SENSOR_ALL)
                return SENSOR_ERROR_INVALID_PARAMETER;
        if (!query || !cb)
@@ -152,8 +130,6 @@ int sensor_recorder_read(sensor_type_e type, sensor_recorder_query_h query, sens
 
 int sensor_recorder_read_sync(sensor_type_e type, sensor_recorder_query_h query, sensor_recorder_data_cb cb, void *user_data)
 {
-       _D("Called : query[%#x]", query);
-
        if (type <= SENSOR_ALL)
                return SENSOR_ERROR_INVALID_PARAMETER;
        if (!query || !cb)
@@ -164,8 +140,6 @@ int sensor_recorder_read_sync(sensor_type_e type, sensor_recorder_query_h query,
 
 int sensor_recorder_data_get_time(sensor_recorder_data_h data, time_t *start_time, time_t *end_time)
 {
-       _D("Called : data[%#x]", data);
-
        if (!data || !start_time || !end_time)
                return SENSOR_ERROR_INVALID_PARAMETER;
 
@@ -174,8 +148,6 @@ int sensor_recorder_data_get_time(sensor_recorder_data_h data, time_t *start_tim
 
 int sensor_recorder_data_get_int(sensor_recorder_data_h data, sensor_recorder_data_e key, int *value)
 {
-       _D("Called : key[%d], data[%#x]", key, data);
-
        if (!data || !value)
                return SENSOR_ERROR_INVALID_PARAMETER;
        if (key < 0)
@@ -186,8 +158,6 @@ int sensor_recorder_data_get_int(sensor_recorder_data_h data, sensor_recorder_da
 
 int sensor_recorder_data_get_double(sensor_recorder_data_h data, sensor_recorder_data_e key, double *value)
 {
-       _D("Called : key[%d], data[%#x]", key, data);
-
        if (!data || !value)
                return SENSOR_ERROR_INVALID_PARAMETER;
        if (key < 0)