[ITC][stt][non-ACR] Remove unused EFL dependencies 12/268812/3
authorwn.jang <wn.jang@samsung.com>
Mon, 3 Jan 2022 08:41:35 +0000 (17:41 +0900)
committerJihun Park <jihun87.park@samsung.com>
Thu, 24 Feb 2022 02:48:33 +0000 (02:48 +0000)
Change-Id: Ie64e6842a7df72c7d10520829387cb457a3b00cc

packaging/itc/native-stt-itc.spec
packaging/itc/native-stt-itc.xml
src/itc/stt/CMakeLists.txt
src/itc/stt/ITs-stt-common.h
src/itc/stt/tct-stt-native.c

index 2b3e3cb8dc8b3acafe4fbf4c45e8e8d2138564b4..ff964b296c640f06b45a6ffe59d1115f90157719 100755 (executable)
@@ -8,7 +8,7 @@ Group:      Development/Tools
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
 BuildRequires: pkgconfig(%{MODULE_LIBNAME})
-BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(capi-appfw-service-application)
 BuildRequires: pkgconfig(aul)
 BuildRequires: pkgconfig(bundle)
 BuildRequires: pkgconfig(capi-media-audio-io)
@@ -17,7 +17,6 @@ BuildRequires:        pkgconfig(capi-media-wav-player)
 BuildRequires: pkgconfig(dbus-1)
 BuildRequires: pkgconfig(dlog)
 BuildRequires: pkgconfig(ecore)
-BuildRequires: pkgconfig(elementary)
 BuildRequires: pkgconfig(glib-2.0)
 BuildRequires: pkgconfig(libxml-2.0)
 BuildRequires: pkgconfig(vconf)
index 7328ce21906a6ae9bd35ed419473139930300fb7..cc9f26ac9867f953d8512523fdb637f0f52b67d2 100755 (executable)
@@ -3,14 +3,14 @@
     <label>CoreSttTest</label>
     <author email="mymail@tizentest.com" href="www.tizentest.com">test</author>
     <description>Native API test Application</description>
-    <ui-application appid="native.stt-itc" exec="/usr/apps/native-stt-itc/bin/tct-stt-native" nodisplay="false" multiple="false" type="capp" taskmanage="true">
+    <service-application appid="native.stt-itc" exec="/usr/apps/native-stt-itc/bin/tct-stt-native" nodisplay="false" multiple="false" type="capp" taskmanage="true">
     <background-category value="background-network"/>
        <background-category value="download"/>
        <background-category value="iot-communication"/>
        <background-category value="location"/>
        <background-category value="media"/>
        <background-category value="sensor"/>
-    </ui-application>
+    </service-application>
        <privileges>
                <privilege>http://tizen.org/privilege/recorder</privilege>
                <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
index 5809290f9b25753b046a6757177e676abad762ab..c105a622a3e1fcd4c9cc5bba26193adc7eb0e2e9 100755 (executable)
@@ -12,7 +12,7 @@ SET(TC_SOURCES
 
 PKG_CHECK_MODULES(${CAPI_LIB} REQUIRED
     ${CAPI_LIB}
-       capi-appfw-application
+       capi-appfw-service-application
        bundle
        capi-system-info
        glib-2.0
index 269e6c8b4e18f03223659ed8e828b6e3bba66453..460011ba7678c9e84b8a23510d97b96a298b85df 100755 (executable)
@@ -21,7 +21,7 @@
 
 #include <stt.h>
 #include <stte.h>
-#include <app.h>
+#include <service_app.h>
 #include <system_info.h>
 
 #include <glib.h>
index 4713e0cb70554cc81ffaa74a2f83a68ddde3d406..dfb8b961c6cfb9a0d856882837f6af889eff80ea 100755 (executable)
@@ -42,7 +42,7 @@
 #include <glib.h>
 #include <stdbool.h>
 
-#include <app.h>
+#include <service_app.h>
 #include <dlog.h>
 
 #include <sys/socket.h>
@@ -97,7 +97,7 @@ static void app_control(app_control_h app_control, void *data)
 
                        if (0 == strncmp(pszGetTCName, "ITc_stt_set_unset_engine_changed_cb_p", strlen(pszGetTCName)) || 0 == strncmp("ITc_stte_", pszGetTCName, strlen("ITc_stte_"))) {
                                dlog_print(DLOG_INFO, "NativeTCT", "%s must be exited", pszGetTCName);
-                               ui_app_exit();
+                               service_app_exit();
                        }
 
                        FREE_MEMORY_TC(pszGetTCName);
@@ -121,7 +121,7 @@ int main(int argc, char *argv[])
 {
        int ret = 0;
 
-       ui_app_lifecycle_callback_s event_callback = {0,};
+       service_app_lifecycle_callback_s event_callback = {0,};
        event_callback.create = app_create;
        event_callback.terminate = app_terminate;
        event_callback.app_control = app_control;
@@ -131,11 +131,11 @@ int main(int argc, char *argv[])
        dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Coverage *.gcda File location set to /tmp/home/abuild/rpmbuild/BUILD/ ", __FUNCTION__, __LINE__);
 
        dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Application Main Function is Invoked", __FUNCTION__, __LINE__);
-       ret = ui_app_main(argc, argv, &event_callback, NULL);
+       ret = service_app_main(argc, argv, &event_callback, NULL);
        if (ret != APP_ERROR_NONE)
        {
-               dlog_print(DLOG_ERROR, "NativeTCT", "Application ui_app_main call gets failed. err = %d", ret);
-               PRINT_UTC_LOG("\\n[%s][Line : %d]Application ui_app_main call gets failed. err = %d\\n", __FILE__, __LINE__, ret);
+               dlog_print(DLOG_ERROR, "NativeTCT", "Application service_app_main call gets failed. err = %d", ret);
+               PRINT_UTC_LOG("\\n[%s][Line : %d]Application service_app_main call gets failed. err = %d\\n", __FILE__, __LINE__, ret);
                PRINT_TC_RESULT("%d",1);
                return ret;
        }