}
}
+//LCOV_EXCL_START
int __ma_cb_active_state_changed(int state)
{
ma_active_state_changed_cb callback = NULL;
return 0;
}
+//LCOV_EXCL_STOP
int ma_get_state(ma_state_e* state)
{
return MA_ERROR_NONE;
}
+//LCOV_EXCL_START
bool __get_assistant_enable_status(const char* app_id, char* assistants) {
char* rest = assistants;
char* temp = strtok_r(rest, ";", &rest);
SLOG(LOG_DEBUG, TAG_MAC, "[Client DEBUG] get assistant info cb end");
return 0;
}
+//LCOV_EXCL_STOP
int ma_assistant_info_foreach_assistants(ma_assistant_info_list_cb callback, void* user_data) {
if (0 != __ma_get_feature_enabled()) {
return MA_ERROR_NONE;
}
+//LCOV_EXCL_START
int ma_set_preprocessing_result_received_cb(ma_preprocessing_result_received_cb callback, void* user_data)
{
if (0 != __ma_get_feature_enabled()) {
return MA_ERROR_NONE;
}
+//LCOV_EXCL_STOP
return MA_ERROR_NONE;
}
+//LCOV_EXCL_START
int ma_client_set_error(ma_h ma, ma_error_e reason)
{
ma_client_s* client = __client_get(ma);
return MA_ERROR_NONE;
}
+//LCOV_EXCL_STOP
int ma_client_set_ui_pid(ma_h ma, int pid)
{
return MA_ERROR_NONE;
}
+//LCOV_EXCL_START
int ma_client_get_lang_changed_cb(ma_h ma, ma_language_changed_cb* callback, void** user_data)
{
ma_client_s* client = __client_get(ma);
return MA_ERROR_NONE;
}
+//LCOV_EXCL_STOP
int ma_client_set_audio_streaming_cb(ma_h ma, ma_audio_streaming_cb callback, void* user_data)
{
return MA_ERROR_NONE;
}
+//LCOV_EXCL_START
int ma_client_get_audio_streaming_cb(ma_h ma, ma_audio_streaming_cb* callback, void** user_data)
{
ma_client_s* client = __client_get(ma);
return MA_ERROR_NONE;
}
+//LCOV_EXCL_STOP
int ma_client_set_error_cb(ma_h ma, ma_error_cb callback, void* user_data)
{
return MA_ERROR_NONE;
}
+//LCOV_EXCL_START
int ma_client_get_error_cb(ma_h ma, ma_error_cb* callback, void** user_data)
{
ma_client_s* client = __client_get(ma);
return MA_ERROR_NONE;
}
+//LCOV_EXCL_STOP
int ma_client_get_client_active_state(ma_h ma, ma_active_state_e* state)
{
return MA_ERROR_NONE;
}
+//LCOV_EXCL_START
int ma_client_get_previous_active_state(ma_h ma, ma_active_state_e* current_state, ma_active_state_e* previous_state)
{
ma_client_s* client = __client_get(ma);
return MA_ERROR_NONE;
}
+//LCOV_EXCL_STOP
int ma_client_set_active_state_changed_cb(ma_h ma, ma_active_state_changed_cb callback, void* user_data)
{
return MA_ERROR_NONE;
}
+//LCOV_EXCL_START
int ma_client_get_active_state_changed_cb(ma_h ma, ma_active_state_changed_cb* callback, void** user_data)
{
ma_client_s* client = __client_get(ma);
return MA_ERROR_NONE;
}
+//LCOV_EXCL_STOP
int ma_client_set_wakeup_engine_command_cb(ma_h ma, ma_wakeup_engine_command_cb callback, void* user_data)
{
return MA_ERROR_NONE;
}
+//LCOV_EXCL_START
int ma_client_get_wakeup_engine_command_cb(ma_h ma, ma_wakeup_engine_command_cb* callback, void** user_data)
{
ma_client_s* client = __client_get(ma);
return MA_ERROR_NONE;
}
+//LCOV_EXCL_STOP
int ma_client_set_preprocessing_information_changed_cb(ma_h ma, ma_preprocessing_information_changed_cb callback, void* user_data)
{
return MA_ERROR_NONE;
}
+//LCOV_EXCL_START
int ma_client_get_preprocessing_information_changed_cb(ma_h ma, ma_preprocessing_information_changed_cb* callback, void** user_data)
{
ma_client_s* client = __client_get(ma);
return MA_ERROR_NONE;
}
+//LCOV_EXCL_STOP
int ma_client_set_audio_streaming_data_section_changed_cb(ma_h ma, ma_audio_streaming_data_section_changed_cb callback, void* user_data)
{
return MA_ERROR_NONE;
}
+//LCOV_EXCL_START
int ma_client_get_audio_streaming_data_section_changed_cb(ma_h ma, ma_audio_streaming_data_section_changed_cb* callback, void** user_data)
{
ma_client_s* client = __client_get(ma);
return MA_ERROR_NONE;
}
+//LCOV_EXCL_STOP
#ifdef MA_PREPROCESSING_SEQUENTIAL_MODE
int ma_client_set_preprocessing_allow_mode(ma_h ma, ma_preprocessing_allow_mode_e mode)
return MA_ERROR_NONE;
}
+//LCOV_EXCL_START
int ma_client_get_preprocessing_allow_mode(ma_h ma, ma_preprocessing_allow_mode_e* mode)
{
ma_client_s* client = __client_get(ma);
return MA_ERROR_NONE;
}
+//LCOV_EXCL_STOP
int ma_client_set_audio_streaming_data_type(ma_h ma, ma_audio_streaming_data_type_e type)
{
return MA_ERROR_NONE;
}
+//LCOV_EXCL_START
int ma_client_get_audio_streaming_data_type(ma_h ma, ma_audio_streaming_data_type_e* type)
{
ma_client_s* client = __client_get(ma);
return MA_ERROR_NONE;
}
+//LCOV_EXCL_STOP
int ma_client_set_preprocessing_result_received(ma_h ma, bool received)
{
return MA_ERROR_NONE;
}
+//LCOV_EXCL_START
int ma_client_get_preprocessing_result_received(ma_h ma, bool* received)
{
ma_client_s* client = __client_get(ma);
return MA_ERROR_NONE;
}
+//LCOV_EXCL_STOP
int ma_client_pop_preprocessing_audio_data(ma_h ma, speech_data** data)
{