projects
/
platform
/
core
/
uifw
/
libpui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
960d4d1
)
default_backend: remove unneccessary logs
12/220712/1
author
jeon
<jhyuni.kang@samsung.com>
Wed, 18 Sep 2019 07:43:58 +0000
(16:43 +0900)
committer
Sung-Jin Park
<sj76.park@samsung.com>
Fri, 20 Dec 2019 09:57:11 +0000
(18:57 +0900)
Change-Id: I577a7027790ea774c3cdd42c738930e09049a0db
17 files changed:
backends/bt/default_ani_connected.c
patch
|
blob
|
history
backends/bt/default_ani_pairing.c
patch
|
blob
|
history
backends/default_backend.c
patch
|
blob
|
history
backends/notification/default_ani_alarm.c
patch
|
blob
|
history
backends/notification/default_ani_emergency.c
patch
|
blob
|
history
backends/notification/default_ani_error.c
patch
|
blob
|
history
backends/notification/default_ani_networkerror.c
patch
|
blob
|
history
backends/notification/default_ani_normal.c
patch
|
blob
|
history
backends/system/default_ani_easysetup.c
patch
|
blob
|
history
backends/system/default_ani_micoff.c
patch
|
blob
|
history
backends/system/default_ani_swupdatedone.c
patch
|
blob
|
history
backends/system/default_ani_system_processing.c
patch
|
blob
|
history
backends/voice/default_ani_listening.c
patch
|
blob
|
history
backends/voice/default_ani_processing.c
patch
|
blob
|
history
backends/voice/default_ani_speaking.c
patch
|
blob
|
history
backends/voice/default_ani_streaming.c
patch
|
blob
|
history
backends/voice/default_ani_timeout.c
patch
|
blob
|
history
diff --git
a/backends/bt/default_ani_connected.c
b/backends/bt/default_ani_connected.c
index
0dbda8d
..
d76c23e
100644
(file)
--- a/
backends/bt/default_ani_connected.c
+++ b/
backends/bt/default_ani_connected.c
@@
-97,14
+97,10
@@
_ani_backend_connected_frame_cb(void *data, int serial)
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
- double now;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
- now = ecore_time_unix_get();
- pui_info("[time:%.3f] serial=%d\n", now, serial);
-
/* TODO : make use of ani_info */
//(void) ani_info;
/* TODO : make use of ani_info */
//(void) ani_info;
diff --git
a/backends/bt/default_ani_pairing.c
b/backends/bt/default_ani_pairing.c
index
b628e8e
..
b2bbf99
100644
(file)
--- a/
backends/bt/default_ani_pairing.c
+++ b/
backends/bt/default_ani_pairing.c
@@
-98,14
+98,10
@@
_ani_backend_pairing_frame_cb(void *data, int serial)
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
- double now;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
- now = ecore_time_unix_get();
- pui_info("[time:%.3f] serial=%d\n", now, serial);
-
/* TODO : make use of ani_info */
//(void) ani_info;
/* TODO : make use of ani_info */
//(void) ani_info;
diff --git
a/backends/default_backend.c
b/backends/default_backend.c
index
135a194
..
c13deb4
100644
(file)
--- a/
backends/default_backend.c
+++ b/
backends/default_backend.c
@@
-81,15
+81,10
@@
_ani_backend_frame_cb(void *data, int serial)
pui_ani_t *ani = (pui_ani_t *)data;
pui_backend_ani_data *ani_data = NULL;
pui_ani_control_buffer *buffer = NULL;
pui_ani_t *ani = (pui_ani_t *)data;
pui_backend_ani_data *ani_data = NULL;
pui_ani_control_buffer *buffer = NULL;
- double now;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
- now = ecore_time_unix_get();
-
- pui_info("[time:%.3f] serial=%d\n", now, serial);
-
/* TODO : make use of ani_info */
(void) ani_info;
/* TODO : make use of ani_info */
(void) ani_info;
diff --git
a/backends/notification/default_ani_alarm.c
b/backends/notification/default_ani_alarm.c
index
1324cc7
..
31d58b7
100644
(file)
--- a/
backends/notification/default_ani_alarm.c
+++ b/
backends/notification/default_ani_alarm.c
@@
-122,14
+122,10
@@
_ani_backend_alarm_frame_cb(void *data, int serial)
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
- double now;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
- now = ecore_time_unix_get();
- pui_info("[time:%.3f] serial=%d\n", now, serial);
-
/* TODO : make use of ani_info */
//(void) ani_info;
/* TODO : make use of ani_info */
//(void) ani_info;
diff --git
a/backends/notification/default_ani_emergency.c
b/backends/notification/default_ani_emergency.c
index
54cb04c
..
f4dd476
100644
(file)
--- a/
backends/notification/default_ani_emergency.c
+++ b/
backends/notification/default_ani_emergency.c
@@
-110,14
+110,10
@@
_ani_backend_emergency_frame_cb(void *data, int serial)
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
- double now;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
- now = ecore_time_unix_get();
- pui_info("[time:%.3f] serial=%d\n", now, serial);
-
/* TODO : make use of ani_info */
//(void) ani_info;
/* TODO : make use of ani_info */
//(void) ani_info;
diff --git
a/backends/notification/default_ani_error.c
b/backends/notification/default_ani_error.c
index
a973d0c
..
9f1a18d
100644
(file)
--- a/
backends/notification/default_ani_error.c
+++ b/
backends/notification/default_ani_error.c
@@
-101,14
+101,10
@@
_ani_backend_error_frame_cb(void *data, int serial)
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
- double now;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
- now = ecore_time_unix_get();
- pui_info("[time:%.3f] serial=%d\n", now, serial);
-
/* TODO : make use of ani_info */
//(void) ani_info;
/* TODO : make use of ani_info */
//(void) ani_info;
diff --git
a/backends/notification/default_ani_networkerror.c
b/backends/notification/default_ani_networkerror.c
index
f24c74c
..
5f7a794
100644
(file)
--- a/
backends/notification/default_ani_networkerror.c
+++ b/
backends/notification/default_ani_networkerror.c
@@
-98,14
+98,10
@@
_ani_backend_networkerror_frame_cb(void *data, int serial)
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
- double now;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
- now = ecore_time_unix_get();
- pui_info("[time:%.3f] serial=%d\n", now, serial);
-
/* TODO : make use of ani_info */
//(void) ani_info;
/* TODO : make use of ani_info */
//(void) ani_info;
diff --git
a/backends/notification/default_ani_normal.c
b/backends/notification/default_ani_normal.c
index
9dc7173
..
5228062
100644
(file)
--- a/
backends/notification/default_ani_normal.c
+++ b/
backends/notification/default_ani_normal.c
@@
-109,14
+109,10
@@
_ani_backend_normal_frame_cb(void *data, int serial)
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
- double now;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
- now = ecore_time_unix_get();
- pui_info("[time:%.3f] serial=%d\n", now, serial);
-
/* TODO : make use of ani_info */
//(void) ani_info;
/* TODO : make use of ani_info */
//(void) ani_info;
diff --git
a/backends/system/default_ani_easysetup.c
b/backends/system/default_ani_easysetup.c
index
afc9ff4
..
3f00c13
100644
(file)
--- a/
backends/system/default_ani_easysetup.c
+++ b/
backends/system/default_ani_easysetup.c
@@
-108,14
+108,10
@@
_ani_backend_easysetup_frame_cb(void *data, int serial)
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
- double now;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
- now = ecore_time_unix_get();
- pui_info("[time:%.3f] serial=%d\n", now, serial);
-
/* TODO : make use of ani_info */
//(void) ani_info;
/* TODO : make use of ani_info */
//(void) ani_info;
diff --git
a/backends/system/default_ani_micoff.c
b/backends/system/default_ani_micoff.c
index
b8b433e
..
14ae00a
100644
(file)
--- a/
backends/system/default_ani_micoff.c
+++ b/
backends/system/default_ani_micoff.c
@@
-84,14
+84,10
@@
_ani_backend_micoff_frame_cb(void *data, int serial)
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
- double now;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
- now = ecore_time_unix_get();
- pui_info("[time:%.3f] serial=%d\n", now, serial);
-
/* TODO : make use of ani_info */
//(void) ani_info;
/* TODO : make use of ani_info */
//(void) ani_info;
diff --git
a/backends/system/default_ani_swupdatedone.c
b/backends/system/default_ani_swupdatedone.c
index
84f36ac
..
3b95b0c
100644
(file)
--- a/
backends/system/default_ani_swupdatedone.c
+++ b/
backends/system/default_ani_swupdatedone.c
@@
-79,8
+79,6
@@
_ani_backend_swupdatedone_get_frame(default_ani_info *ani_info)
div = (double)(ani_info->frame_idx) / (double)ani_info->frame_max;
r = g = b = r2 = g2 = b2 = 0x0;
div = (double)(ani_info->frame_idx) / (double)ani_info->frame_max;
r = g = b = r2 = g2 = b2 = 0x0;
- printf("[jeon] idx: %d, frame_max: %d, frame_idx: %d, div: %lf\n",
- idx, ani_info->frame_max, ani_info->frame_idx, div);
for (int i = 0; i < key_frame->num_led; i++)
{
_ani_backend_swupdatedone_get_led_rgb(key_frame, i, &r, &g, &b);
for (int i = 0; i < key_frame->num_led; i++)
{
_ani_backend_swupdatedone_get_led_rgb(key_frame, i, &r, &g, &b);
@@
-90,9
+88,6
@@
_ani_backend_swupdatedone_get_frame(default_ani_info *ani_info)
b3 = (int)(b2 - b) * div + b;
frame->leds[i].color = (r3 << 16) + (g3 << 8) + (b3);
b3 = (int)(b2 - b) * div + b;
frame->leds[i].color = (r3 << 16) + (g3 << 8) + (b3);
-
- printf("[jeon][%d] (%d)rgb(0x%x, 0x%x, 0x%x), (%d)rgb2(0x%x, 0x%x, 0x%x), color: 0x%x(0x%x, 0x%x, 0x%x)\n",
- i, idx, r, g, b, idx2, r2, g2, b2, frame->leds[i].color, r3, g3, b3);
}
ani_info->frame_idx++;
}
ani_info->frame_idx++;
@@
-116,14
+111,10
@@
_ani_backend_swupdatedone_frame_cb(void *data, int serial)
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
- double now;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
- now = ecore_time_unix_get();
- pui_info("[time:%.3f] serial=%d\n", now, serial);
-
/* TODO : make use of ani_info */
//(void) ani_info;
/* TODO : make use of ani_info */
//(void) ani_info;
diff --git
a/backends/system/default_ani_system_processing.c
b/backends/system/default_ani_system_processing.c
index
816e4d5
..
e4ac723
100644
(file)
--- a/
backends/system/default_ani_system_processing.c
+++ b/
backends/system/default_ani_system_processing.c
@@
-87,14
+87,10
@@
_ani_backend_system_processing_frame_cb(void *data, int serial)
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
- double now;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
- now = ecore_time_unix_get();
- pui_info("[time:%.3f] serial=%d\n", now, serial);
-
/* TODO : make use of ani_info */
//(void) ani_info;
/* TODO : make use of ani_info */
//(void) ani_info;
diff --git
a/backends/voice/default_ani_listening.c
b/backends/voice/default_ani_listening.c
index
93ecba2
..
e1307e1
100644
(file)
--- a/
backends/voice/default_ani_listening.c
+++ b/
backends/voice/default_ani_listening.c
@@
-116,14
+116,10
@@
_ani_backend_listening_frame_cb(void *data, int serial)
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
- double now;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
- now = ecore_time_unix_get();
- pui_info("[time:%.3f] serial=%d\n", now, serial);
-
/* TODO : make use of ani_info */
//(void) ani_info;
/* TODO : make use of ani_info */
//(void) ani_info;
diff --git
a/backends/voice/default_ani_processing.c
b/backends/voice/default_ani_processing.c
index
b31ef80
..
b4a7ebb
100644
(file)
--- a/
backends/voice/default_ani_processing.c
+++ b/
backends/voice/default_ani_processing.c
@@
-87,14
+87,10
@@
_ani_backend_processing_frame_cb(void *data, int serial)
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
- double now;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
- now = ecore_time_unix_get();
- pui_info("[time:%.3f] serial=%d\n", now, serial);
-
/* TODO : make use of ani_info */
//(void) ani_info;
/* TODO : make use of ani_info */
//(void) ani_info;
diff --git
a/backends/voice/default_ani_speaking.c
b/backends/voice/default_ani_speaking.c
index
fee1e8f
..
13f1897
100644
(file)
--- a/
backends/voice/default_ani_speaking.c
+++ b/
backends/voice/default_ani_speaking.c
@@
-109,14
+109,10
@@
_ani_backend_speaking_frame_cb(void *data, int serial)
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
- double now;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
- now = ecore_time_unix_get();
- pui_info("[time:%.3f] serial=%d\n", now, serial);
-
/* TODO : make use of ani_info */
//(void) ani_info;
/* TODO : make use of ani_info */
//(void) ani_info;
diff --git
a/backends/voice/default_ani_streaming.c
b/backends/voice/default_ani_streaming.c
index
56fe4c3
..
be6657d
100644
(file)
--- a/
backends/voice/default_ani_streaming.c
+++ b/
backends/voice/default_ani_streaming.c
@@
-108,14
+108,10
@@
_ani_backend_streaming_frame_cb(void *data, int serial)
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
- double now;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
- now = ecore_time_unix_get();
- pui_info("[time:%.3f] serial=%d\n", now, serial);
-
/* TODO : make use of ani_info */
//(void) ani_info;
/* TODO : make use of ani_info */
//(void) ani_info;
diff --git
a/backends/voice/default_ani_timeout.c
b/backends/voice/default_ani_timeout.c
index
058b114
..
9608114
100644
(file)
--- a/
backends/voice/default_ani_timeout.c
+++ b/
backends/voice/default_ani_timeout.c
@@
-108,14
+108,10
@@
_ani_backend_timeout_frame_cb(void *data, int serial)
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
pui_ani_control_buffer *buffer = NULL;
default_frame_info_t *frame;
unsigned int r = 0x0, g = 0x0, b = 0x0;
- double now;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
ani_data = pui_backend_ani_get_ani_data(ani);
default_ani_info *ani_info = (default_ani_info *)ani_data->ani_info;
- now = ecore_time_unix_get();
- pui_info("[time:%.3f] serial=%d\n", now, serial);
-
/* TODO : make use of ani_info */
//(void) ani_info;
/* TODO : make use of ani_info */
//(void) ani_info;