*/
#include "hs-proxy.h"
-#include "hmi-debug.h"
const char _afm_main[] = "afm-main";
*/
static void api_callback(void *closure, struct json_object *object, const char *error, const char *info, afb_api_t api)
{
- HMI_DEBUG("homescreen-service","asynchronous call, error=%s, info=%s, object=%s.", error, info, json_object_get_string(object));
+ AFB_INFO("asynchronous call, error=%s, info=%s, object=%s.", error, info, json_object_get_string(object));
}
/**
*/
static void api_call(afb_api_t api, const char *service, const char *verb, struct json_object *args)
{
- HMI_DEBUG("homescreen-service","service=%s verb=%s, args=%s.", service, verb, json_object_get_string(args));
+ AFB_INFO("service=%s verb=%s, args=%s.", service, verb, json_object_get_string(args));
afb_api_call(api, service, verb, args, api_callback, nullptr);
}
{
char *error = nullptr, *info = nullptr;
int ret = afb_api_call_sync(api, service, verb, args, object, &error, &info);
- HMI_DEBUG("homescreen-service","synchronous call, error=%s, info=%s.", error, info);
+ AFB_INFO("synchronous call, error=%s, info=%s.", error, info);
return ret;
}