static void __client_create(rpc_port_stub_AutofillAppPort_context_h context,
void *user_data)
{
- LOGD("context : %p", context);
+ LOGI("context : %p", context);
char *sender = NULL;
rpc_port_stub_AutofillAppPort_context_get_sender(context, &sender);
if (!sender)
return;
- LOGD("sender(%s)", sender);
+ LOGI("sender(%s)", sender);
free(sender);
}
static void __client_terminate(rpc_port_stub_AutofillAppPort_context_h context,
void *user_data)
{
- LOGD("context : %p", context);
+ LOGI("context : %p", context);
char *sender = NULL;
rpc_port_stub_AutofillAppPort_context_get_sender(context, &sender);
if (!sender)
return;
- LOGD("[__RPC_PORT__] sender(%s)", sender);
+ LOGI("[__RPC_PORT__] sender(%s)", sender);
free(sender);
__remove_client(context);
rpc_port_AutofillAppPort_autofill_error_info_received_cb_h error_info_cb,
void *user_data)
{
- LOGD("context : %p", context);
+ LOGI("context : %p", context);
char *sender = NULL;
autofill_client_s *client = NULL;
if (!sender)
return -1;
- LOGD("sender(%s)", sender);
+ LOGI("sender(%s)", sender);
client = create_autofill_client(sender, context_id, auth_info_cb, fill_response_received_cb, error_info_cb);
free(sender);
static void __client_unregister(rpc_port_stub_AutofillAppPort_context_h context, int context_id, void *user_data)
{
- LOGD("context : %p", context);
+ LOGI("context : %p", context);
__remove_client(context);
}
static void __manager_create(rpc_port_stub_AutofillManagerPort_context_h context,
void *user_data)
{
- LOGD("");
+ LOGI("");
}
static void __manager_terminate(rpc_port_stub_AutofillManagerPort_context_h context,
void *user_data)
{
- LOGD("");
+ LOGI("");
}
bool __view_info_item_cb(rpc_port_autofill_item_h items, void *user_data)
rpc_port_stub_AutofillAppPort_context_get_sender(context, &sender);
rpc_port_autofill_view_info_get_view_id(vi, &view_id);
- LOGD("app id : %s, view id : %s", sender, view_id);
+ LOGI("app id : %s, view id : %s", sender, view_id);
/* create view info */
rpc_port_autofill_svc_view_info_h svi = NULL;
rpc_port_stub_AutofillAppPort_context_get_sender(context, &sender);
rpc_port_autofill_view_info_get_view_id(vi, &view_id);
- LOGD("app id : %s, view id : %s, context id : %d", sender, view_id, context_id);
+ LOGI("app id : %s, view id : %s, context id : %d", sender, view_id, context_id);
rpc_port_autofill_svc_view_info_h svi = NULL;
if (rpc_port_autofill_svc_view_info_create(&svi) != 0) {
rpc_port_stub_AutofillAppPort_context_get_sender(context, &sender);
rpc_port_autofill_view_info_get_view_id(vi, &view_id);
- LOGD("app id : %s, view id : %s, context id : %d", sender, view_id, context_id);
+ LOGI("app id : %s, view id : %s, context id : %d", sender, view_id, context_id);
rpc_port_autofill_svc_view_info_h svi = NULL;
if (rpc_port_autofill_svc_view_info_create(&svi) != 0) {
if (sender) {
rpc_port_autofill_svc_save_view_info_set_app_id(svi, sender);
- LOGD("sender(%s)", sender);
+ LOGI("sender(%s)", sender);
free(sender);
}
rpc_port_autofill_svc_auth_info_get_service_logo_image_path(svc_auth_info_h, &service_logo_image_path);
rpc_port_autofill_svc_auth_info_get_service_message(svc_auth_info_h, &service_message);
- LOGD("app id : %s, service name : %s, message : %s, logo path : %s", app_id, service_name, service_message, service_logo_image_path);
+ LOGI("app id : %s, service name : %s, message : %s, logo path : %s", app_id, service_name, service_message, service_logo_image_path);
/* transfer auth info */
rpc_port_autofill_auth_info_h auth_info_h = NULL;
rpc_port_proxy_AutofillSvcPort_invoke_request_terminate(svc_rpc_h);
int ret = rpc_port_proxy_AutofillSvcPort_destroy(svc_rpc_h);
- LOGD("ret : %#x", ret);
+ LOGI("ret : %#x", ret);
if (ret == RPC_PORT_ERROR_NONE) {
fill_response_received_cb_h = NULL;
auth_info_cb_h = NULL;
return true;
}
- LOGD("get autofill service app id");
+ LOGI("get autofill service app id");
autofill_config_get_autofill_service_app_id(&active_autofill_service_id, &sys_config);
LOGI("active autofill service app id: '%s'", active_autofill_service_id);
bool service_app_create(void *data)
{
// Todo: add your code here.
- LOGD("");
+ LOGI("");
int ret;
// register app port
void service_app_terminate(void *data)
{
// Todo: add your code here.
- LOGD("");
+ LOGI("");
remove_all_client_list();
static void __destroy_pending_request(gpointer data)
{
- LOGD("");
autofill_request_item_s *handle = data;
+ LOGI("request item(%p)", handle);
if (!handle)
return;
request_item_h->req_data = (void *)req_data;
request_item_h->context_id = context_id;
+ LOGI("Add request type : %d, context id : %d", type, context_id);
+
__pending_request_item_list = g_list_append(__pending_request_item_list, request_item_h);
}
autofill_request_item_s *req_item;
GList *iter;
- LOGD("");
+ LOGI("");
iter = __pending_request_item_list;
while (iter) {
continue;
}
- LOGD("type : %d", req_item->req_type);
+ LOGI("request type : %d", req_item->req_type);
rpc_port_autofill_svc_view_info_h svi = req_item->req_data;
switch (req_item->req_type) {
case AUTH_INFO_REQUEST:
- LOGD("auth info request. context id : %d", req_item->context_id);
+ LOGI("auth info request. context id : %d", req_item->context_id);
rpc_port_proxy_AutofillSvcPort_invoke_request_auth_info(svc_rpc_h, req_item->context_id, svi);
break;
case FILL_REQUEST:
- LOGD("fill request. context id : %d", req_item->context_id);
+ LOGI("fill request. context id : %d", req_item->context_id);
rpc_port_proxy_AutofillSvcPort_invoke_send_fill_request(svc_rpc_h, req_item->context_id, svi);
break;
case CANCEL_FILL_REQUEST:
- LOGD("cancel fill request. context id : %d", req_item->context_id);
+ LOGI("cancel fill request. context id : %d", req_item->context_id);
rpc_port_proxy_AutofillSvcPort_invoke_cancel_fill_request(svc_rpc_h, req_item->context_id, svi);
break;
default: