} else {
for (std::vector<std::string>::iterator result = results.begin(); result != results.end(); std::advance(result, 1)) {
if (!result->empty() && result->length() > 0) {
- LOGD("%s\n", result->c_str());
+ SECURE_LOGD("%s\n", result->c_str());
switch (event){
case STT_RESULT_EVENT_FINAL_RESULT:
LOGD("STT_RESULT_EVENT_FINAL_RESULT");
result = "UNKNOWN";
break;
}
- LOGD("result type : %s", result.c_str());
+ SECURE_LOGD("result type : %s", result.c_str());
}
void SttManager::on_result(
void voice_result_string_flush()
{
if (my_voicedata && my_voicedata->partial_result) {
- LOGD("***** result_text : %s *******", my_voicedata->partial_result);
+ SECURE_LOGD("***** result_text : %s *******", my_voicedata->partial_result);
const int BUF_LEN = strlen(my_voicedata->partial_result) + 1;
char retStr[BUF_LEN] = {0};
snprintf(retStr, BUF_LEN, "%s", my_voicedata->partial_result);
return;
VoiceData* voicedata = (VoiceData*)data;
- LOGD("result_text = %s", voicedata->partial_result);
+ SECURE_LOGD("result_text = %s", voicedata->partial_result);
ise_update_preedit_string(voicedata->partial_result);
}
strbuf = elm_entry_utf8_to_markup(keyValue);
- LOGD("text : %s, voicedata->partial_result=%s", strbuf, voicedata->partial_result);
+ SECURE_LOGD("text : %s, voicedata->partial_result=%s", strbuf, voicedata->partial_result);
if (strbuf) {
if (voicedata->partial_result) { // partial_result is not Null so replace
reply = input_smartreply_get_nth_item(i, &type);
if (reply == NULL)
continue;
- LOGD("SmartReply = [%d]%s", i, reply);
+ SECURE_LOGD("SmartReply = [%d] %s", i, reply);
candidate = reply;
if (candidate) {
candidate_strings.push_back(string(candidate));
if (g_ui) {
if (key_value) {
- LOGD("key_value : %s\n", key_value);
+ SECURE_LOGD("key_value : %s\n", key_value);
if (strcmp(key_value, "CUR_LANG") == 0) {
g_keyboard_state.disable_force_latin = TRUE;
ret = _language_manager.select_current_language();
static void ime_app_surrounding_text_updated_cb(int context_id, const char *text, int cursor_pos, void *user_data)
{
- LOGD("surrounding text:%s, cursor=%d\n", text, cursor_pos);
+ SECURE_LOGD("surrounding text:%s, cursor=%d\n", text, cursor_pos);
ime_delete_surrounding_text(-cursor_pos, strlen(text));
}
char *hint = (char *)prediction_hint;
if (!prediction_hint) return;
- LOGD("prediction hint : %s\n", prediction_hint);
+ SECURE_LOGD("prediction hint : %s\n", prediction_hint);
if (strlen(prediction_hint) > 0) {
input_smartreply_init(caller_id, sender, hint);