static Eina_Bool __focus_changed_cb(void *data, int type, void *event)
{
- SLOG(LOG_DEBUG, TAG_VCC, "===== Focus changed");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ Focus changed");
int ret;
if (ECORE_WL_EVENT_FOCUS_IN == type) {
- SLOG(LOG_DEBUG, TAG_VCC, "===== Set foreground");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ Set foreground");
ret = vc_dbus_set_foreground(getpid(), true);
if (0 != ret) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Fail to set foreground (true) : %d", ret);
ecore_timer_add(0, __notify_auth_changed_cb, NULL);
}
} else if (ECORE_WL_EVENT_FOCUS_OUT == type) {
- SLOG(LOG_DEBUG, TAG_VCW, "===== Set background");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ Set background");
ret = vc_dbus_set_foreground(getpid(), false);
if (0 != ret) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Fail to set foreground (false) : %d", ret);
ecore_timer_add(0, __notify_auth_changed_cb, NULL);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCC, "===== type(%d) is NOT valid", type);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ type(%d) is NOT valid", type);
}
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, "");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return ECORE_CALLBACK_RENEW;
}
return VC_ERROR_PERMISSION_DENIED;
}
- SLOG(LOG_DEBUG, TAG_VCC, "===== [Client] Initialize");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ [Client] Initialize");
/* check handle */
if (true == vc_client_is_valid(g_vc)) {
SLOG(LOG_DEBUG, TAG_VCC, "[Success] pid(%d)", g_vc->handle);
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_NONE;
}
return VC_ERROR_PERMISSION_DENIED;
}
- SLOG(LOG_DEBUG, TAG_VCC, "===== [Client] Deinitialize");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ [Client] Deinitialize");
if (false == vc_client_is_valid(g_vc)) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] NOT initialized");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Fail to close connection");
}
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_NONE;
}
return EINA_TRUE;
}
- SLOG(LOG_DEBUG, TAG_VCC, "===== [Client] Connect daemon");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ [Client] Connect daemon");
/* request initialization */
int ret = -1;
vc_client_set_error(g_vc, VC_ERROR_ENGINE_NOT_FOUND);
ecore_timer_add(0, __vc_notify_error, g_vc);
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return EINA_FALSE;
} else if (0 != ret) {
vc_client_set_error(g_vc, VC_ERROR_TIMED_OUT);
ecore_timer_add(0, __vc_notify_error, g_vc);
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return EINA_FALSE;
} else {
/* Success to connect */
int status = aul_app_get_status(appid);
if (STATUS_FOCUS == status) {
- SLOG(LOG_DEBUG, TAG_VCC, "===== Set foreground");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ Set foreground");
ret = vc_dbus_set_foreground(getpid(), true);
if (0 != ret) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Fail to set foreground (true) : %d", ret);
vc_client_set_mgr_pid(g_vc, mgr_pid);
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return EINA_FALSE;
}
return VC_ERROR_PERMISSION_DENIED;
}
- SLOG(LOG_DEBUG, TAG_VCC, "===== [Client] Prepare");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ [Client] Prepare");
vc_state_e state;
if (0 != vc_client_get_client_state(g_vc, &state)) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_INITIALIZED) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: Current state is not 'CREATED'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
g_connect_timer = ecore_timer_add(0, __vc_connect_daemon, NULL);
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_NONE;
}
return VC_ERROR_PERMISSION_DENIED;
}
- SLOG(LOG_DEBUG, TAG_VCC, "===== [Client] Unprepare");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ [Client] Unprepare");
vc_state_e state;
if (0 != vc_client_get_client_state(g_vc, &state)) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_client_set_client_state(g_vc, VC_STATE_INITIALIZED);
ecore_timer_add(0, __vc_notify_state_changed, g_vc);
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_NONE;
}
return VC_ERROR_PERMISSION_DENIED;
}
- SLOG(LOG_DEBUG, TAG_VCC, "===== [Client] Foreach Supported Language");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ [Client] Foreach Supported Language");
if (NULL == callback) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Input parameter is NULL");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_PARAMETER;
}
vc_state_e state;
if (0 != vc_client_get_client_state(g_vc, &state)) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Fail to get languages : %s", __vc_get_error_code(ret));
}
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_NONE;
}
return VC_ERROR_PERMISSION_DENIED;
}
- SLOG(LOG_DEBUG, TAG_VCC, "===== [Client] Get Current Language");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ [Client] Get Current Language");
if (NULL == language) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Input parameter is NULL");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_PARAMETER;
}
vc_state_e state;
if (0 != vc_client_get_client_state(g_vc, &state)) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Fail to get current languages : %s", __vc_get_error_code(ret));
}
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return ret;
}
return VC_ERROR_PERMISSION_DENIED;
}
- SLOG(LOG_DEBUG, TAG_VCC, "===== [Client] Get State");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ [Client] Get State");
if (NULL == state) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Input parameter is NULL");
vc_state_e temp;
if (0 != vc_client_get_client_state(g_vc, &temp)) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] handle is not valid");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
default: SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid state");
}
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_NONE;
}
return VC_ERROR_PERMISSION_DENIED;
}
- SLOG(LOG_DEBUG, TAG_VCC, "===== [Client] Get Service State");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ [Client] Get Service State");
if (NULL == state) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Input parameter is NULL");
vc_state_e temp;
if (0 != vc_client_get_client_state(g_vc, &temp)) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
if (VC_STATE_READY != temp) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
default: SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid state");
}
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_NONE;
}
return VC_ERROR_PERMISSION_DENIED;
}
- SLOG(LOG_DEBUG, TAG_VCC, "===== [Client] Get system command list");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ [Client] Get system command list");
if (NULL == vc_sys_cmd_list) {
SLOG(LOG_ERROR, TAG_VCCMD, "[ERROR] Input parameter is NULL");
vc_state_e state;
if (0 != vc_client_get_client_state(g_vc, &state)) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_client_get_service_state(g_vc, &service_state);
if (service_state != VC_SERVICE_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: service state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
return VC_ERROR_NONE;
}
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return ret;
}
return VC_ERROR_PERMISSION_DENIED;
}
- SLOG(LOG_DEBUG, TAG_VCC, "===== [Client] Is command format supported");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ [Client] Is command format supported");
vc_state_e state;
if (0 != vc_client_get_client_state(g_vc, &state)) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
SLOG(LOG_ERROR, TAG_VCC, "[DEBUG] Format(%d) support(%s)", format, *support ? "true" : "false");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_NONE;
}
return VC_ERROR_PERMISSION_DENIED;
}
- SLOG(LOG_DEBUG, TAG_VCC, "===== [Client] Set Command list");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ [Client] Set Command list");
if (NULL == vc_cmd_list) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Input parameter is NULL");
vc_state_e state;
if (0 != vc_client_get_client_state(g_vc, &state)) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check type */
if ((VC_COMMAND_TYPE_FOREGROUND != type) && (VC_COMMAND_TYPE_BACKGROUND != type)) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid command type: input type is %d", type);
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_PARAMETER;
}
invocation_name = NULL;
}
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return ret;
}
return VC_ERROR_PERMISSION_DENIED;
}
- SLOG(LOG_DEBUG, TAG_VCC, "===== [Client] Unset Command list");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ [Client] Unset Command list");
vc_state_e state;
if (0 != vc_client_get_client_state(g_vc, &state)) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] cmd_type(%d), Fail to delete command list : %s", type, __vc_get_error_code(ret));
}
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return ret;
}
return VC_ERROR_PERMISSION_DENIED;
}
- SLOG(LOG_DEBUG, TAG_VCC, "===== [Client] Set Command list from file");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ [Client] Set Command list from file");
vc_state_e state;
if (0 != vc_client_get_client_state(g_vc, &state)) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check type */
if ((VC_COMMAND_TYPE_FOREGROUND != type) && (VC_COMMAND_TYPE_BACKGROUND != type)) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid command type: input type is %d", type);
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_PARAMETER;
}
invocation_name = NULL;
}
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return ret;
}
#if 0
int vc_get_exclusive_command_option(bool* value)
{
- SLOG(LOG_DEBUG, TAG_VCC, "===== [Client] Get exclusive command");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ [Client] Get exclusive command");
vc_state_e state;
if (0 != vc_client_get_client_state(g_vc, &state)) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
int ret = vc_client_get_exclusive_cmd(g_vc, value);
if (0 != ret) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Fail to set exclusive option : %d", ret);
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return ret;
}
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return ret;
}
return VC_ERROR_PERMISSION_DENIED;
}
- SLOG(LOG_DEBUG, TAG_VCC, "===== [Client] Set exclusive command");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ [Client] Set exclusive command");
vc_state_e state;
if (0 != vc_client_get_client_state(g_vc, &state)) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
int ret = vc_client_set_exclusive_cmd(g_vc, value);
if (0 != ret) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Fail to set exclusive option : %d", ret);
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return ret;
}
}
} while (0 != ret);
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return ret;
}
#if 0
int vc_request_start(bool stop_by_silence)
{
- SLOG(LOG_DEBUG, TAG_VCC, "===== [Client] Request start");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ [Client] Request start");
vc_state_e state;
if (0 != vc_client_get_client_state(g_vc, &state)) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: client state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_client_get_service_state(g_vc, &service_state);
if (service_state != VC_SERVICE_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: service state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
}
}
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return ret;
}
int vc_request_stop(void)
{
- SLOG(LOG_DEBUG, TAG_VCC, "===== [Client] Request stop");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ [Client] Request stop");
vc_state_e state;
if (0 != vc_client_get_client_state(g_vc, &state)) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: client state is not 'Ready'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_client_get_service_state(g_vc, &service_state);
if (service_state != VC_SERVICE_STATE_RECORDING) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: service state is not 'RECORDING'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
}
}
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return ret;
}
int vc_request_cancel(void)
{
- SLOG(LOG_DEBUG, TAG_VCC, "===== [Client] Request cancel Interrupt");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ [Client] Request cancel Interrupt");
vc_state_e state;
if (0 != vc_client_get_client_state(g_vc, &state)) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: Current state is not 'Ready'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_client_get_service_state(g_vc, &service_state);
if (service_state != VC_SERVICE_STATE_RECORDING && service_state != VC_SERVICE_STATE_PROCESSING) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: service state is not 'RECORDING' or 'PROCESSING'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
}
}
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return ret;
}
return VC_ERROR_PERMISSION_DENIED;
}
- SLOG(LOG_DEBUG, TAG_VCC, "===== [Client] Get result");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ [Client] Get result");
if (NULL == callback) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Client result callback is NULL");
temp_text = NULL;
}
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_NONE;
}
}
vc_state_e state;
- SLOG(LOG_DEBUG, TAG_VCC, "===== Set invocation name");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ Set invocation name");
int ret = vc_client_get_client_state(g_vc, &state);
if (0 != ret) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] A handle is not valid");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return ret;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
{
vc_state_e state;
- SLOG(LOG_DEBUG, TAG_VCC, "===== Request dialog");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ Request dialog");
if (0 != __vc_get_feature_enabled()) {
return VC_ERROR_NOT_SUPPORTED;
}
if (0 != vc_client_get_client_state(g_vc, &state)) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] A handle is not valid");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_client_get_service_state(g_vc, &service_state);
if (service_state != VC_SERVICE_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: service state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
return VC_ERROR_OPERATION_FAILED;
}
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_NONE;
}
int vc_auth_start(void)
{
- SLOG(LOG_DEBUG, TAG_VCC, "===== [Client] Request start");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ [Client] Request start");
vc_state_e state;
if (0 != vc_client_get_client_state(g_vc, &state)) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: client state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_client_get_service_state(g_vc, &service_state);
if (service_state != VC_SERVICE_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: service state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
}
}
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return ret;
}
int vc_auth_stop(void)
{
- SLOG(LOG_DEBUG, TAG_VCC, "===== [Client] Request stop");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ [Client] Request stop");
vc_state_e state;
if (0 != vc_client_get_client_state(g_vc, &state)) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: client state is not 'Ready'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_client_get_service_state(g_vc, &service_state);
if (service_state != VC_SERVICE_STATE_RECORDING) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: service state is not 'RECORDING'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
}
}
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return ret;
}
int vc_auth_cancel(void)
{
- SLOG(LOG_DEBUG, TAG_VCC, "===== [Client] Request cancel");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ [Client] Request cancel");
vc_state_e state;
if (0 != vc_client_get_client_state(g_vc, &state)) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: Current state is not 'Ready'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_client_get_service_state(g_vc, &service_state);
if (service_state != VC_SERVICE_STATE_RECORDING && service_state != VC_SERVICE_STATE_PROCESSING) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid State: service state is not 'RECORDING' or 'PROCESSING'");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_STATE;
}
}
}
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return ret;
}
snprintf(if_name, 64, "%s", VC_CLIENT_SERVICE_INTERFACE);
if (dbus_message_is_method_call(msg, if_name, VCD_METHOD_HELLO)) {
- SLOG(LOG_DEBUG, TAG_VCC, "===== Get Hello");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ Get Hello");
int pid = 0;
int response = -1;
}
if (pid > 0) {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< vc get hello : pid(%d) ", pid);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc get hello : pid(%d) ", pid);
response = 1;
} else {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< vc get hello : invalid pid ");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc get hello : invalid pid ");
}
DBusMessage* reply = NULL;
dbus_message_append_args(reply, DBUS_TYPE_INT32, &response, DBUS_TYPE_INVALID);
if (!dbus_connection_send(g_conn_listener, reply, NULL))
- SLOG(LOG_ERROR, TAG_VCC, ">>>> vc get hello : fail to send reply");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc get hello : fail to send reply");
else
- SLOG(LOG_DEBUG, TAG_VCC, ">>>> vc get hello : result(%d)", response);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc get hello : result(%d)", response);
dbus_connection_flush(g_conn_listener);
dbus_message_unref(reply);
} else {
- SLOG(LOG_ERROR, TAG_VCC, ">>>> vc get hello : fail to create reply message");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc get hello : fail to create reply message");
}
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
} /* VCD_METHOD_HELLO */
else if (dbus_message_is_signal(msg, if_name, VCD_METHOD_SET_SERVICE_STATE)) {
dbus_error_free(&err);
}
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< state changed : %d", state);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ state changed : %d", state);
__vc_cb_service_state(state);
} /* VCD_METHOD_SET_SERVICE_STATE */
else if (dbus_message_is_method_call(msg, if_name, VCD_METHOD_RESULT)) {
- SLOG(LOG_DEBUG, TAG_VCC, "===== Get Client Result");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ Get Client Result");
__vc_cb_result();
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
} /* VCD_METHOD_RESULT */
else if (dbus_message_is_signal(msg, if_name, VCD_METHOD_SEND_MANAGER_PID)) {
dbus_error_free(&err);
}
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< manager pid is changed : %d", manager_pid);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ manager pid is changed : %d", manager_pid);
__vc_cb_manager_pid(manager_pid);
} /* VCD_METHOD_SEND_MANAGER_PID */
else if (dbus_message_is_signal(msg, if_name, VCD_METHOD_ERROR)) {
- SLOG(LOG_DEBUG, TAG_VCC, "===== Get Error");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ Get Error");
int reason;
int daemon_pid;
char* err_msg;
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< vc Get Error message : Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc Get Error message : Get arguments error (%s)", err.message);
dbus_error_free(&err);
} else {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< vc Get Error message : reason(%d), daemon_pid(%d), msg(%s)", reason, daemon_pid, err_msg);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc Get Error message : reason(%d), daemon_pid(%d), msg(%s)", reason, daemon_pid, err_msg);
__vc_cb_error(reason, daemon_pid, err_msg);
}
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
} /* VCD_METHOD_ERROR */
else if (dbus_message_is_signal(msg, "org.freedesktop.DBus", "NameOwnerChanged")) {
- SLOG(LOG_DEBUG, TAG_VCC, "===== Owner Changed");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@ Owner Changed");
DBusError err;
dbus_error_init(&err);
/* remove a rule for daemon error */
dbus_error_free(&err);
}
__vc_cb_error(VC_ERROR_SERVICE_RESET, -1, "Daemon Reset");
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
} /* NameOwnerChanged */
else {
VC_METHOD_HELLO);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCC, ">>>> Request vc hello : Fail to make message");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ Request vc hello : Fail to make message");
return VC_ERROR_OPERATION_FAILED;
}
VC_METHOD_INITIALIZE);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCC, ">>>> vc initialize : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc initialize : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCC, ">>>> vc initialize : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc initialize : pid(%d)", pid);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
return VC_ERROR_OPERATION_FAILED;
}
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< vc initialize : result = %d mgr = %d service = %d daemon_pid = %d", result, *mgr_pid, *service_state, *daemon_pid);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc initialize : result = %d mgr = %d service = %d daemon_pid = %d", result, *mgr_pid, *service_state, *daemon_pid);
} else {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< vc initialize : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc initialize : result = %d", result);
}
} else {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< Result message is NULL ");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ Result message is NULL ");
vc_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_METHOD_FINALIZE);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCC, ">>>> vc finalize : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc finalize : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCC, ">>>> vc finalize : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc finalize : pid(%d)", pid);
}
dbus_message_append_args(msg, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INVALID);
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< vc finalize : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc finalize : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< vc finalize : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc finalize : result = %d", result);
}
} else {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< Result message is NULL ");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ Result message is NULL ");
vc_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_METHOD_SET_EXCLUSIVE_CMD);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCC, ">>>> vc set exclusive command : Fail to make message");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc set exclusive command : Fail to make message");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCC, ">>>> vc set exclusive command : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc set exclusive command : pid(%d)", pid);
}
int temp = value;
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< vc set exclusive command : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc set exclusive command : result = %d", result);
} else {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< vc set exclusive command : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc set exclusive command : result = %d", result);
}
} else {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< Result message is NULL");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ Result message is NULL");
vc_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_METHOD_SET_COMMAND);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCC, ">>>> vc set command : Fail to make message");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc set command : Fail to make message");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCC, ">>>> vc set command : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc set command : pid(%d)", pid);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< vc set command : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc set command : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< vc set command : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc set command : result = %d", result);
}
} else {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< Result message is NULL");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ Result message is NULL");
vc_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_METHOD_UNSET_COMMAND);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCC, ">>>> vc unset command : Fail to make message");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc unset command : Fail to make message");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCC, ">>>> vc unset command : pid(%d), type(%d)", pid, cmd_type);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc unset command : pid(%d), type(%d)", pid, cmd_type);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< vc unset command : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc unset command : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< vc unset command : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc unset command : result = %d", result);
}
} else {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< Result message is NULL");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ Result message is NULL");
vc_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VCC_MANAGER_METHOD_SET_FOREGROUND);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCC, ">>>> vc set foreground to manager : Fail to make message");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc set foreground to manager : Fail to make message");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCC, ">>>> vc set foreground to manager : client pid(%d), value(%s)", pid, tmp_value ? "true" : "false");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc set foreground to manager : client pid(%d), value(%s)", pid, tmp_value ? "true" : "false");
}
dbus_message_append_args(msg,
VC_METHOD_SET_FOREGROUND);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCC, ">>>> vc set foreground to daemon : Fail to make message");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc set foreground to daemon : Fail to make message");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCC, ">>>> vc set foreground to daemon : client pid(%d), value(%s)", pid, tmp_value ? "true" : "false");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc set foreground to daemon : client pid(%d), value(%s)", pid, tmp_value ? "true" : "false");
}
dbus_message_append_args(msg,
VC_METHOD_DIALOG);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCC, ">>>> vc request dialog to manager : Fail to make message");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc request dialog to manager : Fail to make message");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCC, ">>>> vc request dialog to manager : client pid(%d), disp_text(%s), utt_text(%s), continuous(%d)", getpid(), disp_text, utt_text, continuous);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc request dialog to manager : client pid(%d), disp_text(%s), utt_text(%s), continuous(%d)", getpid(), disp_text, utt_text, continuous);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< vc set command : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc set command : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< vc set command : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc set command : result = %d", result);
}
} else {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< Result message is NULL");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ Result message is NULL");
vc_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_METHOD_IS_SYS_COMMAND_VALID);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCC, ">>>> vc is system command valid : Fail to make message");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc is system command valid : Fail to make message");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCC, ">>>> vc is system command valid : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc is system command valid : pid(%d)", pid);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
if (0 == result) {
*is_sys_cmd_valid = (bool)tmp_sys_cmd;
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< vc is system command valid : result = %d, is_sys_cmd_valid = %d", result, *is_sys_cmd_valid);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc is system command valid : result = %d, is_sys_cmd_valid = %d", result, *is_sys_cmd_valid);
} else {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< vc is system command valid : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc is system command valid : result = %d", result);
}
} else {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< Result message is NULL");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ Result message is NULL");
vc_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_METHOD_REQUEST_START);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCC, ">>>> vc start : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc start : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCC, ">>>> vc start : pid(%d), silence(%d)", pid, silence);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc start : pid(%d), silence(%d)", pid, silence);
}
DBusMessageIter args;
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< vc start : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc start : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< vc start : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc start : result = %d", result);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< Result Message is NULL");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ Result Message is NULL");
vc_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_METHOD_REQUEST_STOP);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCC, ">>>> vc stop : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc stop : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCC, ">>>> vc stop : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc stop : pid(%d)", pid);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< vc stop : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc stop : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< vc stop : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc stop : result = %d", result);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< Result Message is NULL");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ Result Message is NULL");
vc_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_METHOD_REQUEST_CANCEL); /* name of the signal */
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCC, ">>>> vc cancel : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc cancel : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCC, ">>>> vc cancel : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc cancel : pid(%d)", pid);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< vc cancel : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc cancel : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< vc cancel : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc cancel : result = %d", result);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< Result Message is NULL");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ Result Message is NULL");
vc_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_METHOD_AUTH_ENABLE); /* name of the signal */
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCC, ">>>> vc auth enable : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc auth enable : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCC, ">>>> vc auth enable : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc auth enable : pid(%d)", pid);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< vc auth enable : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc auth enable : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< vc auth enable : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc auth enable : result = %d", result);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< Result Message is NULL");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ Result Message is NULL");
vc_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_METHOD_AUTH_DISABLE); /* name of the signal */
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCC, ">>>> vc auth disable : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc auth disable : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCC, ">>>> vc auth disable : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc auth disable : pid(%d)", pid);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< vc auth disable : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc auth disable : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< vc auth disable : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc auth disable : result = %d", result);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< Result Message is NULL");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ Result Message is NULL");
vc_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_METHOD_AUTH_START);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCC, ">>>> vc auth start : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc auth start : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCC, ">>>> vc auth start : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc auth start : pid(%d)", pid);
}
DBusMessageIter args;
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< vc auth start : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc auth start : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< vc auth start : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc auth start : result = %d", result);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< Result Message is NULL");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ Result Message is NULL");
vc_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_METHOD_AUTH_STOP);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCC, ">>>> vc auth stop : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc auth stop : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCC, ">>>> vc auth stop : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc auth stop : pid(%d)", pid);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< vc auth stop : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc auth stop : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< vc auth stop : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc auth stop : result = %d", result);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< Result Message is NULL");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ Result Message is NULL");
vc_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_METHOD_AUTH_CANCEL); /* name of the signal */
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCC, ">>>> vc auth cancel : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc auth cancel : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCC, ">>>> vc auth cancel : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc auth cancel : pid(%d)", pid);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< vc auth cancel : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ vc auth cancel : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCC, "<<<< vc auth cancel : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCC, "@@ vc auth cancel : result = %d", result);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCC, "<<<< Result Message is NULL");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@ Result Message is NULL");
vc_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
int vc_mgr_initialize()
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Initialize");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Initialize");
if (0 != __vc_mgr_get_feature_enabled()) {
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] not supported");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] not supported");
return VC_ERROR_NOT_SUPPORTED;
}
SLOG(LOG_DEBUG, TAG_VCM, "[Success] pid(%d)", g_vc_m->handle);
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_NONE;
}
int vc_mgr_deinitialize()
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Deinitialize");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Deinitialize");
if (false == vc_mgr_client_is_valid(g_vc_m)) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] NOT initialized");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Fail to close connection");
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_NONE;
}
vc_mgr_client_set_error(g_vc_m, VC_ERROR_ENGINE_NOT_FOUND);
ecore_timer_add(0, __vc_mgr_notify_error, g_vc_m);
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return EINA_FALSE;
} else if (0 != ret) {
SLOG(LOG_WARN, TAG_VCM, "[WARNING] State changed callback is null");
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return EINA_FALSE;
}
static void __start_prepare_thread(void *data, Ecore_Thread *thread)
{
- SLOG(LOG_ERROR, TAG_VCM, "===== Start prepare thread");
+ SLOG(LOG_ERROR, TAG_VCM, "@@@ Start prepare thread");
int ret = 1, retry_count = 0;
/* Send hello */
static void __end_prepare_thread(void *data, Ecore_Thread *thread)
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== End prepare thread");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ End prepare thread");
}
int vc_mgr_prepare()
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Prepare");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Prepare");
vc_state_e state;
if (0 != vc_mgr_client_get_client_state(g_vc_m, &state)) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_INITIALIZED) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: Current state is not 'CREATED'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
ecore_thread_run(__start_prepare_thread, __end_prepare_thread, NULL, NULL);
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_NONE;
}
int vc_mgr_unprepare()
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Unprepare");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Unprepare");
vc_state_e state;
if (0 != vc_mgr_client_get_client_state(g_vc_m, &state)) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_mgr_client_set_client_state(g_vc_m, VC_STATE_INITIALIZED);
ecore_timer_add(0, __vc_mgr_notify_state_changed, g_vc_m);
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_NONE;
}
int vc_mgr_foreach_supported_languages(vc_supported_language_cb callback, void* user_data)
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Foreach Supported Language");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Foreach Supported Language");
if (NULL == callback) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Input parameter is NULL");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_PARAMETER;
}
vc_state_e state;
if (0 != vc_mgr_client_get_client_state(g_vc_m, &state)) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Fail to get languages : %s", __vc_mgr_get_error_code(ret));
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_NONE;
}
int vc_mgr_get_state(vc_state_e* state)
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Get State");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Get State");
if (NULL == state) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Input parameter is NULL");
vc_state_e temp;
if (0 != vc_mgr_client_get_client_state(g_vc_m, &temp)) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
default: SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid state");
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_NONE;
}
int vc_mgr_get_service_state(vc_service_state_e* state)
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Get Service State");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Get Service State");
if (NULL == state) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Input parameter is NULL");
default: SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid state");
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_NONE;
}
int vc_mgr_set_demandable_client_rule(const char* rule)
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Set Demandable client rule");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Set Demandable client rule");
vc_state_e state;
if (0 != vc_mgr_client_get_client_state(g_vc_m, &state)) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
ret = vc_info_parser_set_demandable_client(rule);
if (0 != ret) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] rule is NOT valid");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_PARAMETER;
}
return VC_ERROR_OPERATION_FAILED;
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return 0;
}
int vc_mgr_is_command_format_supported(vc_cmd_format_e format, bool* support)
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Is command type supported");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Is command type supported");
vc_state_e state;
if (0 != vc_mgr_client_get_client_state(g_vc_m, &state)) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
SLOG(LOG_ERROR, TAG_VCM, "[DEBUG] Format(%d) support(%s)", format, *support ? "true" : "false");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_NONE;
}
int vc_mgr_enable_command_type(int cmd_type)
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Enable Command Type");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Enable Command Type");
vc_state_e state;
if (0 != vc_mgr_client_get_client_state(g_vc_m, &state)) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_mgr_client_get_service_state(g_vc_m, &service_state);
if (service_state != VC_SERVICE_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: service state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
}
} while (0 != ret);
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return ret;
}
int vc_mgr_disable_command_type(int cmd_type)
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Disable Command Type");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Disable Command Type");
vc_state_e state;
if (0 != vc_mgr_client_get_client_state(g_vc_m, &state)) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_mgr_client_get_service_state(g_vc_m, &service_state);
if (service_state != VC_SERVICE_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: service state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
}
} while (0 != ret);
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return ret;
}
int vc_mgr_set_command_list(vc_cmd_list_h vc_cmd_list)
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Set Command list");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Set Command list");
vc_state_e state;
if (0 != vc_mgr_client_get_client_state(g_vc_m, &state)) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_mgr_client_get_service_state(g_vc_m, &service_state);
if (service_state != VC_SERVICE_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: service state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
} while (0 != ret);
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return ret;
}
int vc_mgr_unset_command_list()
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Unset Command list");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Unset Command list");
vc_state_e state;
if (0 != vc_mgr_client_get_client_state(g_vc_m, &state)) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Fail to delete file, type(%d), ret(%d)", i, ret);
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return 0;
}
int vc_mgr_set_command_list_from_file(const char* file_path, int type)
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Set Command list from file");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Set Command list from file");
if (NULL == file_path) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid parameter!!");
return VC_ERROR_INVALID_PARAMETER;
} else {
- SLOG(LOG_DEBUG, TAG_VCM, "===== File path: %s", file_path);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ File path: %s", file_path);
}
/* check type */
if (VC_COMMAND_TYPE_FOREGROUND > type || VC_COMMAND_TYPE_EXCLUSIVE < type) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Invalid command type: input type is %d", type);
- SLOG(LOG_DEBUG, TAG_VCC, "=====");
- SLOG(LOG_DEBUG, TAG_VCC, " ");
+ SLOG(LOG_DEBUG, TAG_VCC, "@@@");
return VC_ERROR_INVALID_PARAMETER;
}
} while (0 != ret);
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return ret;
}
int vc_mgr_set_preloaded_commands_from_file(const char* file_path)
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Set preloaded command list");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Set preloaded command list");
vc_state_e state;
if (0 != vc_mgr_client_get_client_state(g_vc_m, &state)) {
if (0 != ret)
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Fail to insert preloaded commands into db");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return ret;
}
int vc_mgr_set_audio_type(const char* audio_id)
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Set audio type");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Set audio type");
if (NULL == audio_id) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Input parameter is NULL");
vc_state_e state;
if (0 != vc_mgr_client_get_client_state(g_vc_m, &state)) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_mgr_client_get_service_state(g_vc_m, &service_state);
if (service_state != VC_SERVICE_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: service state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
}
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return ret;
}
int vc_mgr_get_audio_type(char** audio_id)
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Get audio type");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Get audio type");
if (NULL == audio_id) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Input parameter is NULL");
vc_state_e state;
if (0 != vc_mgr_client_get_client_state(g_vc_m, &state)) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_mgr_client_get_service_state(g_vc_m, &service_state);
if (service_state != VC_SERVICE_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: service state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
int vc_mgr_get_current_commands(vc_cmd_list_h* vc_cmd_list)
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Foreach current commands");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Foreach current commands");
vc_state_e state;
if (0 != vc_mgr_client_get_client_state(g_vc_m, &state)) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_mgr_client_get_service_state(g_vc_m, &service_state);
if (service_state != VC_SERVICE_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: service state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
if (NULL == vc_cmd_list) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid Parameter");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_PARAMETER;
}
iter = g_slist_nth(client_info_list, 0);
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return 0;
}
SLOG(LOG_DEBUG, TAG_VCM, "[Manager] No background commands");
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return 0;
}
int vc_mgr_set_recognition_mode(vc_recognition_mode_e mode)
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Set recognition mode = %d", mode);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Set recognition mode = %d", mode);
vc_state_e state;
if (0 != vc_mgr_client_get_client_state(g_vc_m, &state)) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_mgr_client_get_service_state(g_vc_m, &service_state);
if (service_state != VC_SERVICE_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: service state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
return ret;
}
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Get recognition mode = %d", *mode);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Get recognition mode = %d", *mode);
return 0;
}
int vc_mgr_set_private_data(const char* key, const char* data)
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Set private data");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Set private data");
if (NULL == key) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid parameter");
vc_state_e state;
if (0 != vc_mgr_client_get_client_state(g_vc_m, &state)) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_mgr_client_get_service_state(g_vc_m, &service_state);
if (service_state != VC_SERVICE_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: service state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
SLOG(LOG_DEBUG, TAG_VCM, "[SUCCESS] Set domain");
}
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return 0;
}
int vc_mgr_get_private_data(const char* key, char** data)
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Get private data");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Get private data");
if (NULL == key || NULL == data) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid parameter");
vc_state_e state;
if (0 != vc_mgr_client_get_client_state(g_vc_m, &state)) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_mgr_client_get_service_state(g_vc_m, &service_state);
if (service_state != VC_SERVICE_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: service state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
temp = NULL;
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return 0;
}
int vc_mgr_set_domain(const char* domain)
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Set domain");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Set domain");
if (NULL == domain) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid parameter");
vc_state_e state;
if (0 != vc_mgr_client_get_client_state(g_vc_m, &state)) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_mgr_client_get_service_state(g_vc_m, &service_state);
if (service_state != VC_SERVICE_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: service state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
SLOG(LOG_DEBUG, TAG_VCM, "[SUCCESS] Set domain");
}
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return 0;
}
int vc_mgr_do_action(vc_send_event_type_e type, char* send_event)
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] do action");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] do action");
if (NULL == send_event) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid parameter");
vc_state_e state;
if (0 != vc_mgr_client_get_client_state(g_vc_m, &state)) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_mgr_client_get_service_state(g_vc_m, &service_state);
if (service_state != VC_SERVICE_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: service state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
SLOG(LOG_DEBUG, TAG_VCM, "[SUCCESS] do action");
}
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return 0;
}
int vc_mgr_start(bool exclusive_command_option)
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Request start");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Request start");
vc_state_e state;
if (0 != vc_mgr_client_get_client_state(g_vc_m, &state)) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_mgr_client_get_service_state(g_vc_m, &service_state);
if (service_state != VC_SERVICE_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: service state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
g_prev_volume_db = 0;
g_cur_volume_db = 0;
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return ret;
}
int vc_mgr_stop()
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Request stop");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Request stop");
vc_state_e state;
if (0 != vc_mgr_client_get_client_state(g_vc_m, &state)) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: client state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_mgr_client_get_service_state(g_vc_m, &service_state);
if (service_state != VC_SERVICE_STATE_RECORDING) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: service state is not 'RECORDING'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
}
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return ret;
}
int vc_mgr_cancel()
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Request cancel");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Request cancel");
vc_state_e state;
if (0 != vc_mgr_client_get_client_state(g_vc_m, &state)) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: client state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_mgr_client_get_service_state(g_vc_m, &service_state);
if (service_state == VC_SERVICE_STATE_NONE) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_mgr_client_set_exclusive_command(g_vc_m, false);
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return ret;
}
int vc_mgr_set_selected_results(vc_cmd_list_h vc_cmd_list)
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Select result");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Select result");
/* Do not check state for 'restart continusly' mode */
if (VC_RECOGNITION_MODE_RESTART_CONTINUOUSLY != recognition_mode) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: service state is not 'PROCESSING' and mode is not 'Restart continously'");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return VC_ERROR_INVALID_STATE;
}
}
vc_mgr_client_unset_all_result(g_vc_m);
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return 0;
}
int vc_mgr_get_error_message(char** err_msg)
{
- SLOG(LOG_DEBUG, TAG_VCM, "===== [Manager] Get error message");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ [Manager] Get error message");
if (NULL == err_msg) {
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] invalid parameter");
SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Fail to get error message");
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
return ret;
}
snprintf(if_name, 64, "%s", VC_MANAGER_SERVICE_INTERFACE);
if (dbus_message_is_method_call(msg, if_name, VCD_MANAGER_METHOD_HELLO)) {
- SLOG(LOG_DEBUG, TAG_VCM, "===== Get Hello");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ Get Hello");
int pid = 0;
int response = -1;
}
if (pid > 0) {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc mgr get hello : pid(%d) ", pid);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr get hello : pid(%d) ", pid);
response = 1;
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc mgr get hello : invalid pid ");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr get hello : invalid pid ");
}
DBusMessage *reply = NULL;
dbus_message_append_args(reply, DBUS_TYPE_INT32, &response, DBUS_TYPE_INVALID);
if (!dbus_connection_send(g_m_conn_listener, reply, NULL))
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc get hello : fail to send reply");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc get hello : fail to send reply");
else
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc get hello : result(%d)", response);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc get hello : result(%d)", response);
dbus_connection_flush(g_m_conn_listener);
dbus_message_unref(reply);
} else {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc mgr get hello : fail to create reply message");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr get hello : fail to create reply message");
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
} /* VCD_METHOD_HELLO */
else if (dbus_message_is_signal(msg, if_name, VCD_MANAGER_METHOD_SET_VOLUME)) {
}
if (10 == g_volume_count) {
- SLOG(LOG_DEBUG, TAG_VCM, "===== Set volume");
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc mgr set volume : volume(%f)", volume);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ Set volume");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr set volume : volume(%f)", volume);
g_volume_count = 0;
}
dbus_error_free(&err);
}
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< state changed : %d", state);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ state changed : %d", state);
__vc_mgr_cb_service_state(state);
} /* VCD_MANAGER_METHOD_SET_SERVICE_STATE */
else if (dbus_message_is_method_call(msg, if_name, VCD_MANAGER_METHOD_SPEECH_DETECTED)) {
- SLOG(LOG_DEBUG, TAG_VCM, "===== Get Speech detected");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ Get Speech detected");
__vc_mgr_cb_speech_detected();
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
} /* VCD_MANAGER_METHOD_SPEECH_DETECTED */
else if (dbus_message_is_method_call(msg, if_name, VCD_MANAGER_METHOD_ALL_RESULT)) {
- SLOG(LOG_DEBUG, TAG_VCM, "===== Get All Result");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ Get All Result");
int result_type = 0;
dbus_message_get_args(msg, &err, DBUS_TYPE_INT32, &result_type, DBUS_TYPE_INVALID);
__vc_mgr_cb_all_result((vc_result_type_e)result_type);
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
} /* VCD_MANAGER_METHOD_ALL_RESULT */
else if (dbus_message_is_method_call(msg, if_name, VCD_MANAGER_METHOD_PRE_RESULT)) {
- SLOG(LOG_DEBUG, TAG_VCM, "===== Get Pre Result");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ Get Pre Result");
int event;
char* pre_result = NULL;
__vc_mgr_cb_pre_result((vc_pre_result_event_e)event, pre_result);
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
} /* VCD_MANAGER_METHOD_PRE_RESULT */
else if (dbus_message_is_method_call(msg, if_name, VCD_MANAGER_METHOD_RESULT)) {
- SLOG(LOG_DEBUG, TAG_VCM, "===== Get System Result");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ Get System Result");
__vc_mgr_cb_system_result();
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
} /* VCD_MANAGER_METHOD_RESULT */
else if (dbus_message_is_signal(msg, if_name, VCC_MANAGER_METHOD_SET_FOREGROUND)) {
- SLOG(LOG_DEBUG, TAG_VCM, "===== Set foreground");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ Set foreground");
int pid = 0;
int value = 0;
dbus_error_free(&err);
}
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< foreground changed : pid(%d) value(%s)", pid, value ? "true" : "false");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ foreground changed : pid(%d) value(%s)", pid, value ? "true" : "false");
__vc_mgr_cb_set_foreground(pid, (bool)value);
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
} /* VCC_MANAGER_METHOD_SET_FOREGROUND */
else if (dbus_message_is_method_call(msg, if_name, VCD_MANAGER_METHOD_DIALOG)) {
- SLOG(LOG_DEBUG, TAG_VCM, "===== Request Dialog");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ Request Dialog");
int pid = -1;
char* disp_text = NULL;
char* utt_text = NULL;
__vc_mgr_cb_dialog(pid, disp_text, utt_text, (bool)tmp_continue);
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
} /* VCD_MANAGER_METHOD_ALL_RESULT */
else if (dbus_message_is_signal(msg, if_name, VCD_MANAGER_METHOD_ERROR)) {
- SLOG(LOG_DEBUG, TAG_VCM, "===== Get Error");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ Get Error");
int reason;
int daemon_pid;
char* err_msg = NULL;
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc mgr Get Error message : Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr Get Error message : Get arguments error (%s)", err.message);
dbus_error_free(&err);
} else {
char* temp_msg = NULL;
if (NULL != err_msg && strcmp("#NULL", err_msg)) {
temp_msg = strdup(err_msg);
}
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc mgr Get Error message : reason(%d), daemon_pid(%d), msg(%s)", reason, daemon_pid, temp_msg);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr Get Error message : reason(%d), daemon_pid(%d), msg(%s)", reason, daemon_pid, temp_msg);
__vc_mgr_cb_error(reason, daemon_pid, temp_msg);
if (NULL != temp_msg) {
free(temp_msg);
}
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
} /* VCD_MANAGER_METHOD_ERROR */
else if (dbus_message_is_method_call(msg, if_name, VCD_MANAGER_METHOD_SET_PRIVATE_DATA)) {
- SLOG(LOG_DEBUG, TAG_VCM, "===== Get request set private data");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ Get request set private data");
int pid = 0;
int ret = -1;
char* key = NULL;
}
if (pid > 0) {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc mgr get request set private data : pid(%d) ", pid);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr get request set private data : pid(%d) ", pid);
ret = __vc_mgr_cb_private_data_set(key, data);
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc mgr get requset set private data : invalid pid ");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr get requset set private data : invalid pid ");
}
DBusMessage *reply = NULL;
dbus_message_append_args(reply, DBUS_TYPE_INT32, &ret, DBUS_TYPE_INVALID);
if (!dbus_connection_send(g_m_conn_listener, reply, NULL))
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc get request set private data : fail to send reply");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc get request set private data : fail to send reply");
else
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc get request set private data : result(%d)", ret);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc get request set private data : result(%d)", ret);
dbus_connection_flush(g_m_conn_listener);
dbus_message_unref(reply);
} else {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc mgr get request set private data : fail to create reply message");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr get request set private data : fail to create reply message");
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
} /* VCD_MANAGER_METHOD_SET_PRIVATE_DATA */
else if (dbus_message_is_method_call(msg, if_name, VCD_MANAGER_METHOD_GET_PRIVATE_DATA)) {
- SLOG(LOG_DEBUG, TAG_VCM, "===== Get request get private data");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ Get request get private data");
int pid = 0;
int ret = -1;
char* key = NULL;
}
if (pid > 0) {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc mgr get request get private data : pid(%d) ", pid);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr get request get private data : pid(%d) ", pid);
ret = __vc_mgr_cb_private_data_requested(key, &temp);
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc mgr get request get private data : invalid pid ");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr get request get private data : invalid pid ");
}
DBusMessage *reply = NULL;
dbus_message_append_args(reply, DBUS_TYPE_INT32, &ret, DBUS_TYPE_STRING, &temp, DBUS_TYPE_INVALID);
if (!dbus_connection_send(g_m_conn_listener, reply, NULL))
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc get request get private data : fail to send reply");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc get request get private data : fail to send reply");
else
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc get request get private data : result(%d)", ret);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc get request get private data : result(%d)", ret);
dbus_connection_flush(g_m_conn_listener);
dbus_message_unref(reply);
} else {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc mgr get request get private data : fail to create reply message");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr get request get private data : fail to create reply message");
}
if (NULL != temp) free(temp);
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
} /* VCD_MANAGER_METHOD_GET_PRIVATE_DATA */
/* Authority */
else if (dbus_message_is_method_call(msg, if_name, VC_METHOD_AUTH_ENABLE)) {
- SLOG(LOG_DEBUG, TAG_VCM, "===== Get request auth enable");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ Get request auth enable");
int pid;
int ret = 0;
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc mgr request auth enable : Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr request auth enable : Get arguments error (%s)", err.message);
dbus_error_free(&err);
} else {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc mgr request auth enable : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr request auth enable : pid(%d)", pid);
ret = __vc_mgr_request_auth_enable(pid);
}
DBUS_TYPE_INT32, &ret,
DBUS_TYPE_INVALID);
if (!dbus_connection_send(g_m_conn_listener, reply, NULL))
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc mgr request auth enable : fail to send reply");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr request auth enable : fail to send reply");
else
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc mgr request auth enable : ret(%d)", ret);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr request auth enable : ret(%d)", ret);
dbus_connection_flush(g_m_conn_listener);
dbus_message_unref(reply);
} else {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc mgr request auth enable : fail to create reply message");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr request auth enable : fail to create reply message");
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
} /* VC_METHOD_AUTH_ENABLE */
else if (dbus_message_is_method_call(msg, if_name, VC_METHOD_AUTH_DISABLE)) {
- SLOG(LOG_DEBUG, TAG_VCM, "===== Get request auth disable");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ Get request auth disable");
int pid;
int ret = 0;
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc mgr request auth disable : Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr request auth disable : Get arguments error (%s)", err.message);
dbus_error_free(&err);
} else {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc mgr request auth disable : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr request auth disable : pid(%d)", pid);
ret = __vc_mgr_request_auth_disable(pid);
}
DBUS_TYPE_INT32, &ret,
DBUS_TYPE_INVALID);
if (!dbus_connection_send(g_m_conn_listener, reply, NULL))
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc mgr request auth disable : fail to send reply");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr request auth disable : fail to send reply");
else
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc mgr request auth disable : ret(%d)", ret);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr request auth disable : ret(%d)", ret);
dbus_connection_flush(g_m_conn_listener);
dbus_message_unref(reply);
} else {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc mgr request auth disable : fail to create reply message");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr request auth disable : fail to create reply message");
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
} /* VC_METHOD_AUTH_DISABLE */
else if (dbus_message_is_method_call(msg, if_name, VC_METHOD_AUTH_START)) {
- SLOG(LOG_DEBUG, TAG_VCM, "===== Get request auth start");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ Get request auth start");
int pid;
int ret = 0;
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc mgr request auth start : Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr request auth start : Get arguments error (%s)", err.message);
dbus_error_free(&err);
} else {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc mgr request auth start : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr request auth start : pid(%d)", pid);
ret = __vc_mgr_request_auth_start(pid);
}
DBUS_TYPE_INT32, &ret,
DBUS_TYPE_INVALID);
if (!dbus_connection_send(g_m_conn_listener, reply, NULL))
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc mgr request auth start : fail to send reply");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr request auth start : fail to send reply");
else
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc mgr request auth start : ret(%d)", ret);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr request auth start : ret(%d)", ret);
dbus_connection_flush(g_m_conn_listener);
dbus_message_unref(reply);
} else {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc mgr request auth start : fail to create reply message");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr request auth start : fail to create reply message");
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
} /* VC_METHOD_AUTH_START */
else if (dbus_message_is_method_call(msg, if_name, VC_METHOD_AUTH_STOP)) {
- SLOG(LOG_DEBUG, TAG_VCM, "===== Get request auth stop");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ Get request auth stop");
int pid;
int ret = 0;
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc mgr request auth stop : Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr request auth stop : Get arguments error (%s)", err.message);
dbus_error_free(&err);
} else {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc mgr request auth stop : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr request auth stop : pid(%d)", pid);
ret = __vc_mgr_request_auth_stop(pid);
}
DBUS_TYPE_INT32, &ret,
DBUS_TYPE_INVALID);
if (!dbus_connection_send(g_m_conn_listener, reply, NULL))
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc mgr request auth stop : fail to send reply");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr request auth stop : fail to send reply");
else
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc mgr request auth stop : ret(%d)", ret);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr request auth stop : ret(%d)", ret);
dbus_connection_flush(g_m_conn_listener);
dbus_message_unref(reply);
} else {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc mgr request auth stop : fail to create reply message");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr request auth stop : fail to create reply message");
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
} /* VC_METHOD_AUTH_STOP */
else if (dbus_message_is_method_call(msg, if_name, VC_METHOD_AUTH_CANCEL)) {
- SLOG(LOG_DEBUG, TAG_VCM, "===== Get request auth cancel");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ Get request auth cancel");
int pid;
int ret = 0;
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc mgr request auth cancel : Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr request auth cancel : Get arguments error (%s)", err.message);
dbus_error_free(&err);
} else {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc mgr request auth cancel : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr request auth cancel : pid(%d)", pid);
ret = __vc_mgr_request_auth_cancel(pid);
}
DBUS_TYPE_INT32, &ret,
DBUS_TYPE_INVALID);
if (!dbus_connection_send(g_m_conn_listener, reply, NULL))
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc request auth cancel : fail to send reply");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc request auth cancel : fail to send reply");
else
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc request auth cancel : ret(%d)", ret);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc request auth cancel : ret(%d)", ret);
dbus_connection_flush(g_m_conn_listener);
dbus_message_unref(reply);
} else {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc mgr request auth cancel : fail to create reply message");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr request auth cancel : fail to create reply message");
}
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
} /* VC_METHOD_AUTH_CANCEL */
else if (dbus_message_is_signal(msg, "org.freedesktop.DBus", "NameOwnerChanged")) {
- SLOG(LOG_DEBUG, TAG_VCM, "===== Owner Changed");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@ Owner Changed");
/* remove a rule for daemon error */
DBusError err;
/* initialise the error value */
dbus_error_free(&err);
}
__vc_mgr_cb_error(VC_ERROR_SERVICE_RESET, -1, "Daemon Reset");
- SLOG(LOG_DEBUG, TAG_VCM, "=====");
- SLOG(LOG_DEBUG, TAG_VCM, " ");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@@");
} /* NameOwnerChanged */
else {
VC_METHOD_HELLO);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> Request vc hello : Fail to make message");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ Request vc hello : Fail to make message");
return VC_ERROR_OPERATION_FAILED;
}
VC_MANAGER_METHOD_INITIALIZE);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc mgr initialize : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr initialize : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc mgr initialize : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr initialize : pid(%d)", pid);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_error_free(&err);
}
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc mgr initialize : result = %d, service state = %d, foreground = %d, daemon_pid = %d",
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr initialize : result = %d, service state = %d, foreground = %d, daemon_pid = %d",
result, *service_state, *foreground, *daemon_pid);
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc mgr initialize : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr initialize : result = %d", result);
}
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< Result message is NULL ");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ Result message is NULL ");
vc_mgr_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_MANAGER_METHOD_FINALIZE);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc mgr finalize : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr finalize : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc mgr finalize : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr finalize : pid(%d)", pid);
}
dbus_message_append_args(msg, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INVALID);
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc mgr finalize : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr finalize : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc mgr finalize : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr finalize : result = %d", result);
}
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< Result message is NULL ");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ Result message is NULL ");
vc_mgr_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_MANAGER_METHOD_SET_COMMAND);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc mgr set command : Fail to make message");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr set command : Fail to make message");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc mgr set command : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr set command : pid(%d)", pid);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc mgr set command : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr set command : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc mgr set command : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr set command : result = %d", result);
}
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< Result message is NULL");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ Result message is NULL");
vc_mgr_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_MANAGER_METHOD_UNSET_COMMAND);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc mgr unset command : Fail to make message");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr unset command : Fail to make message");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc mgr unset command : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr unset command : pid(%d)", pid);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc mgr unset command : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr unset command : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc mgr unset command : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr unset command : result = %d", result);
}
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< Result message is NULL");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ Result message is NULL");
vc_mgr_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_MANAGER_METHOD_SET_DEMANDABLE);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc mgr set demandable client : Fail to make message");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr set demandable client : Fail to make message");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc mgr set demandable client : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr set demandable client : pid(%d)", pid);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc mgr set demandable client : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr set demandable client : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc mgr set demandable client : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr set demandable client : result = %d", result);
}
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< Result message is NULL");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ Result message is NULL");
vc_mgr_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_MANAGER_METHOD_SET_AUDIO_TYPE);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc mgr set audio type : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr set audio type : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc mgr set audio type : pid(%d), audio type(%s)", pid, audio_type);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr set audio type : pid(%d), audio type(%s)", pid, audio_type);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc mgr set audio type : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr set audio type : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc mgr set audio type : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr set audio type : result = %d", result);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< Result Message is NULL");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ Result Message is NULL");
vc_mgr_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_MANAGER_METHOD_GET_AUDIO_TYPE);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc mgr get audio type : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr get audio type : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc mgr get audio type : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr get audio type : pid(%d)", pid);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
if (NULL != audio_type && NULL != temp) {
*audio_type = strdup(temp);
}
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc mgr get audio type : result = %d audio type = %s", result, temp);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr get audio type : result = %d audio type = %s", result, temp);
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc mgr get audio type : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr get audio type : result = %d", result);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< Result Message is NULL");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ Result Message is NULL");
vc_mgr_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_MANAGER_METHOD_SET_PRIVATE_DATA); /* name of the signal */
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc set private data : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc set private data : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc set private data : pid(%d), data(%s)", pid, data);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc set private data : pid(%d), data(%s)", pid, data);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc set private data : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc set private data : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc set private data : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc set private data : result = %d", result);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< Result Message is NULL");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ Result Message is NULL");
vc_mgr_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_MANAGER_METHOD_GET_PRIVATE_DATA);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc mgr get private data : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr get private data : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc mgr get private data : pid(%d), key(%s)", pid, key);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr get private data : pid(%d), key(%s)", pid, key);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
if (NULL != data && NULL != temp) {
*data = strdup(temp);
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc mgr get private data : result = %d private data = %s", result, *data);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr get private data : result = %d private data = %s", result, *data);
}
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc mgr get private data : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr get private data : result = %d", result);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< Result Message is NULL");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ Result Message is NULL");
vc_mgr_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_MANAGER_METHOD_SET_CLIENT_INFO);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc mgr set client info : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr set client info : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc mgr set client info : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr set client info : pid(%d)", pid);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc mgr set client info : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr set client info : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc mgr set client info : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr set client info : result = %d", result);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< Result Message is NULL");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ Result Message is NULL");
vc_mgr_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_MANAGER_METHOD_SET_DOMAIN); /* name of the signal */
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc set domain : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc set domain : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc set domain : pid(%d), domain(%s)", pid, domain);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc set domain : pid(%d), domain(%s)", pid, domain);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc set domain : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc set domain : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc set domain : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc set domain : result = %d", result);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< Result Message is NULL");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ Result Message is NULL");
vc_mgr_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_MANAGER_METHOD_DO_ACTION); /* name of the signal */
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc set domain : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc set domain : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc set domain : pid(%d), type(%d), send_event(%s)", pid, type, send_event);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc set domain : pid(%d), type(%d), send_event(%s)", pid, type, send_event);
}
dbus_message_append_args(msg,
VC_MANAGER_METHOD_START);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc mgr start : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr start : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc mgr start : pid(%d), recognition_mode(%d) exclusive(%d) start by client(%d)",
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr start : pid(%d), recognition_mode(%d) exclusive(%d) start by client(%d)",
pid, recognition_mode, exclusive_command_option, start_by_client);
}
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc mgr start : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr start : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc mgr start : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr start : result = %d", result);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< Result Message is NULL");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ Result Message is NULL");
vc_mgr_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_MANAGER_METHOD_STOP);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc mgr stop : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr stop : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc mgr stop : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr stop : pid(%d)", pid);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc mgr stop : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc mgr stop : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc mgr stop : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc mgr stop : result = %d", result);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< Result Message is NULL");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ Result Message is NULL");
vc_mgr_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_MANAGER_METHOD_CANCEL); /* name of the signal */
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc cancel : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc cancel : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc cancel : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc cancel : pid(%d)", pid);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc cancel : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc cancel : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc cancel : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc cancel : result = %d", result);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< Result Message is NULL");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ Result Message is NULL");
vc_mgr_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_MANAGER_METHOD_ENABLE_COMMAND_TYPE); /* name of the signal */
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc enable command type : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc enable command type : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc enable command type : pid(%d) type(%d)", pid, cmd_type);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc enable command type : pid(%d) type(%d)", pid, cmd_type);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc enable command type : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc enable command type : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc enable command type : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc enable command type : result = %d", result);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< Result Message is NULL");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ Result Message is NULL");
vc_mgr_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_MANAGER_METHOD_DISABLE_COMMAND_TYPE); /* name of the signal */
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc disable command type : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc disable command type : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc disable command type : pid(%d) type(%d)", pid, cmd_type);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc disable command type : pid(%d) type(%d)", pid, cmd_type);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< vc disable command type : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc disable command type : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCM, "<<<< vc disable command type : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc disable command type : result = %d", result);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCM, "<<<< Result Message is NULL");
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ Result Message is NULL");
vc_mgr_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_MANAGER_METHOD_RESULT_SELECTION); /* name of the signal */
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCM, ">>>> vc result selection : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCM, "@@ vc result selection : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCM, ">>>> vc result selection : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCM, "@@ vc result selection : pid(%d)", pid);
}
dbus_message_append_args(msg,
int vc_setting_initialize(void)
{
- SLOG(LOG_DEBUG, TAG_VCS, "===== Initialize VC Setting");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@ Initialize VC Setting");
if (VC_SETTING_STATE_READY == g_state) {
SLOG(LOG_WARN, TAG_VCS, "[WARNING] VC Setting has already been initialized.");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_NONE;
}
int ret = vc_config_mgr_initialize(getpid() + VC_SETTING_CONFIG_HANDLE);
if (0 != ret) {
SLOG(LOG_ERROR, TAG_VCS, "[ERROR] Fail to initialize config manager");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_OPERATION_FAILED;
}
ret = vc_config_mgr_set_lang_cb(getpid() + VC_SETTING_CONFIG_HANDLE, __config_lang_changed_cb);
if (0 != ret) {
SLOG(LOG_ERROR, TAG_VCS, "[ERROR] Fail to initialize config manager");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
vc_config_mgr_finalize(getpid() + VC_SETTING_CONFIG_HANDLE);
return VC_ERROR_OPERATION_FAILED;
}
g_state = VC_SETTING_STATE_READY;
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_NONE;
}
int vc_setting_deinitialize()
{
- SLOG(LOG_DEBUG, TAG_VCS, "===== Deinitialize VC Setting");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@ Deinitialize VC Setting");
if (VC_SETTING_STATE_READY != g_state) {
SLOG(LOG_WARN, TAG_VCS, "[WARNING] VC Setting is not initialized");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_INVALID_STATE;
}
g_state = VC_SETTING_STATE_NONE;
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_NONE;
}
int vc_setting_foreach_supported_languages(vc_setting_supported_language_cb callback, void* user_data)
{
- SLOG(LOG_DEBUG, TAG_VCS, "===== Foreach supported languages");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@ Foreach supported languages");
if (VC_SETTING_STATE_NONE == g_state) {
SLOG(LOG_ERROR, TAG_VCS, "[ERROR] Not initialized");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_INVALID_STATE;
}
if (NULL == callback) {
SLOG(LOG_ERROR, TAG_VCS, "[ERROR] Param is NULL");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_INVALID_PARAMETER;
}
SLOG(LOG_DEBUG, TAG_VCS, "[SUCCESS] Foreach supported languages");
}
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return ret;
}
int vc_setting_get_language(char** language)
{
- SLOG(LOG_DEBUG, TAG_VCS, "===== Get default language");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@ Get default language");
if (VC_SETTING_STATE_NONE == g_state) {
SLOG(LOG_ERROR, TAG_VCS, "[ERROR] Not initialized");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_INVALID_STATE;
}
if (NULL == language) {
SLOG(LOG_ERROR, TAG_VCS, "[ERROR] Input parameter is NULL");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_INVALID_PARAMETER;
}
SLOG(LOG_DEBUG, TAG_VCS, "[SUCCESS] Get default language");
}
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return ret;
}
int vc_setting_set_language(const char* language)
{
- SLOG(LOG_DEBUG, TAG_VCS, "===== Set default language");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@ Set default language");
if (VC_SETTING_STATE_NONE == g_state) {
SLOG(LOG_ERROR, TAG_VCS, "[ERROR] Not initialized");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_INVALID_STATE;
}
if (NULL == language) {
SLOG(LOG_ERROR, TAG_VCS, "[ERROR] Input parameter is NULL");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_INVALID_PARAMETER;
}
SLOG(LOG_DEBUG, TAG_VCS, "[SUCCESS] Set default language");
}
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return ret;
}
int vc_setting_set_auto_language(bool value)
{
- SLOG(LOG_DEBUG, TAG_VCS, "===== Set auto voice");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@ Set auto voice");
if (VC_SETTING_STATE_NONE == g_state) {
SLOG(LOG_ERROR, TAG_VCS, "[ERROR] Not initialized");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_INVALID_STATE;
}
if (value != true && value != false) {
SLOG(LOG_ERROR, TAG_VCS, "[ERROR] Invalid value");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_INVALID_PARAMETER;
}
SLOG(LOG_DEBUG, TAG_VCS, "[SUCCESS] Set auto language (%s)", value ? "on" : "off");
}
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return ret;
}
int vc_setting_get_auto_language(bool* value)
{
- SLOG(LOG_DEBUG, TAG_VCS, "===== Get auto language");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@ Get auto language");
if (VC_SETTING_STATE_NONE == g_state) {
SLOG(LOG_ERROR, TAG_VCS, "[ERROR] Not initialized");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_INVALID_STATE;
}
if (NULL == value) {
SLOG(LOG_ERROR, TAG_VCS, "[ERROR] Param is NULL");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_INVALID_PARAMETER;
}
SLOG(LOG_DEBUG, TAG_VCS, "[SUCCESS] Get auto language (%s)", *value ? "true" : "false");
}
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return 0;
}
int vc_setting_set_enabled(bool value)
{
- SLOG(LOG_DEBUG, TAG_VCS, "===== Set service enabled");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@ Set service enabled");
if (VC_SETTING_STATE_NONE == g_state) {
SLOG(LOG_ERROR, TAG_VCS, "[ERROR] Not initialized");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_INVALID_STATE;
}
if (value != true && value != false) {
SLOG(LOG_ERROR, TAG_VCS, "[ERROR] Invalid value");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_INVALID_PARAMETER;
}
SLOG(LOG_DEBUG, TAG_VCS, "[SUCCESS] Set service enabled (%s)", value ? "on" : "off");
}
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return ret;
}
int vc_setting_get_enabled(bool* value)
{
- SLOG(LOG_DEBUG, TAG_VCS, "===== Get service enabled");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@ Get service enabled");
if (VC_SETTING_STATE_NONE == g_state) {
SLOG(LOG_ERROR, TAG_VCS, "[ERROR] Not initialized");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_INVALID_STATE;
}
if (NULL == value) {
SLOG(LOG_ERROR, TAG_VCS, "[ERROR] Param is NULL");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_INVALID_PARAMETER;
}
SLOG(LOG_DEBUG, TAG_VCS, "[SUCCESS] Get service enabled (%s)", *value ? "on" : "off");
}
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return ret;
}
int vc_setting_set_enabled_changed_cb(vc_setting_enabled_changed_cb callback, void* user_data)
{
- SLOG(LOG_DEBUG, TAG_VCS, "===== Set service enabled callback");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@ Set service enabled callback");
if (VC_SETTING_STATE_NONE == g_state) {
SLOG(LOG_ERROR, TAG_VCS, "[ERROR] Not initialized");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_INVALID_STATE;
}
if (NULL == callback) {
SLOG(LOG_ERROR, TAG_VCS, "[ERROR] Param is NULL");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_INVALID_PARAMETER;
}
g_callback = callback;
g_user_data = user_data;
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return 0;
}
int vc_setting_unset_enabled_changed_cb()
{
- SLOG(LOG_DEBUG, TAG_VCS, "===== Unset service enabled callback");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@ Unset service enabled callback");
if (VC_SETTING_STATE_NONE == g_state) {
SLOG(LOG_ERROR, TAG_VCS, "[ERROR] Not initialized");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_INVALID_STATE;
}
g_callback = NULL;
g_user_data = NULL;
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return 0;
}
int vc_setting_set_current_language_changed_cb(vc_setting_current_language_changed_cb callback, void* user_data)
{
- SLOG(LOG_DEBUG, TAG_VCS, "===== Set current language changed callback");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@ Set current language changed callback");
if (VC_SETTING_STATE_NONE == g_state) {
SLOG(LOG_ERROR, TAG_VCS, "[ERROR] Not initialized");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_INVALID_STATE;
}
if (NULL == callback) {
SLOG(LOG_ERROR, TAG_VCS, "[ERROR] Param is NULL");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_INVALID_PARAMETER;
}
g_lang_callback = callback;
g_lang_user_data = user_data;
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return 0;
}
int vc_setting_unset_current_language_changed_cb()
{
- SLOG(LOG_DEBUG, TAG_VCS, "===== Unset current language changed callback");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@ Unset current language changed callback");
if (VC_SETTING_STATE_NONE == g_state) {
SLOG(LOG_ERROR, TAG_VCS, "[ERROR] Not initialized");
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return VC_ERROR_INVALID_STATE;
}
g_lang_callback = NULL;
g_lang_user_data = NULL;
- SLOG(LOG_DEBUG, TAG_VCS, "=====");
- SLOG(LOG_DEBUG, TAG_VCS, " ");
+ SLOG(LOG_DEBUG, TAG_VCS, "@@@");
return 0;
}
int vc_widget_initialize(vc_h* vc_w)
{
- SLOG(LOG_DEBUG, TAG_VCW, "===== [Widget] Initialize");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Initialize");
if (NULL == vc_w) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
SLOG(LOG_DEBUG, TAG_VCW, "[Success] uid(%d)", (*vc_w)->handle);
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_NONE;
}
int vc_widget_deinitialize(vc_h vc_w)
{
- SLOG(LOG_DEBUG, TAG_VCW, "===== [Widget] Deinitialize");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Deinitialize");
if (false == vc_widget_client_is_valid(vc_w)) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] NOT initialized");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
}
}
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_NONE;
}
static Eina_Bool __focus_changed_cb(void *data, int type, void *event)
{
- SLOG(LOG_DEBUG, TAG_VCW, "===== Focus changed");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ Focus changed");
int ret;
if (ECORE_WL_EVENT_FOCUS_IN == type) {
- SLOG(LOG_DEBUG, TAG_VCW, "===== Set foreground");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ Set foreground");
ret = vc_widget_dbus_set_foreground(getpid(), true);
if (0 != ret) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Fail to set foreground (true) : %d", ret);
}
} else if (ECORE_WL_EVENT_FOCUS_OUT == type) {
- SLOG(LOG_DEBUG, TAG_VCW, "===== Set background");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ Set background");
ret = vc_widget_dbus_set_foreground(getpid(), false);
if (0 != ret) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Fail to set foreground (false) : %d", ret);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCW, "===== type(%d) is NOT valid", type);
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ type(%d) is NOT valid", type);
}
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
SLOG(LOG_DEBUG, TAG_VCW, "");
return ECORE_CALLBACK_RENEW;
return EINA_TRUE;
}
- SLOG(LOG_DEBUG, TAG_VCW, "===== [Widget] Connect daemon");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Connect daemon");
vc_widget_s* widget = widget_get(vc_w);
if (NULL != widget) {
vc_widget_client_set_error(vc_w, VC_ERROR_ENGINE_NOT_FOUND);
ecore_timer_add(0, __vc_widget_notify_error, vc_w);
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return EINA_FALSE;
} else if (VC_ERROR_INVALID_PARAMETER == ret) {
vc_widget_client_set_error(vc_w, VC_ERROR_TIMED_OUT);
ecore_timer_add(0, __vc_widget_notify_error, vc_w);
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return EINA_FALSE;
}
int status = aul_app_get_status(appid);
if (status == STATUS_FOCUS) {
- SLOG(LOG_DEBUG, TAG_VCW, "===== Set foreground");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ Set foreground");
ret = vc_widget_dbus_set_foreground(getpid(), true);
if (0 != ret) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Fail to set foreground (true) : %d", ret);
vc_widget_client_set_state(vc_w, VC_STATE_READY);
ecore_timer_add(0, __vc_widget_notify_state_changed, vc_w);
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return EINA_FALSE;
}
int vc_widget_prepare(vc_h vc_w)
{
- SLOG(LOG_DEBUG, TAG_VCW, "===== [Widget] Prepare");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Prepare");
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_INITIALIZED) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Invalid State: Current state is not 'Initialized'");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_widget_s* widget = widget_get(vc_w);
if (NULL == widget) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Fail to get widget handle");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
widget->conn_timer = ecore_timer_add(0, __vc_widget_connect_daemon, (void*)vc_w);
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_NONE;
}
int vc_widget_unprepare(vc_h vc_w)
{
- SLOG(LOG_DEBUG, TAG_VCW, "===== [Widget] Unprepare");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Unprepare");
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_widget_client_set_state(vc_w, VC_STATE_INITIALIZED);
ecore_timer_add(0, __vc_widget_notify_state_changed, vc_w);
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_NONE;
}
int vc_widget_enable_asr_result(vc_h vc_w, bool enable)
{
- SLOG(LOG_DEBUG, TAG_VCW, "===== [Widget] Enable asr result");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Enable asr result");
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_widget_client_set_asr_result_enabled(vc_w, enable);
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return ret;
}
int vc_widget_foreach_supported_languages(vc_h vc_w, vc_supported_language_cb callback, void* user_data)
{
- SLOG(LOG_DEBUG, TAG_VCW, "===== [Widget] Foreach Supported Language");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Foreach Supported Language");
if (NULL == callback) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_PARAMETER;
}
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Fail to get languages : %s", __vc_widget_get_error_code(ret));
}
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_NONE;
}
int vc_widget_get_current_language(vc_h vc_w, char** language)
{
- SLOG(LOG_DEBUG, TAG_VCW, "===== [Widget] Get Current Language");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Get Current Language");
if (NULL == language) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_PARAMETER;
}
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Fail to get current languages : %s", __vc_widget_get_error_code(ret));
}
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return ret;
}
int vc_widget_get_state(vc_h vc_w, vc_state_e* state)
{
- SLOG(LOG_DEBUG, TAG_VCW, "===== [Widget] Get State");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Get State");
if (NULL == state) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
vc_state_e temp;
if (0 != vc_widget_client_get_state(vc_w, &temp)) {
SLOG(LOG_DEBUG, TAG_VCW, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
default: SLOG(LOG_ERROR, TAG_VCW, "Invalid state");
}
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_NONE;
}
int vc_widget_get_service_state(vc_h vc_w, vc_service_state_e* state)
{
- SLOG(LOG_DEBUG, TAG_VCW, "===== [Widget] Get Service State");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Get Service State");
if (NULL == state) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
vc_state_e temp;
if (0 != vc_widget_client_get_state(vc_w, &temp)) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
if (temp != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
default: SLOG(LOG_ERROR, TAG_VCW, "Invalid service state");
}
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_NONE;
}
int vc_widget_set_foreground(vc_h vc_w, bool value)
{
- SLOG(LOG_DEBUG, TAG_VCW, "===== [Widget] Set foreground state");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Set foreground state");
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] A handle is not valid");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Fail to set foreground : %s", __vc_widget_get_error_code(ret));
}
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_NONE;
}
int vc_widget_is_format_supported(vc_h vc_w, vc_cmd_format_e format, bool* support)
{
- SLOG(LOG_DEBUG, TAG_VCW, "===== [Widget] Is command type supported");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Is command type supported");
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] A handle is not valid");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
SLOG(LOG_ERROR, TAG_VCW, "[DEBUG] Format(%d) support(%s)", format, *support ? "true" : "false");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_NONE;
}
#if 0
int vc_widget_start(bool stop_by_silence, vc_cmd_group_h vc_group)
{
- SLOG(LOG_DEBUG, TAG_VCW, "===== [Widget] Start");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Start");
vc_state_e state;
if (0 != vc_widget_client_get_state(g_vc_w, &state)) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_widget_client_get_service_state(g_vc_w, &service_state);
if (service_state != VC_SERVICE_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Invalid State: service state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
} while (0 != ret);
}
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_NONE;
}
#if 0
int vc_widget_stop()
{
- SLOG(LOG_DEBUG, TAG_VCW, "===== [Widget] Stop");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Stop");
vc_state_e state;
if (0 != vc_widget_client_get_state(g_vc_w, &state)) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_widget_client_get_service_state(g_vc_w, &service_state);
if (service_state != VC_SERVICE_STATE_RECORDING) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Invalid State: service state is not 'RECORDING'");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
int vc_widget_cancel(vc_h vc_w)
{
- SLOG(LOG_DEBUG, TAG_VCW, "===== [Widget] Cancel Recognition");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Cancel Recognition");
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] A handle is not available");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
/* check state */
if (state != VC_STATE_READY) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Invalid State: Current state is not 'READY'");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
vc_widget_client_get_service_state(vc_w, &service_state);
if (service_state != VC_SERVICE_STATE_RECORDING && service_state != VC_SERVICE_STATE_PROCESSING) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Invalid State: service state is not 'RECORDING' or 'PROCESSING'");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return VC_ERROR_INVALID_STATE;
}
}
} while (0 != ret);
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
return 0;
}
snprintf(if_name, 64, "%s", VC_WIDGET_SERVICE_INTERFACE);
if (dbus_message_is_method_call(msg, if_name, VCD_WIDGET_METHOD_HELLO)) {
- SLOG(LOG_DEBUG, TAG_VCW, "===== Get widget hello");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ Get widget hello");
int pid = 0;
int response = -1;
}
if (pid > 0) {
- SLOG(LOG_DEBUG, TAG_VCW, "<<<< vc widget get hello : pid(%d) ", pid);
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ vc widget get hello : pid(%d) ", pid);
response = 1;
} else {
- SLOG(LOG_ERROR, TAG_VCW, "<<<< vc widget get hello : invalid pid ");
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget get hello : invalid pid ");
}
DBusMessage* reply = NULL;
dbus_message_append_args(reply, DBUS_TYPE_INT32, &response, DBUS_TYPE_INVALID);
if (!dbus_connection_send(g_w_conn_listener, reply, NULL))
- SLOG(LOG_ERROR, TAG_VCW, ">>>> vc widget get hello : fail to send reply");
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget get hello : fail to send reply");
else
- SLOG(LOG_DEBUG, TAG_VCW, ">>>> vc widget get hello : result(%d)", response);
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ vc widget get hello : result(%d)", response);
dbus_connection_flush(g_w_conn_listener);
dbus_message_unref(reply);
} else {
- SLOG(LOG_ERROR, TAG_VCW, ">>>> vc widget get hello : fail to create reply message");
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget get hello : fail to create reply message");
}
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
} /* VCD_WIDGET_METHOD_HELLO */
else if (dbus_message_is_signal(msg, if_name, VCD_WIDGET_METHOD_SET_SERVICE_STATE)) {
dbus_error_free(&err);
}
- SLOG(LOG_DEBUG, TAG_VCW, "<<<< service state changed : %d", state);
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ service state changed : %d", state);
__vc_widget_cb_service_state(state);
} /* VCD_WIDGET_METHOD_SET_SERVICE_STATE */
else if (dbus_message_is_method_call(msg, if_name, VCD_WIDGET_METHOD_SHOW_TOOLTIP)) {
- SLOG(LOG_DEBUG, TAG_VCW, "===== Show / Hide tooltip");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ Show / Hide tooltip");
int pid = 0;
int show = 0;
}
if (pid > 0) {
- SLOG(LOG_DEBUG, TAG_VCW, "<<<< vc widget show tooltip : pid(%d), show(%d)", pid, show);
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ vc widget show tooltip : pid(%d), show(%d)", pid, show);
__vc_widget_cb_show_tooltip(pid, (bool)show);
} else {
- SLOG(LOG_ERROR, TAG_VCW, "<<<< vc widget show tooltip : invalid pid");
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget show tooltip : invalid pid");
}
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
} /* VCD_WIDGET_METHOD_SHOW_TOOLTIP */
else if (dbus_message_is_method_call(msg, if_name, VCD_WIDGET_METHOD_RESULT)) {
- SLOG(LOG_DEBUG, TAG_VCW, "===== Get widget result");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ Get widget result");
__vc_widget_cb_result();
if (NULL != reply) {
if (!dbus_connection_send(g_w_conn_listener, reply, NULL))
- SLOG(LOG_ERROR, TAG_VCW, ">>>> vc widget get result : fail to send reply");
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget get result : fail to send reply");
else
- SLOG(LOG_DEBUG, TAG_VCW, ">>>> vc widget get result");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ vc widget get result");
dbus_connection_flush(g_w_conn_listener);
dbus_message_unref(reply);
} else {
- SLOG(LOG_ERROR, TAG_VCW, ">>>> vc widget get result : fail to create reply message");
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget get result : fail to create reply message");
*/
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
} /* VCD_WIDGET_METHOD_RESULT */
else if (dbus_message_is_method_call(msg, if_name, VCD_WIDGET_METHOD_ASR_RESULT)) {
- SLOG(LOG_DEBUG, TAG_VCW, "===== Get widget asr result");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ Get widget asr result");
int ret = 0;
if (false == __vc_widget_cb_asr_result())
ret = 0;
if (NULL != reply) {
dbus_message_append_args(reply, DBUS_TYPE_INT32, &ret, DBUS_TYPE_INVALID);
if (!dbus_connection_send(g_w_conn_listener, reply, NULL))
- SLOG(LOG_ERROR, TAG_VCW, ">>>> vc widget get asr result : fail to send reply");
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget get asr result : fail to send reply");
else
- SLOG(LOG_DEBUG, TAG_VCW, ">>>> vc widget get asr result");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ vc widget get asr result");
dbus_connection_flush(g_w_conn_listener);
dbus_message_unref(reply);
} else {
- SLOG(LOG_ERROR, TAG_VCW, ">>>> vc widget asr get result : fail to create reply message");
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget asr get result : fail to create reply message");
}
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
} /* VCD_WIDGET_METHOD_ASR_RESULT */
else if (dbus_message_is_signal(msg, if_name, VCD_WIDGET_METHOD_ERROR)) {
- SLOG(LOG_DEBUG, TAG_VCW, "===== Get widget error");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ Get widget error");
int reason;
int daemon_pid;
char* err_msg;
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCW, "<<<< vc widget get error message : Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget get error message : Get arguments error (%s)", err.message);
dbus_error_free(&err);
} else {
- SLOG(LOG_DEBUG, TAG_VCW, "<<<< vc widget get error message : reason(%d), daemon_pid(%d), msg(%s)", reason, daemon_pid, err_msg);
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ vc widget get error message : reason(%d), daemon_pid(%d), msg(%s)", reason, daemon_pid, err_msg);
__vc_widget_cb_error(reason, daemon_pid, err_msg);
}
if (NULL != reply) {
if (!dbus_connection_send(g_w_conn_listener, reply, NULL))
- SLOG(LOG_ERROR, TAG_VCW, ">>>> vc widget error message : fail to send reply");
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget error message : fail to send reply");
else
- SLOG(LOG_DEBUG, TAG_VCW, ">>>> vc widget error message");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ vc widget error message");
dbus_connection_flush(g_w_conn_listener);
dbus_message_unref(reply);
} else {
- SLOG(LOG_ERROR, TAG_VCW, ">>>> vc widget error message : fail to create reply message");
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget error message : fail to create reply message");
}
*/
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
} /* VCD_WIDGET_METHOD_ERROR */
else if (dbus_message_is_signal(msg, "org.freedesktop.DBus", "NameOwnerChanged")) {
- SLOG(LOG_DEBUG, TAG_VCW, "===== Owner Changed");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@ Owner Changed");
DBusError err;
dbus_error_init(&err);
dbus_error_free(&err);
}
__vc_widget_cb_error(VC_ERROR_SERVICE_RESET, -1, "Daemon Reset");
- SLOG(LOG_DEBUG, TAG_VCW, "=====");
- SLOG(LOG_DEBUG, TAG_VCW, " ");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@@");
} /* NameOwnerChanged */
else {
VC_METHOD_HELLO);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCW, ">>>> Request vc hello : Fail to make message");
+ SLOG(LOG_ERROR, TAG_VCW, "@@ Request vc hello : Fail to make message");
return VC_ERROR_OPERATION_FAILED;
}
VC_WIDGET_METHOD_INITIALIZE);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCW, ">>>> vc widget initialize : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget initialize : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCW, ">>>> vc widget initialize : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ vc widget initialize : pid(%d)", pid);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCW, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCW, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
return VC_ERROR_OPERATION_FAILED;
}
- SLOG(LOG_DEBUG, TAG_VCW, "<<<< vc widget initialize : result = %d service = %d daemon_pid = %d", result, *service_state, *daemon_pid);
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ vc widget initialize : result = %d service = %d daemon_pid = %d", result, *service_state, *daemon_pid);
} else {
- SLOG(LOG_ERROR, TAG_VCW, "<<<< vc widget initialize : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget initialize : result = %d", result);
}
} else {
- SLOG(LOG_ERROR, TAG_VCW, "<<<< Result message is NULL ");
+ SLOG(LOG_ERROR, TAG_VCW, "@@ Result message is NULL ");
vc_widget_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_WIDGET_METHOD_FINALIZE);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCW, ">>>> vc widget finalize : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget finalize : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCW, ">>>> vc widget finalize : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ vc widget finalize : pid(%d)", pid);
}
dbus_message_append_args(msg, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INVALID);
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCW, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCW, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCW, "<<<< vc widget finalize : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ vc widget finalize : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCW, "<<<< vc widget finalize : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget finalize : result = %d", result);
}
} else {
- SLOG(LOG_ERROR, TAG_VCW, "<<<< Result message is NULL ");
+ SLOG(LOG_ERROR, TAG_VCW, "@@ Result message is NULL ");
vc_widget_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_WIDGET_METHOD_START_RECORDING);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCW, ">>>> vc widget start recording : Fail to make message");
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget start recording : Fail to make message");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCW, ">>>> vc widget start recording : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ vc widget start recording : pid(%d)", pid);
}
int temp = (int)command;
dbus_message_get_args(result_msg, &err, DBUS_TYPE_INT32, &result, DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCW, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCW, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCW, "<<<< vc widget start recording : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ vc widget start recording : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCW, "<<<< vc widget start recording : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget start recording : result = %d", result);
}
} else {
- SLOG(LOG_ERROR, TAG_VCW, "<<<< Result message is NULL");
+ SLOG(LOG_ERROR, TAG_VCW, "@@ Result message is NULL");
vc_widget_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VCC_MANAGER_METHOD_SET_FOREGROUND);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCW, ">>>> vc widget set foreground to manager : Fail to make message");
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget set foreground to manager : Fail to make message");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCW, ">>>> vc widget set foreground to manager : client pid(%d), value(%s)", pid, tmp_value ? "true" : "false");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ vc widget set foreground to manager : client pid(%d), value(%s)", pid, tmp_value ? "true" : "false");
}
dbus_message_append_args(msg,
VC_METHOD_SET_FOREGROUND);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCW, ">>>> vc widget set foreground to daemon : Fail to make message");
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget set foreground to daemon : Fail to make message");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCW, ">>>> vc widget set foreground to daemon : client pid(%d), value(%s)", pid, tmp_value ? "true" : "false");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ vc widget set foreground to daemon : client pid(%d), value(%s)", pid, tmp_value ? "true" : "false");
}
dbus_message_append_args(msg,
VC_WIDGET_METHOD_ENABLE_ASR_RESULT);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCW, ">>>> vc widget enable asr result : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget enable asr result : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCW, ">>>> vc widget enable asr result : pid(%d), enable(%d)", pid, enable);
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ vc widget enable asr result : pid(%d), enable(%d)", pid, enable);
}
DBusMessageIter args;
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCW, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCW, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCW, "<<<< vc widget enable asr result : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ vc widget enable asr result : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCW, "<<<< vc widget enable asr result : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget enable asr result : result = %d", result);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCW, "<<<< Result Message is NULL");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ Result Message is NULL");
vc_widget_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_WIDGET_METHOD_START);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCW, ">>>> vc widget start : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget start : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCW, ">>>> vc widget start : pid(%d), silence(%d)", pid, silence);
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ vc widget start : pid(%d), silence(%d)", pid, silence);
}
DBusMessageIter args;
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCW, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCW, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCW, "<<<< vc widget start : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ vc widget start : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCW, "<<<< vc widget start : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget start : result = %d", result);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCW, "<<<< Result Message is NULL");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ Result Message is NULL");
vc_widget_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_WIDGET_METHOD_STOP);
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCW, ">>>> vc widget stop : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget stop : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCW, ">>>> vc widget stop : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ vc widget stop : pid(%d)", pid);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCW, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCW, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCW, "<<<< vc widget stop : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ vc widget stop : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCW, "<<<< vc widget stop : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget stop : result = %d", result);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCW, "<<<< Result Message is NULL");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ Result Message is NULL");
vc_widget_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
VC_WIDGET_METHOD_CANCEL); /* name of the signal */
if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_VCW, ">>>> vc widget cancel : Fail to make message ");
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget cancel : Fail to make message ");
return VC_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCW, ">>>> vc widget cancel : pid(%d)", pid);
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ vc widget cancel : pid(%d)", pid);
}
dbus_message_append_args(msg,
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCW, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCW, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VC_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
if (0 == result) {
- SLOG(LOG_DEBUG, TAG_VCW, "<<<< vc widget cancel : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ vc widget cancel : result = %d", result);
} else {
- SLOG(LOG_ERROR, TAG_VCW, "<<<< vc widget cancel : result = %d", result);
+ SLOG(LOG_ERROR, TAG_VCW, "@@ vc widget cancel : result = %d", result);
}
} else {
- SLOG(LOG_DEBUG, TAG_VCW, "<<<< Result Message is NULL");
+ SLOG(LOG_DEBUG, TAG_VCW, "@@ Result Message is NULL");
vc_widget_dbus_reconnect();
result = VC_ERROR_TIMED_OUT;
}
}
SLOG(LOG_INFO, vc_db_tag(), "[SQL] INSERT INTO vc_info (id, pid(%d), type(%d), format(%d), domain(%d), command(%s)", pid, cmd->type, cmd->format, cmd->domain, cmd->command);
- SLOG(LOG_INFO, vc_db_tag(), "[SQL] ==== appid(%s), invocation(%s), fixed(%s)", cmd->appid, cmd->invocation_name, cmd->fixed);
+ SLOG(LOG_INFO, vc_db_tag(), "[SQL] @@ appid(%s), invocation(%s), fixed(%s)", cmd->appid, cmd->invocation_name, cmd->fixed);
sqlite3_reset(stmt);
sqlite3_clear_bindings(stmt);
char* temp = (char*)calloc(256, sizeof(char));
if (0 == strncasecmp(command, fixed, strlen(fixed))) {
strncpy(temp, command + strlen(fixed) + 1, strlen(command) - strlen(fixed) - 1);
- SLOG(LOG_WARN, vc_db_tag(), "==");
+ SLOG(LOG_WARN, vc_db_tag(), "@@@");
} else if (0 == strncasecmp(command + strlen(command) - strlen(fixed), fixed, strlen(fixed))) {
strncpy(temp, command, strlen(command) - strlen(fixed) - 1);
- SLOG(LOG_WARN, vc_db_tag(), "==");
+ SLOG(LOG_WARN, vc_db_tag(), "@@@");
}
SLOG(LOG_WARN, vc_db_tag(), "Command(%s) Fixed(%s) Unfixed(%s)", command, fixed, temp);
return VC_ERROR_PERMISSION_DENIED;
}
- SLOG(LOG_DEBUG, TAG_VCCMD, "===== Destroy all command");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@ Destroy all command");
if (NULL == vc_cmd_list) {
SLOG(LOG_ERROR, TAG_VCCMD, "[ERROR] Input parameter is NULL");
list->list = NULL;
list->index = -1;
- SLOG(LOG_DEBUG, TAG_VCCMD, "=====");
- SLOG(LOG_DEBUG, TAG_VCCMD, " ");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@");
return VC_ERROR_NONE;
}
iter = g_slist_next(iter);
}
- SLOG(LOG_DEBUG, TAG_VCCMD, "===== Foreach commands Done");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@ Foreach commands Done");
return VC_ERROR_NONE;
}
int vc_cmd_list_filter_by_type(vc_cmd_list_h original, int type, vc_cmd_list_h* filtered)
{
- SLOG(LOG_DEBUG, TAG_VCCMD, "===== Filter by type");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@ Filter by type");
if (0 != __vc_cmd_get_feature_enabled()) {
return VC_ERROR_NOT_SUPPORTED;
*filtered = temp_list;
- SLOG(LOG_DEBUG, TAG_VCCMD, "=====");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@");
return VC_ERROR_NONE;
}
*/
int vc_cmd_set_result_key(vc_cmd_h vc_command, int key, int modifier)
{
- SLOG(LOG_DEBUG, TAG_VCCMD, "===== Set result key");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@ Set result key");
if (NULL == vc_command) {
SLOG(LOG_ERROR, TAG_VCCMD, "[ERROR] Invalid parameter ");
cmd->key = key;
cmd->modifier = modifier;
- SLOG(LOG_DEBUG, TAG_VCCMD, "=====");
- SLOG(LOG_DEBUG, TAG_VCCMD, " ");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@");
return 0;
}
*/
int vc_cmd_get_result_key(vc_cmd_h vc_command, int* key, int* modifier)
{
- SLOG(LOG_DEBUG, TAG_VCCMD, "===== Get result key");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@ Get result key");
if (NULL == vc_command || NULL == key || NULL == modifier) {
SLOG(LOG_ERROR, TAG_VCCMD, "[ERROR] Invalid parameter ");
*key = cmd->key;
*modifier = cmd->modifier;
- SLOG(LOG_DEBUG, TAG_VCCMD, "=====");
- SLOG(LOG_DEBUG, TAG_VCCMD, " ");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@");
return 0;
}
vc_cmd_list_s* list = NULL;
list = (vc_cmd_list_s*)vc_cmd_list;
- SLOG(LOG_DEBUG, TAG_VCCMD, "=== Command List ===");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@ Command List @");
SLOG(LOG_DEBUG, TAG_VCCMD, "[List][%p]", list);
int count = g_slist_length(list->list);
}
}
- SLOG(LOG_DEBUG, TAG_VCCMD, "==================");
- SLOG(LOG_DEBUG, TAG_VCCMD, " ");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@");
return 0;
}
static void __vc_cmd_regex_deinit(int num_regex)
{
- SLOG(LOG_DEBUG, TAG_VCCMD, "==== Start Deinitialize regex ====");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@ Start Deinitialize regex @@@");
int i;
for (i = 0; num_regex > i; i++) {
regfree(®[i]);
}
- SLOG(LOG_DEBUG, TAG_VCCMD, "====");
- SLOG(LOG_DEBUG, TAG_VCCMD, "");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@");
}
static int __vc_cmd_regex_init()
{
- SLOG(LOG_DEBUG, TAG_VCCMD, "==== Initialize regular expression ====");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@ Initialize regular expression @@@");
int cflags = REG_EXTENDED | REG_ICASE;
int ret;
free(lang);
lang = NULL;
- SLOG(LOG_DEBUG, TAG_VCCMD, "==== lang type > %d ====", lang_type);
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@ lang type > %d @@@", lang_type);
re_syntax_options = RE_SYNTAX_POSIX_EXTENDED;
return VC_ERROR_OPERATION_FAILED;
}
- SLOG(LOG_DEBUG, TAG_VCCMD, "====");
- SLOG(LOG_DEBUG, TAG_VCCMD, "");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@");
return VC_ERROR_NONE;
}
static void __copy_struct_tm(struct tm *des, struct tm *src)
{
- SLOG(LOG_DEBUG, TAG_VCCMD, "==== Start to copy struct tm ====");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@ Start to copy struct tm @@@");
des->tm_sec = src->tm_sec;
des->tm_min = src->tm_min;
static int __vc_cmd_time_check(const char *str, struct tm *td)
{
- SLOG(LOG_DEBUG, TAG_VCCMD, "==== Check time value in string \"%s\"", str);
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@ Check time value in string \"%s\"", str);
vc_error_e ret;
int exist = 0;
if (1 == exist) {
g_time_flag = 1;
- SLOG(LOG_DEBUG, TAG_VCCMD, "==== Time value is exist");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@ Time value is exist");
return ret;
} else if (VC_ERROR_NONE != ret) {
SLOG(LOG_ERROR, TAG_VCCMD, "[ERROR] Error is occured > (%d)", ret);
if (1 == exist) {
g_time_flag = 2;
- SLOG(LOG_DEBUG, TAG_VCCMD, "==== Time value is exist");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@ Time value is exist");
return ret;
} else if (VC_ERROR_NONE != ret) {
SLOG(LOG_ERROR, TAG_VCCMD, "[ERROR] Error is occured > (%d)", ret);
if (1 == exist) {
g_time_flag = 3;
- SLOG(LOG_DEBUG, TAG_VCCMD, "==== Time value is exist");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@ Time value is exist");
return ret;
} else if (VC_ERROR_NONE != ret) {
SLOG(LOG_ERROR, TAG_VCCMD, "[ERROR] Error is occured > (%d)", ret);
return ret;
}
- SLOG(LOG_DEBUG, TAG_VCCMD, "==== There is no time value");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@ There is no time value");
return VC_ERROR_NONE;
}
static int __vc_cmd_date_check(const char *str, struct tm *td)
{
- SLOG(LOG_DEBUG, TAG_VCCMD, "==== Check date value in string \"%s\"", str);
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@ Check date value in string \"%s\"", str);
vc_error_e ret;
int exist = 0;
if (1 == exist) {
g_date_flag = 1;
- SLOG(LOG_DEBUG, TAG_VCCMD, "==== Date value is exist");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@ Date value is exist");
return ret;
} else if (VC_ERROR_NONE != ret) {
SLOG(LOG_ERROR, TAG_VCCMD, "[ERROR] Error is occured > (%d)", ret);
if (1 == exist) {
g_date_flag = 1;
- SLOG(LOG_DEBUG, TAG_VCCMD, "==== Date value is exist");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@ Date value is exist");
return ret;
} else if (VC_ERROR_NONE != ret) {
SLOG(LOG_ERROR, TAG_VCCMD, "[ERROR] Error is occured > (%d)", ret);
return ret;
}
- SLOG(LOG_DEBUG, TAG_VCCMD, "==== There is no date value");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@ There is no date value");
return VC_ERROR_NONE;
}
int vc_cmd_get_datetime(const char *text, time_t *result, char **remain)
{
- SLOG(LOG_DEBUG, TAG_VCCMD, "==== Get timestamp data");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@ Get timestamp data");
struct tm td;
const char *day_name[7] = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"};
SLOG(LOG_DEBUG, TAG_VCCMD, "[REGEX] There is no data in the text");
}
- SLOG(LOG_DEBUG, TAG_VCCMD, "====");
- SLOG(LOG_DEBUG, TAG_VCCMD, "");
+ SLOG(LOG_DEBUG, TAG_VCCMD, "@@@");
return VC_ERROR_NONE;
}
Eina_Bool vc_config_mgr_inotify_event_cb(void* data, Ecore_Fd_Handler *fd_handler)
{
- SLOG(LOG_DEBUG, vc_config_tag(), "===== Config changed callback event");
+ SLOG(LOG_DEBUG, vc_config_tag(), "@@@ Config changed callback event");
int length;
struct inotify_event event;
if (0 > length) {
SLOG(LOG_ERROR, vc_config_tag(), "[ERROR] Empty Inotify event");
- SLOG(LOG_DEBUG, vc_config_tag(), "=====");
- SLOG(LOG_DEBUG, vc_config_tag(), " ");
+ SLOG(LOG_DEBUG, vc_config_tag(), "@@@");
return ECORE_CALLBACK_PASS_ON;
}
SLOG(LOG_ERROR, vc_config_tag(), "[ERROR] Undefined event");
}
- SLOG(LOG_DEBUG, vc_config_tag(), "=====");
- SLOG(LOG_DEBUG, vc_config_tag(), " ");
+ SLOG(LOG_DEBUG, vc_config_tag(), "@@@");
return ECORE_CALLBACK_PASS_ON;
}
}
/* print daemon config */
- SLOG(LOG_DEBUG, vc_config_tag(), "== Daemon config ==");
+ SLOG(LOG_DEBUG, vc_config_tag(), "@ Daemon config @");
SLOG(LOG_DEBUG, vc_config_tag(), " engine : %s", g_config_info->engine_id);
SLOG(LOG_DEBUG, vc_config_tag(), " auto language : %s", g_config_info->auto_lang ? "on" : "off");
SLOG(LOG_DEBUG, vc_config_tag(), " language : %s", g_config_info->language);
- SLOG(LOG_DEBUG, vc_config_tag(), "===================");
+ SLOG(LOG_DEBUG, vc_config_tag(), "@@@@");
g_lang_ref_count = 0;
vc_engine_info_s *engine_info = NULL;
if (0 >= g_slist_length(g_engine_list)) {
- SLOG(LOG_DEBUG, vc_config_tag(), "-------------- engine list -----------------");
+ SLOG(LOG_DEBUG, vc_config_tag(), "@ engine list @");
SLOG(LOG_DEBUG, vc_config_tag(), " No Engine in engine directory");
- SLOG(LOG_DEBUG, vc_config_tag(), "--------------------------------------------");
+ SLOG(LOG_DEBUG, vc_config_tag(), "@@@@");
return 0;
}
/* Get a first item */
iter = g_slist_nth(g_engine_list, 0);
- SLOG(LOG_DEBUG, vc_config_tag(), "--------------- engine list -----------------");
+ SLOG(LOG_DEBUG, vc_config_tag(), "@ engine list @");
int i = 1;
while (NULL != iter) {
} else {
SLOG(LOG_DEBUG, vc_config_tag(), " language is NONE");
}
- SLOG(LOG_DEBUG, vc_config_tag(), " ");
iter = g_slist_next(iter);
i++;
}
- SLOG(LOG_DEBUG, vc_config_tag(), "--------------------------------------------");
+ SLOG(LOG_DEBUG, vc_config_tag(), "@@@@");
return 0;
}
vc_config_client_s* temp_client = NULL;
if (0 >= g_slist_length(g_config_client_list)) {
- SLOG(LOG_DEBUG, vc_config_tag(), "-------------- Client list -----------------");
+ SLOG(LOG_DEBUG, vc_config_tag(), "@ Client list @");
SLOG(LOG_DEBUG, vc_config_tag(), " No Client");
- SLOG(LOG_DEBUG, vc_config_tag(), "--------------------------------------------");
+ SLOG(LOG_DEBUG, vc_config_tag(), "@@@@");
return 0;
}
/* Get a first item */
iter = g_slist_nth(g_config_client_list, 0);
- SLOG(LOG_DEBUG, vc_config_tag(), "--------------- Client list -----------------");
+ SLOG(LOG_DEBUG, vc_config_tag(), "@ Client list @");
int i = 1;
while (NULL != iter) {
iter = g_slist_next(iter);
i++;
}
- SLOG(LOG_DEBUG, vc_config_tag(), "--------------------------------------------");
+ SLOG(LOG_DEBUG, vc_config_tag(), "@@@@");
return 0;
}
if (NULL == engine_info)
return -1;
- SLOG(LOG_DEBUG, vc_config_tag(), "== engine info ==");
+ SLOG(LOG_DEBUG, vc_config_tag(), "@ engine info @");
SLOG(LOG_DEBUG, vc_config_tag(), " id : %s", engine_info->uuid);
SLOG(LOG_DEBUG, vc_config_tag(), " languages");
} else {
SLOG(LOG_DEBUG, vc_config_tag(), " language is NONE");
}
- SLOG(LOG_DEBUG, vc_config_tag(), "=====================");
+ SLOG(LOG_DEBUG, vc_config_tag(), "@@@@");
return 0;
}
}
return 0;
-}
\ No newline at end of file
+}
g_object_unref(parser);
return ret;
-}
\ No newline at end of file
+}
GSList *iter = NULL;
vc_client_info_s *data = NULL;
- SLOG(LOG_DEBUG, TAG_VCD, "----- client list");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ client list");
int count = g_slist_length(g_client_list);
int i;
}
}
- SLOG(LOG_DEBUG, TAG_VCD, "-----");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
- SLOG(LOG_DEBUG, TAG_VCD, "----- widget list");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ widget list");
widget_info_s *widget_data = NULL;
}
}
- SLOG(LOG_DEBUG, TAG_VCD, "-----");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
GSList *iter = NULL;
vc_cmd_s *data = NULL;
- SLOG(LOG_DEBUG, TAG_VCD, "----- command group");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ command group");
int count = g_slist_length(cmd_group);
int i;
}
}
- SLOG(LOG_DEBUG, TAG_VCD, "-----");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
return -1;
} else {
if (10 == g_volume_count) {
- SLOG(LOG_DEBUG, TAG_VCD, "<<<< Send set volume : pid(%d), volume(%f)", manger_pid, volume);
+ SLOG(LOG_DEBUG, TAG_VCD, "@@ Send set volume : pid(%d), volume(%f)", manger_pid, volume);
g_volume_count = 0;
}
DBUS_TYPE_INVALID);
if (dbus_error_is_set(&err)) {
- SLOG(LOG_ERROR, TAG_VCD, "<<<< Get arguments error (%s)", err.message);
+ SLOG(LOG_ERROR, TAG_VCD, "@@ Get arguments error (%s)", err.message);
dbus_error_free(&err);
result = VCD_ERROR_OPERATION_FAILED;
}
dbus_message_unref(result_msg);
- SLOG(LOG_DEBUG, TAG_VCD, "<<<< vc send asr result : result = %d", result);
+ SLOG(LOG_DEBUG, TAG_VCD, "@@ vc send asr result : result = %d", result);
*is_consumed = result;
return VCD_ERROR_NONE;
} else {
- SLOG(LOG_ERROR, TAG_VCD, "<<<< Result message is NULL ");
+ SLOG(LOG_ERROR, TAG_VCD, "@@ Result message is NULL ");
return VCD_ERROR_OPERATION_FAILED;
}
}
SLOG(LOG_ERROR, TAG_VCD, "[Dbus ERROR] Fail to Send");
return VCD_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCD, "<<<< Send serive state message to manager : state(%d)", state);
+ SLOG(LOG_DEBUG, TAG_VCD, "@@ Send serive state message to manager : state(%d)", state);
dbus_connection_flush(g_conn_sender);
}
SLOG(LOG_ERROR, TAG_VCD, "[Dbus ERROR] Fail to Send");
return VCD_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCD, "<<<< Send serive state message to client : state(%d)", state);
+ SLOG(LOG_DEBUG, TAG_VCD, "@@ Send serive state message to client : state(%d)", state);
dbus_connection_flush(g_conn_sender);
}
SLOG(LOG_ERROR, TAG_VCD, "[Dbus ERROR] Fail to Send");
return VCD_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCD, "<<<< Send serive state message to widget client : state(%d)", state);
+ SLOG(LOG_DEBUG, TAG_VCD, "@@ Send serive state message to widget client : state(%d)", state);
dbus_connection_flush(g_conn_sender);
}
SLOG(LOG_ERROR, TAG_VCD, "[Dbus ERROR] Fail to Send");
return VCD_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCD, "<<<< Send manager pid to client : pid(%d)", manager_pid);
+ SLOG(LOG_DEBUG, TAG_VCD, "@@ Send manager pid to client : pid(%d)", manager_pid);
dbus_connection_flush(g_conn_sender);
}
int vcdc_send_error_signal_to_manager(int manager_pid, int reason, char *err_msg)
{
- SLOG(LOG_ERROR, TAG_VCD, ">>>> Send error signal to manager");
+ SLOG(LOG_ERROR, TAG_VCD, "@@ Send error signal to manager");
if (0 != __dbus_check()) {
return VCD_ERROR_OPERATION_FAILED;
}
return VCD_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCD, "<<<< Send error signal to manager : reason(%d), Error Msg(%s)", reason, temp_msg);
+ SLOG(LOG_DEBUG, TAG_VCD, "@@ Send error signal to manager : reason(%d), Error Msg(%s)", reason, temp_msg);
dbus_connection_flush(g_conn_sender);
}
int vcdc_send_error_signal(int reason, char *err_msg)
{
- SLOG(LOG_ERROR, TAG_VCD, ">>>> Send error signal");
+ SLOG(LOG_ERROR, TAG_VCD, "@@ Send error signal");
if (NULL == err_msg) {
SLOG(LOG_ERROR, TAG_VCD, "[Dbus ERROR] Input parameter is NULL");
SLOG(LOG_ERROR, TAG_VCD, "[Dbus ERROR] Fail to Send");
return VCD_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCD, "<<<< Send error signal to manager: reason(%d), daemon_pid(%d), Error Msg(%s)", reason, daemon_pid, err_msg);
+ SLOG(LOG_DEBUG, TAG_VCD, "@@ Send error signal to manager: reason(%d), daemon_pid(%d), Error Msg(%s)", reason, daemon_pid, err_msg);
dbus_connection_flush(g_conn_sender);
}
SLOG(LOG_ERROR, TAG_VCD, "[Dbus ERROR] Fail to Send");
return VCD_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCD, "<<<< Send error signal : reason(%d), daemon_pid(%d), Error Msg(%s)", reason, daemon_pid, err_msg);
+ SLOG(LOG_DEBUG, TAG_VCD, "@@ Send error signal : reason(%d), daemon_pid(%d), Error Msg(%s)", reason, daemon_pid, err_msg);
dbus_connection_flush(g_conn_sender);
}
SLOG(LOG_ERROR, TAG_VCD, "[Dbus ERROR] Fail to Send");
return VCD_ERROR_OPERATION_FAILED;
} else {
- SLOG(LOG_DEBUG, TAG_VCD, "<<<< Send error signal to widget : reason(%d), daemon_pid(%d), Error Msg(%s)", reason, daemon_pid, err_msg);
+ SLOG(LOG_DEBUG, TAG_VCD, "@@ Send error signal to widget : reason(%d), daemon_pid(%d), Error Msg(%s)", reason, daemon_pid, err_msg);
dbus_connection_flush(g_conn_sender);
}
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
int vcd_dbus_server_hello(DBusConnection* conn, DBusMessage* msg)
{
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Hello");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Hello");
DBusMessage* reply;
reply = dbus_message_new_method_return(msg);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
DBUS_TYPE_INT32, &pid,
DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Manager Initialize");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Manager Initialize");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd mgr initialize : get arguments error (%s)", err.message);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
int ret = VCD_ERROR_OPERATION_FAILED;
dbus_message_get_args(msg, &err, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Manager Finalize");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Manager Finalize");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd mgr finalize : get arguments error (%s)", err.message);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
dbus_message_get_args(msg, &err, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Manager Set command");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Manager Set command");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd mgr set command : get arguments error (%s)", err.message);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
dbus_message_get_args(msg, &err, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD manager unset command");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD manager unset command");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd mgr unset command : get arguments error (%s)", err.message);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
dbus_message_get_args(msg, &err, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Manager Set demandable client");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Manager Set demandable client");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd mgr set demandable client : get arguments error (%s)", err.message);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
int ret = VCD_ERROR_OPERATION_FAILED;
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Manager set audio type");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Manager set audio type");
dbus_message_get_args(msg, &err,
DBUS_TYPE_INT32, &pid,
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
int ret = VCD_ERROR_OPERATION_FAILED;
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Manager get audio type");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Manager get audio type");
dbus_message_get_args(msg, &err,
DBUS_TYPE_INT32, &pid,
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
if (NULL != audio_type) free(audio_type);
int ret = VCD_ERROR_OPERATION_FAILED;
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Manager set client info");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Manager set client info");
dbus_message_get_args(msg, &err,
DBUS_TYPE_INT32, &pid,
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
int ret = VCD_ERROR_OPERATION_FAILED;
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Manager set private data");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Manager set private data");
dbus_message_get_args(msg, &err,
DBUS_TYPE_INT32, &pid,
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
int ret = VCD_ERROR_OPERATION_FAILED;
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Manager get private data");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Manager get private data");
dbus_message_get_args(msg, &err,
DBUS_TYPE_INT32, &pid,
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
if (NULL != data) free(data);
int ret = VCD_ERROR_OPERATION_FAILED;
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Manager set audio type");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Manager set audio type");
dbus_message_get_args(msg, &err,
DBUS_TYPE_INT32, &pid,
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
int ret = VCD_ERROR_OPERATION_FAILED;
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Manager request to do action");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Manager request to do action");
dbus_message_get_args(msg, &err,
DBUS_TYPE_INT32, &pid,
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
int ret = VCD_ERROR_OPERATION_FAILED;
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Manager enable command type");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Manager enable command type");
dbus_message_get_args(msg, &err,
DBUS_TYPE_INT32, &pid,
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
int ret = VCD_ERROR_OPERATION_FAILED;
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Manager disable command type");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Manager disable command type");
dbus_message_get_args(msg, &err,
DBUS_TYPE_INT32, &pid,
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
int ret = VCD_ERROR_OPERATION_FAILED;
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Manager start");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Manager start");
dbus_message_get_args(msg, &err,
DBUS_TYPE_INT32, &pid,
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
int ret = VCD_ERROR_OPERATION_FAILED;
dbus_message_get_args(msg, &err, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Manager stop");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Manager stop");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd mgr stop : get arguments error (%s)", err.message);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
int ret = VCD_ERROR_OPERATION_FAILED;
dbus_message_get_args(msg, &err, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Manager cancel");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Manager cancel");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd mgr cancel : get arguments error (%s)", err.message);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
int pid;
dbus_message_get_args(msg, &err, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Manager result selection");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Manager result selection");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd mgr result selection : get arguments error (%s)", err.message);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
*/
DBUS_TYPE_INT32, &pid,
DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Initialize");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Initialize");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd initialize : get arguments error (%s)", err.message);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
int ret = VCD_ERROR_OPERATION_FAILED;
dbus_message_get_args(msg, &err, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Finalize");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Finalize");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd finalize : get arguments error (%s)", err.message);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
dbus_message_get_args(msg, &err, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INT32, &value, DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD set exclusive command");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD set exclusive command");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd unset command : get arguments error (%s)", err.message);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
dbus_message_get_args(msg, &err, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INT32, &cmd_type, DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD set command");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD set command");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd set command : get arguments error (%s)", err.message);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
dbus_message_get_args(msg, &err, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INT32, &cmd_type, DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD unset command");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD unset command");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd unset command : get arguments error (%s)", err.message);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
dbus_message_get_args(msg, &err, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INT32, &value, DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD set foreground");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD set foreground");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd set foreground : get arguments error (%s)", err.message);
vcd_server_set_foreground(pid, tmp_value);
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
DBUS_TYPE_INT32, &continuous,
DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD request dialog");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD request dialog");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd request dialog : get arguments error (%s)", err.message);
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
DBUS_TYPE_INT32, &pid,
DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD request to check system command is valid");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD request to check system command is valid");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd request to check system command is valid : get arguments error (%s)", err.message);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
int ret = VCD_ERROR_OPERATION_FAILED;
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Request Start");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Request Start");
dbus_message_get_args(msg, &err, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INT32, &silence, DBUS_TYPE_INVALID);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
int ret = VCD_ERROR_OPERATION_FAILED;
dbus_message_get_args(msg, &err, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Request Stop");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Request Stop");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd stop : get arguments error (%s)", err.message);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
int ret = VCD_ERROR_OPERATION_FAILED;
dbus_message_get_args(msg, &err, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Request Cancel");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Request Cancel");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd cancel : get arguments error (%s)", err.message);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
DBUS_TYPE_INT32, &pid,
DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Widget Initialize");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Widget Initialize");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd widget initialize : get arguments error (%s)", err.message);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
int ret = VCD_ERROR_OPERATION_FAILED;
dbus_message_get_args(msg, &err, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD Widget Finalize");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD Widget Finalize");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd widget finalize : get arguments error (%s)", err.message);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
DBUS_TYPE_INT32, &widget_command,
DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD widget start recording");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD widget start recording");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd widget start recording : get arguments error (%s)", err.message);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
int ret = VCD_ERROR_OPERATION_FAILED;
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD widget start");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD widget start");
dbus_message_get_args(msg, &err, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INT32, &silence, DBUS_TYPE_INVALID);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
int ret = VCD_ERROR_OPERATION_FAILED;
dbus_message_get_args(msg, &err, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD widget stop");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD widget stop");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd widget stop : get arguments error (%s)", err.message);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
int ret = VCD_ERROR_OPERATION_FAILED;
dbus_message_get_args(msg, &err, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD widget cancel");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD widget cancel");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd widget cancel : get arguments error (%s)", err.message);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
int ret = VCD_ERROR_OPERATION_FAILED;
dbus_message_get_args(msg, &err, DBUS_TYPE_INT32, &pid, DBUS_TYPE_INT32, &enable, DBUS_TYPE_INVALID);
- SLOG(LOG_DEBUG, TAG_VCD, ">>>>> VCD widget enable asr result");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VCD widget enable asr result");
if (dbus_error_is_set(&err)) {
SLOG(LOG_ERROR, TAG_VCD, "[IN ERROR] vcd widget enable asr result : get arguments error (%s)", err.message);
SLOG(LOG_ERROR, TAG_VCD, "[OUT ERROR] Fail to create reply message!!");
}
- SLOG(LOG_DEBUG, TAG_VCD, "<<<<<");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
-}
\ No newline at end of file
+}
g_dynamic_engine.is_loaded = false;
g_dynamic_engine.is_set = true;
- SLOG(LOG_DEBUG, TAG_VCD, "-----");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
SLOG(LOG_DEBUG, TAG_VCD, " Dynamic engine uuid : %s", g_dynamic_engine.engine_uuid);
SLOG(LOG_DEBUG, TAG_VCD, " Dynamic engine name : %s", g_dynamic_engine.engine_name);
SLOG(LOG_DEBUG, TAG_VCD, " Dynamic engine path : %s", g_dynamic_engine.engine_path);
- SLOG(LOG_DEBUG, TAG_VCD, "-----");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
}
temp->engine_path = g_strdup(filepath);
- SLOG(LOG_DEBUG, TAG_VCD, "----- Valid Engine");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ Valid Engine");
SLOG(LOG_DEBUG, TAG_VCD, "Engine uuid : %s", temp->engine_uuid);
SLOG(LOG_DEBUG, TAG_VCD, "Engine name : %s", temp->engine_name);
SLOG(LOG_DEBUG, TAG_VCD, "Engine path : %s", temp->engine_path);
- SLOG(LOG_DEBUG, TAG_VCD, "-----");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
*info = temp;
/* Get a first item */
iter = g_list_first(g_engine_list);
- SLOG(LOG_DEBUG, TAG_VCD, "--------------- engine list -------------------");
+ SLOG(LOG_DEBUG, TAG_VCD, "@ engine list @");
int i = 1;
while (NULL != iter) {
iter = g_list_next(iter);
i++;
}
- SLOG(LOG_DEBUG, TAG_VCD, "----------------------------------------------");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@@");
} else {
- SLOG(LOG_DEBUG, TAG_VCD, "-------------- engine list -------------------");
+ SLOG(LOG_DEBUG, TAG_VCD, "@ engine list @");
SLOG(LOG_DEBUG, TAG_VCD, " No Engine in engine directory");
- SLOG(LOG_DEBUG, TAG_VCD, "----------------------------------------------");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@@");
}
return 0;
int main(int argc, char** argv)
{
- SLOG(LOG_DEBUG, TAG_VCD, " ");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
- SLOG(LOG_DEBUG, TAG_VCD, "===== VC Daemon Initialize");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VC Daemon Initialize");
if (!ecore_init()) {
SLOG(LOG_ERROR, TAG_VCD, "[ERROR] Fail ecore_init()");
SLOG(LOG_WARN, TAG_VCD, "[Main Warning] Fail to create timer of client check");
}
- SLOG(LOG_DEBUG, TAG_VCD, "[Main] vc-daemon start...");
+ SLOG(LOG_DEBUG, TAG_VCD, "[Main] vc-daemon start");
- SLOG(LOG_DEBUG, TAG_VCD, "=====");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
ecore_main_loop_begin();
- SLOG(LOG_DEBUG, TAG_VCD, "===== VC Daemon Finalize");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ VC Daemon Finalize");
if (NULL != g_check_client_timer) {
ecore_timer_del(g_check_client_timer);
ecore_shutdown();
- SLOG(LOG_DEBUG, TAG_VCD, "=====");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return 0;
}
*/
static Eina_Bool __stop_by_silence(void *data)
{
- SLOG(LOG_DEBUG, TAG_VCD, "===== Silence Detected ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ Silence Detected ");
vcd_server_mgr_stop();
- SLOG(LOG_DEBUG, TAG_VCD, "=====");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return EINA_FALSE;
}
static Eina_Bool __cancel_by_interrupt(void *data)
{
- SLOG(LOG_DEBUG, TAG_VCD, "===== Cancel by interrupt");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ Cancel by interrupt");
vcd_server_mgr_cancel();
- SLOG(LOG_DEBUG, TAG_VCD, "=====");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return EINA_FALSE;
}
static void __cancel_by_error(void *data)
{
- SLOG(LOG_DEBUG, TAG_VCD, "===== Cancel by error");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ Cancel by error");
vcd_server_mgr_cancel();
- SLOG(LOG_DEBUG, TAG_VCD, "=====");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return;
}
static Eina_Bool __restart_engine(void *data)
{
- SLOG(LOG_DEBUG, TAG_VCD, "===== Restart by no result");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ Restart by no result");
g_restart_timer = NULL;
SLOG(LOG_DEBUG, TAG_VCD, "[Server Success] Restart recognition");
- SLOG(LOG_DEBUG, TAG_VCD, "=====");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return EINA_FALSE;
}
void __server_recorder_interrupt_callback()
{
- SLOG(LOG_DEBUG, TAG_VCD, "===== Cancel by sound interrupt");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ Cancel by sound interrupt");
ecore_timer_add(0, __cancel_by_interrupt, NULL);
- SLOG(LOG_DEBUG, TAG_VCD, "=====");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
}
static void __config_lang_changed_cb(const char* current_lang, void* user_data)
{
- SLOG(LOG_DEBUG, TAG_VCD, "===== Change language ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ Change language ");
/* Current state is recording */
vcd_state_e state = vcd_config_get_service_state();
SLOG(LOG_ERROR, TAG_VCD, "[Server ERROR] Fail to set language of engine : %d", ret);
}
- SLOG(LOG_DEBUG, TAG_VCD, "=====");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return;
}
static void __config_foreground_changed_cb(int previous, int current, void* user_data)
{
- SLOG(LOG_DEBUG, TAG_VCD, "===== Change foreground");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ Change foreground");
SLOG(LOG_DEBUG, TAG_VCD, "Foreground pid(%d)", current);
}
}
- SLOG(LOG_DEBUG, TAG_VCD, "=====");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
return;
}
/* if nlu_result is exist, Add command handle(is_action) into result list */
/* Normal result */
- SLOG(LOG_DEBUG, TAG_VCD, "[Server] === Get engine result ===");
+ SLOG(LOG_DEBUG, TAG_VCD, "[Server] @ Get engine result @");
int ret = -1;
vc_cmd_s* temp_cmd = NULL;
vc_cmd_print_list(vc_cmd_list);
- SLOG(LOG_DEBUG, TAG_VCD, "[Server] =========================");
+ SLOG(LOG_DEBUG, TAG_VCD, "[Server] @@@@");
int result_count = 0;
vc_cmd_list_get_count(vc_cmd_list, &result_count);
}
/* Normal result */
- SLOG(LOG_DEBUG, TAG_VCD, "[Server] === Get engine result ===");
+ SLOG(LOG_DEBUG, TAG_VCD, "[Server] @ Get engine result @");
int ret = -1;
vc_cmd_s* temp_cmd = NULL;
vc_cmd_print_list(vc_cmd_list);
- SLOG(LOG_DEBUG, TAG_VCD, "[Server] =========================");
+ SLOG(LOG_DEBUG, TAG_VCD, "[Server] @@@@");
int result_count = 0;
vc_cmd_list_get_count(vc_cmd_list, &result_count);
}
if (0 == ret || mgr_pid > 0) {
- SLOG(LOG_DEBUG, TAG_VCD, "===== Clean up %s client ", type ? (type == 1) ? "Widget" : "Manager" : "Normal");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ Clean up %s client ", type ? (type == 1) ? "Widget" : "Manager" : "Normal");
if (NULL != client_list && client_count > 0) {
for (i = 0; i < client_count; i++) {
exist = false;
}
}
}
- SLOG(LOG_DEBUG, TAG_VCD, "=====");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
}
if (NULL != client_list && -1 == mgr_pid) {
free(client_list);
#if 0
if (0 == vcd_client_get_list(&client_list, &client_count)) {
- SLOG(LOG_DEBUG, TAG_VCD, "===== Clean up client ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ Clean up client ");
if (NULL != client_list && client_count > 0) {
for (i = 0; i < client_count; i++) {
exist = false;
#endif
}
}
- SLOG(LOG_DEBUG, TAG_VCD, "=====");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
}
if (NULL != client_list) {
free(client_list);
/* If app is in background state, app cannot response message. */
if (0 == vcd_client_widget_get_list(&client_list, &client_count)) {
- SLOG(LOG_DEBUG, TAG_VCD, "===== Clean up widget");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@ Clean up widget");
if (NULL != client_list && client_count > 0) {
for (i = 0; i < client_count; i++) {
exist = false;
#endif
}
}
- SLOG(LOG_DEBUG, TAG_VCD, "=====");
- SLOG(LOG_DEBUG, TAG_VCD, " ");
+ SLOG(LOG_DEBUG, TAG_VCD, "@@@");
}
if (NULL != client_list) {