Fix - Coding rule 37/80037/1 accepted/tizen/common/20160715.175634 accepted/tizen/ivi/20160717.034946 accepted/tizen/mobile/20160717.034938 accepted/tizen/tv/20160717.034824 accepted/tizen/wearable/20160717.034841 submit/tizen/20160715.103558
authorstom.hwang <stom.hwang@samsung.com>
Thu, 14 Jul 2016 07:22:20 +0000 (16:22 +0900)
committerstom.hwang <stom.hwang@samsung.com>
Thu, 14 Jul 2016 07:22:20 +0000 (16:22 +0900)
Change-Id: I6b48ac0f137cd5ae4bd338460af38346b9737d3a
Signed-off-by: stom.hwang <stom.hwang@samsung.com>
client/stt.c
client/stt_client.h
server/sttd_recorder.c
server/sttp.h

index 134596b..82c47cb 100755 (executable)
@@ -133,7 +133,7 @@ static int __stt_check_privilege()
                SLOG(LOG_ERROR, TAG_STTC, "[ERROR] Permission is denied");
                return STT_ERROR_PERMISSION_DENIED;
        } else if (-1 == g_privilege_allowed) {
-               if (false == __check_privilege_initialize()){
+               if (false == __check_privilege_initialize()) {
                        SLOG(LOG_ERROR, TAG_STTC, "[ERROR] privilege initialize is failed");
                        return STT_ERROR_PERMISSION_DENIED;
                }
index ed77143..2a89e2f 100644 (file)
@@ -61,7 +61,7 @@ typedef struct {
        /* option */
        bool            silence_supported;
        stt_option_silence_detection_e  silence;
-       bool            credential_needed;
+       bool            credential_needed;
 
        /* state */
        stt_state_e     before_state;
index 9d35fc5..75c0fa3 100644 (file)
@@ -251,7 +251,7 @@ int sttd_recorder_deinitialize()
 
                if (NULL != recorder) {
                        g_recorder_list = g_slist_remove(g_recorder_list, recorder);
-                       if(recorder->audio_h) {
+                       if (recorder->audio_h) {
                                audio_in_destroy(recorder->audio_h);
                                recorder->audio_h = NULL;
                        }
@@ -262,7 +262,7 @@ int sttd_recorder_deinitialize()
        }
 
 #ifdef TV_BT_MODE
-       bt_hid_host_deinitialize ();
+       bt_hid_host_deinitialize();
 
        bt_deinitialize();
 #endif
index 72366b1..424f264 100644 (file)
@@ -46,7 +46,7 @@ typedef enum {
        STTP_ERROR_NOT_SUPPORTED_FEATURE        = TIZEN_ERROR_STT | 0x05,       /**< Not supported feature of current engine */
        STTP_ERROR_NO_SPEECH                    = TIZEN_ERROR_STT | 0x06,       /**< No speech while recording */
        STTP_ERROR_RECORDING_TIMED_OUT          = TIZEN_ERROR_STT | 0x10        /**< Recording timed out */
-}sttp_error_e;
+} sttp_error_e;
 
 /**
 * @brief Enumerations of audio type.
@@ -277,7 +277,7 @@ typedef bool (*sttpe_support_silence_detection)(void);
 * @return @c true to be needed app credential, \n @c false not to be needed app credential.
 *
 */
-typedef bool (* sttpe_need_app_credential)(void);
+typedef bool (*sttpe_need_app_credential)(void);
 
 /**
 * @brief Gets supporting recognition type.