From fc895f9c4ce265ea4455bc3a5e09eb55b1331aac Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Wed, 16 Aug 2023 21:04:41 +0900 Subject: [PATCH] Change log level for TV Change-Id: If92f2a9b8493e452a74ef3f6feddba0bc04958ff Signed-off-by: Jihoon Kim --- client/autofill.c | 4 ++-- client/autofill_auth.c | 2 +- client/autofill_fill_request.c | 2 +- common/autofill_view_info.c | 6 +++++- service_lib/autofill_service.c | 6 +++--- 5 files changed, 12 insertions(+), 8 deletions(-) diff --git a/client/autofill.c b/client/autofill.c index c538c02..4aa2dfc 100644 --- a/client/autofill.c +++ b/client/autofill.c @@ -109,7 +109,7 @@ static void __fill_response_recv_cb(void *user_data, rpc_port_proxy_autofill_fil rpc_port_proxy_autofill_fill_response_get_app_id(response_h, &app_id); rpc_port_proxy_autofill_fill_response_get_view_id(response_h, &view_id); - LOGD("app id : %s, view id : %s", app_id, view_id); + LOGI("app id : %s, view id : '%s'", app_id, view_id); if (app_id) { autofill_fill_response_set_app_id(rh, app_id); @@ -466,7 +466,7 @@ EXPORT_API int autofill_commit(autofill_h ah, autofill_save_view_info_h vi) rpc_port_proxy_autofill_save_view_info_set_items(vih, items); rpc_port_proxy_list_autofill_save_item_destroy(items); - LOGD("app id : %s, view id : '%s', view title : '%s'", vi->app_id, vi->view_id, vi->view_title); + LOGI("app id : %s, view id : '%s', view title : '%s'", vi->app_id, vi->view_id, vi->view_title); int ret = rpc_port_proxy_AutofillAppPort_invoke_commit(ah->rpc_h, ah->context_id, vih); diff --git a/client/autofill_auth.c b/client/autofill_auth.c index 388881a..4a976e3 100644 --- a/client/autofill_auth.c +++ b/client/autofill_auth.c @@ -56,7 +56,7 @@ EXPORT_API int autofill_auth_info_request(autofill_h ah, autofill_view_info_h vi return AUTOFILL_ERROR_OPERATION_FAILED; } - LOGD("app id : %s, view id : %s", vi->app_id, vi->view_id); + LOGI("app id : %s, view id : '%s'", vi->app_id, vi->view_id); rpc_port_proxy_autofill_view_info_create(&vih); if (vi->view_id) diff --git a/client/autofill_fill_request.c b/client/autofill_fill_request.c index 4233598..e00a82b 100644 --- a/client/autofill_fill_request.c +++ b/client/autofill_fill_request.c @@ -102,7 +102,7 @@ EXPORT_API int autofill_fill_request(autofill_h ah, autofill_view_info_h vi) rpc_port_proxy_autofill_view_info_set_items(vih, items); rpc_port_proxy_list_autofill_item_destroy(items); - LOGD("app id : %s, view id : %s, context id : %d", vi->app_id, vi->view_id, ah->context_id); + LOGI("app id : %s, view id : '%s', context id : %d", vi->app_id, vi->view_id, ah->context_id); ret = rpc_port_proxy_AutofillAppPort_invoke_send_fill_request(ah->rpc_h, ah->context_id, vih); diff --git a/common/autofill_view_info.c b/common/autofill_view_info.c index c6bf3a2..e0550f3 100644 --- a/common/autofill_view_info.c +++ b/common/autofill_view_info.c @@ -88,6 +88,8 @@ EXPORT_API int autofill_view_info_set_app_id(autofill_view_info_h vi, const char vi->app_id = strdup(app_id); + LOGI("app id : %s", app_id); + return AUTOFILL_ERROR_NONE; } @@ -120,6 +122,8 @@ EXPORT_API int autofill_view_info_set_view_id(autofill_view_info_h vi, const cha vi->view_id = strdup(view_id); + LOGI("view id : '%s'", view_id); + return AUTOFILL_ERROR_NONE; } @@ -178,4 +182,4 @@ EXPORT_API int autofill_view_info_foreach_item(autofill_view_info_h vi, } return AUTOFILL_ERROR_NONE; -} \ No newline at end of file +} diff --git a/service_lib/autofill_service.c b/service_lib/autofill_service.c index 45ecc6a..f98d4ed 100644 --- a/service_lib/autofill_service.c +++ b/service_lib/autofill_service.c @@ -178,7 +178,7 @@ static void __auth_info_request_cb(rpc_port_stub_AutofillSvcPort_context_h conte char *view_id = NULL; rpc_port_stub_autofill_svc_view_info_get_app_id(vi, &app_id); rpc_port_stub_autofill_svc_view_info_get_view_id(vi, &view_id); - LOGD("app id : %s, view id : %s", app_id, view_id); + LOGI("app id : %s, view id : '%s'", app_id, view_id); autofill_view_info_h view_info; autofill_view_info_create(&view_info); @@ -242,7 +242,7 @@ static void __autofill_cancel_fill_request_cb(rpc_port_stub_AutofillSvcPort_cont rpc_port_stub_autofill_svc_view_info_get_app_id(vi, &app_id); rpc_port_stub_autofill_svc_view_info_get_view_id(vi, &view_id); - LOGD("app id : %s, view id : %s", app_id, view_id); + LOGI("app id : %s, view id : '%s'", app_id, view_id); autofill_view_info_h view_info; autofill_view_info_create(&view_info); @@ -559,7 +559,7 @@ EXPORT_API int autofill_service_send_auth_info(int context_id, autofill_auth_inf autofill_auth_info_get_service_message(h, &service_message); autofill_auth_info_get_service_logo_image_path(h, &service_logo_image_path); - LOGD("app_id : %s", app_id); + LOGI("app_id : %s", app_id); /* create auth info */ rpc_port_stub_autofill_svc_auth_info_h auth_info_h; -- 2.7.4