int CServiceMain::client_send_recognition_result(pid_t pid, int result)
{
- MAS_LOGI("[Enter] pid(%d), result(%d)", pid, result);
+ MAS_LOGE("[Enter] pid(%d), result(%d)", pid, result);
if (!is_current_assistant(pid)) return -1;
bool ui_panel_enabled = mServicePlugin.is_ui_panel_enabled();
int CServiceMain::client_start_streaming_audio_data(pid_t pid, int type)
{
- MAS_LOGI("[ENTER] %d", type);
+ MAS_LOGE("[ENTER] %d", type);
int ret = -1;
if (!is_current_assistant(pid)) {
int CServiceMain::client_stop_streaming_audio_data(pid_t pid, int type)
{
- MAS_LOGI("[ENTER] %d", type);
+ MAS_LOGE("[ENTER] %d", type);
int ret = -1;
if (!is_current_assistant(pid)) {
boost::optional<bool> activated =
manager->get_bool(MULTI_ASSISTANT_SETTINGS_ACTIVATED);
if (activated) {
- MAS_LOGI("multi-assistant active state : %d\n", *activated);
+ MAS_LOGE("multi-assistant active state : %d\n", *activated);
CServicePlugin *plugin = nullptr;
if (g_service_main) {
if (0 < strlen(items[loop].wakeup_word[inner_loop])) {
if (0 == strncmp(wakeup_word, items[loop].wakeup_word[inner_loop], MAX_WAKEUP_WORD_LEN)) {
mCurrentClientInfo = loop;
- MAS_LOGI("mCurrentClientInfo : %d %s", mCurrentClientInfo, wakeup_word);
+ MAS_LOGE("mCurrentClientInfo : %d %s", mCurrentClientInfo, wakeup_word);
ret = 0;
}
}
}
if (0 == strncmp(wakeup_word, comparand, MAX_WAKEUP_WORD_LEN)) {
mCurrentClientInfo = loop;
- MAS_LOGI("mCurrentClientInfo : %d %s", mCurrentClientInfo, wakeup_word);
+ MAS_LOGE("mCurrentClientInfo : %d %s", mCurrentClientInfo, wakeup_word);
ret = 0;
}
}
0 < strlen(items[loop].appid) &&
0 < strlen(items[loop].wakeup_word[0])) {
if (strncmp(appid, items[loop].appid, MAX_APPID_LEN) == 0) {
- MAS_LOGI("mCurrentClientInfo : %d %s", mCurrentClientInfo, appid);
+ MAS_LOGE("mCurrentClientInfo : %d %s", mCurrentClientInfo, appid);
mCurrentClientInfo = loop;
ret = 0;
}
bool CServiceMain::app_create(void *data)
{
// Todo: add your code here.
- MAS_LOGI("[ENTER] Service app create");
+ MAS_LOGE("[ENTER] Service app create");
g_service_main = this;
mPackageUpdateMonitor.initialize();
- MAS_LOGI("[END] Service app create");
+ MAS_LOGE("[END] Service app create");
return true;
}
void CServiceMain::app_terminate(void *data)
{
- MAS_LOGI("[ENTER]");
+ MAS_LOGE("[ENTER]");
mPackageUpdateMonitor.deinitialize();
g_service_main = nullptr;
- MAS_LOGI("[END]");
+ MAS_LOGE("[END]");
return;
}