if (sender_client)
rpc_port_AutofillAppPort_autofill_error_info_received_cb_invoke(sender_client->error_info_cb, error_info_h);
- LOGD("error code : %#x, message : '%s'", error_code, get_error_message(error_code));
+ LOGI("error code : %#x, message : '%s'", error_code, get_error_message(error_code));
if (app_id)
free(app_id);
int r = rpc_port_proxy_AutofillSvcPort_invoke_Register(h, auth_info_cb_h, fill_response_received_cb_h, error_info_cb_h);
if (r != 0)
- LOGD("Failed to invoke Register");
+ LOGW("Failed to invoke Register");
g_connected = true;
}
static void __on_rejected(rpc_port_proxy_AutofillSvcPort_h h, void *user_data)
{
- LOGD("rejected");
+ LOGI("rejected");
}
//LCOV_EXCL_STOP
return true;
}
- LOGD("get autofill service app id...");
+ LOGD("get autofill service app id");
autofill_config_get_autofill_service_app_id(&active_autofill_service_id, &sys_config);
- LOGD("active autofill service app id: '%s'", active_autofill_service_id);
+ LOGI("active autofill service app id: '%s'", active_autofill_service_id);
if (!active_autofill_service_id) {
active_autofill_service_id = strdup(AUTOFILL_SERVICE_APP_ID);
ret = rpc_port_proxy_AutofillSvcPort_create(active_autofill_service_id, &rpc_callback, NULL, &svc_rpc_h);
}
else if (service_id_len == 0) {
- LOGD("No Autofill service to connect");
+ LOGW("No Autofill service to connect");
free(active_autofill_service_id);
return false;
}
return false;
}
- LOGD("Connect to autofill service: '%s'", active_autofill_service_id);
+ LOGI("Connect to autofill service: '%s'", active_autofill_service_id);
free(active_autofill_service_id);
ret = rpc_port_proxy_AutofillSvcPort_connect(svc_rpc_h);
if (ret != RPC_PORT_ERROR_NONE) {
*sys_config = false;
if (preference_get_string(SETTING_ACTIVE_AUTOFILL_SERVICE, &active_autofill_service_id) == PREFERENCE_ERROR_NONE) {
- LOGD("preference active autofill service : %s", active_autofill_service_id);
+ LOGI("preference active autofill service : %s", active_autofill_service_id);
*app_id = active_autofill_service_id;
return true;
}
- LOGD("Read from config");
+ LOGI("Read from config");
pFile = fopen(AUTOFILL_SYSTEM_CONFIG_FILE, "r");
- if (pFile == NULL)
+ if (pFile == NULL) {
+ LOGW("Failed to open system config file");
return false;
+ }
while (fgets(strTemp, sizeof(strTemp), pFile) != NULL)
{