From 1614e5271895f764e23fcbe9987e2d949949d6f4 Mon Sep 17 00:00:00 2001 From: Shashank Shekhar Shukla Date: Tue, 14 Jun 2016 16:50:10 +0900 Subject: [PATCH] [CTC][platform-permission][Non-ACR][Added functionality to check all installed test-tpks] Change-Id: I6c279ea636fcb4ddcdf4224ed7555b34566b1ff7 Signed-off-by: Shashank Shekhar Shukla --- src/ctc/platform-permission/CMakeLists.txt | 2 +- src/ctc/platform-permission/CTs-platform-permission-accountsvc.c | 1 + src/ctc/platform-permission/CTs-platform-permission-app-manager.c | 1 + src/ctc/platform-permission/CTs-platform-permission-application.c | 1 + .../platform-permission/CTs-platform-permission-attach-panel.c | 1 + src/ctc/platform-permission/CTs-platform-permission-audio-io.c | 1 + src/ctc/platform-permission/CTs-platform-permission-badge.c | 1 + src/ctc/platform-permission/CTs-platform-permission-bluetooth.c | 1 + .../CTs-platform-permission-calendar-service.c | 1 + src/ctc/platform-permission/CTs-platform-permission-camera.c | 1 + src/ctc/platform-permission/CTs-platform-permission-common.h | 8 ++++++++ src/ctc/platform-permission/CTs-platform-permission-connection.c | 1 + .../CTs-platform-permission-contacts-service.c | 3 ++- src/ctc/platform-permission/CTs-platform-permission-context.c | 1 + src/ctc/platform-permission/CTs-platform-permission-datacontrol.c | 1 + src/ctc/platform-permission/CTs-platform-permission-device.c | 1 + src/ctc/platform-permission/CTs-platform-permission-efl-util.c | 1 + src/ctc/platform-permission/CTs-platform-permission-email.c | 1 + src/ctc/platform-permission/CTs-platform-permission-ime.c | 1 + .../CTs-platform-permission-inputmethod-manager.c | 1 + src/ctc/platform-permission/CTs-platform-permission-iotcon.c | 1 + src/ctc/platform-permission/CTs-platform-permission-libfeedback.c | 1 + .../CTs-platform-permission-location-manager.c | 1 + .../platform-permission/CTs-platform-permission-maps-service.c | 1 + .../platform-permission/CTs-platform-permission-media-content.c | 1 + .../CTs-platform-permission-media-controller.c | 1 + .../platform-permission/CTs-platform-permission-media-streamer.c | 1 + src/ctc/platform-permission/CTs-platform-permission-messages.c | 1 + src/ctc/platform-permission/CTs-platform-permission-nfc.c | 1 + .../platform-permission/CTs-platform-permission-notification.c | 1 + .../platform-permission/CTs-platform-permission-oauth2-manager.c | 1 + .../platform-permission/CTs-platform-permission-package-manager.c | 1 + .../CTs-platform-permission-phonenumber-utils.c | 3 ++- src/ctc/platform-permission/CTs-platform-permission-recorder.c | 1 + .../platform-permission/CTs-platform-permission-runtime-info.c | 1 + src/ctc/platform-permission/CTs-platform-permission-sensor.c | 1 + .../CTs-platform-permission-service-adaptor-client.c | 2 +- src/ctc/platform-permission/CTs-platform-permission-shortcut.c | 1 + src/ctc/platform-permission/CTs-platform-permission-smartcard.c | 1 + .../platform-permission/CTs-platform-permission-sound-manager.c | 1 + src/ctc/platform-permission/CTs-platform-permission-sppc.c | 1 + src/ctc/platform-permission/CTs-platform-permission-stt.c | 1 + .../platform-permission/CTs-platform-permission-sync-manager.c | 1 + src/ctc/platform-permission/CTs-platform-permission-telephony.c | 1 + .../platform-permission/CTs-platform-permission-thumbnail-util.c | 1 + .../platform-permission/CTs-platform-permission-url-download.c | 1 + .../CTs-platform-permission-voice-control-elm.c | 1 + .../platform-permission/CTs-platform-permission-voice-control.c | 1 + src/ctc/platform-permission/CTs-platform-permission-vpn-service.c | 1 + .../platform-permission/CTs-platform-permission-widget-service.c | 1 + .../platform-permission/CTs-platform-permission-widget-viewer.c | 1 + src/ctc/platform-permission/CTs-platform-permission-wifi-direct.c | 1 + src/ctc/platform-permission/CTs-platform-permission-wifi.c | 1 + 53 files changed, 62 insertions(+), 4 deletions(-) diff --git a/src/ctc/platform-permission/CMakeLists.txt b/src/ctc/platform-permission/CMakeLists.txt index 3997d13..4481025 100755 --- a/src/ctc/platform-permission/CMakeLists.txt +++ b/src/ctc/platform-permission/CMakeLists.txt @@ -260,7 +260,7 @@ INCLUDE_DIRECTORIES( ${${CAPI_LIB}_INCLUDE_DIRS} ) -ADD_EXECUTABLE(${EXEC_NAME} tct-${PKG_NAME}-native.c ${TC_SOURCES} ${COMMON_FILE}) +ADD_EXECUTABLE(${EXEC_NAME} tct-${PKG_NAME}-native.c ${TC_SOURCES} ${COMMON_FILE} ${COMMON_APP_FILE}) TARGET_LINK_LIBRARIES(${EXEC_NAME} ${${CAPI_LIB}_LIBRARIES} bundle diff --git a/src/ctc/platform-permission/CTs-platform-permission-accountsvc.c b/src/ctc/platform-permission/CTs-platform-permission-accountsvc.c index 293f5eb..08373a9 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-accountsvc.c +++ b/src/ctc/platform-permission/CTs-platform-permission-accountsvc.c @@ -352,6 +352,7 @@ bool AccountPreConditionHelper(void) */ void CTs_platform_permission_accountsvc_startup(void) { + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); struct stat stBuff; int nRet = account_create(&g_account); if ( nRet != ACCOUNT_ERROR_NONE ) diff --git a/src/ctc/platform-permission/CTs-platform-permission-app-manager.c b/src/ctc/platform-permission/CTs-platform-permission-app-manager.c index d9c124a..36fa3e4 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-app-manager.c +++ b/src/ctc/platform-permission/CTs-platform-permission-app-manager.c @@ -96,6 +96,7 @@ void CTs_platform_permission_appmanager_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-application.c b/src/ctc/platform-permission/CTs-platform-permission-application.c index 8ddc87c..cd95209 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-application.c +++ b/src/ctc/platform-permission/CTs-platform-permission-application.c @@ -146,6 +146,7 @@ void CTs_platform_permission_Application_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_Application_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-attach-panel.c b/src/ctc/platform-permission/CTs-platform-permission-attach-panel.c index 8549ec8..de7d659 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-attach-panel.c +++ b/src/ctc/platform-permission/CTs-platform-permission-attach-panel.c @@ -70,6 +70,7 @@ char* AttachPanelInfoGetError(int nRet) */ void CTs_platform_permission_Attach_Panel_startup(void) { + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); struct stat stBuff; if ( stat(ERR_LOG, &stBuff) == 0 ) { diff --git a/src/ctc/platform-permission/CTs-platform-permission-audio-io.c b/src/ctc/platform-permission/CTs-platform-permission-audio-io.c index 271c1eb..1662ca1 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-audio-io.c +++ b/src/ctc/platform-permission/CTs-platform-permission-audio-io.c @@ -84,6 +84,7 @@ void CTs_platform_permission_audioio_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-badge.c b/src/ctc/platform-permission/CTs-platform-permission-badge.c index 335aef5..daa4242 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-badge.c +++ b/src/ctc/platform-permission/CTs-platform-permission-badge.c @@ -35,6 +35,7 @@ void CTs_platform_permission_badge_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-bluetooth.c b/src/ctc/platform-permission/CTs-platform-permission-bluetooth.c index c188da5..0128d5b 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-bluetooth.c +++ b/src/ctc/platform-permission/CTs-platform-permission-bluetooth.c @@ -207,6 +207,7 @@ void CTs_platform_permission_bluetooth_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_bluetooth_startup\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-calendar-service.c b/src/ctc/platform-permission/CTs-platform-permission-calendar-service.c index f83d155..909ac05 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-calendar-service.c +++ b/src/ctc/platform-permission/CTs-platform-permission-calendar-service.c @@ -307,6 +307,7 @@ void CTs_platform_permission_CalendarService_startup(void) FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_CalendarService_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); int nRet = calendar_connect(); if ( nRet != CALENDAR_ERROR_NONE ) { diff --git a/src/ctc/platform-permission/CTs-platform-permission-camera.c b/src/ctc/platform-permission/CTs-platform-permission-camera.c index 82d2b3f..4f73f6b 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-camera.c +++ b/src/ctc/platform-permission/CTs-platform-permission-camera.c @@ -17,6 +17,7 @@ void CTs_platform_permission_camera_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-common.h b/src/ctc/platform-permission/CTs-platform-permission-common.h index 2697280..f8dc61f 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-common.h +++ b/src/ctc/platform-permission/CTs-platform-permission-common.h @@ -19,6 +19,8 @@ //Add test package related includes here #include "tct_common.h" +#include "tct_app_common.h" + #include #include #include @@ -155,6 +157,12 @@ #define FEATURE_NETWORK_WIFI "http://tizen.org/feature/network.wifi" #define FEATURE_NETWORK_WIFI_TDLS "http://tizen.org/feature/network.wifi.tdls" +#define TPK1 "native-testapp-itc" +#define TPK2 "org.tizen.appmanagertestfile" +#define TPK3 "org.tizen.datacontrolprovider" +#define TPK4 "org.tizen.helloworld" +#define TPK5 "org.tizen.testapplication" + #define START_TEST {\ FPRINTF("[Line : %d][%s] Starting test : %s\\n", __LINE__, API_NAMESPACE, __FUNCTION__);\ } diff --git a/src/ctc/platform-permission/CTs-platform-permission-connection.c b/src/ctc/platform-permission/CTs-platform-permission-connection.c index de7b30a..138fe40 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-connection.c +++ b/src/ctc/platform-permission/CTs-platform-permission-connection.c @@ -17,6 +17,7 @@ void CTs_platform_permission_connection_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-contacts-service.c b/src/ctc/platform-permission/CTs-platform-permission-contacts-service.c index 97e2ab8..a0e28d0 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-contacts-service.c +++ b/src/ctc/platform-permission/CTs-platform-permission-contacts-service.c @@ -326,8 +326,9 @@ void CTs_platform_permission_ContactsService_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_ContactsService_p\\n", __LINE__, API_NAMESPACE); -#endif +#endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); g_bIsConnected = false; if ( ContactsServiceConnect() == true ) { diff --git a/src/ctc/platform-permission/CTs-platform-permission-context.c b/src/ctc/platform-permission/CTs-platform-permission-context.c index c4f839d..e694d6c 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-context.c +++ b/src/ctc/platform-permission/CTs-platform-permission-context.c @@ -33,6 +33,7 @@ void CTs_platform_permission_context_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-datacontrol.c b/src/ctc/platform-permission/CTs-platform-permission-datacontrol.c index f92d544..6590367 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-datacontrol.c +++ b/src/ctc/platform-permission/CTs-platform-permission-datacontrol.c @@ -124,6 +124,7 @@ void CTs_platform_permission_datacontrol_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-device.c b/src/ctc/platform-permission/CTs-platform-permission-device.c index f3d7fdc..81591b9 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-device.c +++ b/src/ctc/platform-permission/CTs-platform-permission-device.c @@ -27,6 +27,7 @@ void CTs_platform_permission_device_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-efl-util.c b/src/ctc/platform-permission/CTs-platform-permission-efl-util.c index 42f5b1c..66524c6 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-efl-util.c +++ b/src/ctc/platform-permission/CTs-platform-permission-efl-util.c @@ -68,6 +68,7 @@ void CTs_platform_permission_efl_util_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } diff --git a/src/ctc/platform-permission/CTs-platform-permission-email.c b/src/ctc/platform-permission/CTs-platform-permission-email.c index 549892c..e70b16c 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-email.c +++ b/src/ctc/platform-permission/CTs-platform-permission-email.c @@ -43,6 +43,7 @@ void CTs_platform_permission_email_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-ime.c b/src/ctc/platform-permission/CTs-platform-permission-ime.c index f387737..cda69db 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-ime.c +++ b/src/ctc/platform-permission/CTs-platform-permission-ime.c @@ -52,6 +52,7 @@ void CTs_platform_permission_ime_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-inputmethod-manager.c b/src/ctc/platform-permission/CTs-platform-permission-inputmethod-manager.c index 3e80eef..7abd248 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-inputmethod-manager.c +++ b/src/ctc/platform-permission/CTs-platform-permission-inputmethod-manager.c @@ -39,6 +39,7 @@ void CTs_platform_permission_inputmethodmanager_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-iotcon.c b/src/ctc/platform-permission/CTs-platform-permission-iotcon.c index ff24013..0ba283b 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-iotcon.c +++ b/src/ctc/platform-permission/CTs-platform-permission-iotcon.c @@ -262,6 +262,7 @@ void CTs_platform_permission_iotcon_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-libfeedback.c b/src/ctc/platform-permission/CTs-platform-permission-libfeedback.c index b52cf89..6cd0b03 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-libfeedback.c +++ b/src/ctc/platform-permission/CTs-platform-permission-libfeedback.c @@ -106,6 +106,7 @@ void CTs_platform_permission_Libfeedback_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_Libfeedback_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-location-manager.c b/src/ctc/platform-permission/CTs-platform-permission-location-manager.c index 0c0cdda..62cac54 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-location-manager.c +++ b/src/ctc/platform-permission/CTs-platform-permission-location-manager.c @@ -75,6 +75,7 @@ void CTs_platform_permission_locationmanager_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-maps-service.c b/src/ctc/platform-permission/CTs-platform-permission-maps-service.c index b27c3b3..3454f6e 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-maps-service.c +++ b/src/ctc/platform-permission/CTs-platform-permission-maps-service.c @@ -69,6 +69,7 @@ void CTs_platform_permission_MapsService_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_MapsService_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-media-content.c b/src/ctc/platform-permission/CTs-platform-permission-media-content.c index aa59b75..42ebc2e 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-media-content.c +++ b/src/ctc/platform-permission/CTs-platform-permission-media-content.c @@ -515,6 +515,7 @@ void CTs_platform_permission_mediacontent_startup(void) FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_mediacontent_startup\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); int nRet = media_content_connect(); if ( nRet == MEDIA_CONTENT_ERROR_NONE ) { diff --git a/src/ctc/platform-permission/CTs-platform-permission-media-controller.c b/src/ctc/platform-permission/CTs-platform-permission-media-controller.c index 329f7bd..52353e5 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-media-controller.c +++ b/src/ctc/platform-permission/CTs-platform-permission-media-controller.c @@ -46,6 +46,7 @@ void CTs_platform_permission_MediaController_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_MediaController_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-media-streamer.c b/src/ctc/platform-permission/CTs-platform-permission-media-streamer.c index 035f000..911f1ab 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-media-streamer.c +++ b/src/ctc/platform-permission/CTs-platform-permission-media-streamer.c @@ -67,6 +67,7 @@ void CTs_platform_permission_media_streamer_startup(void) { remove(ERR_LOG); } + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); storage_foreach_device_supported(storage_device_cb,NULL); diff --git a/src/ctc/platform-permission/CTs-platform-permission-messages.c b/src/ctc/platform-permission/CTs-platform-permission-messages.c index 889dded..b959f04 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-messages.c +++ b/src/ctc/platform-permission/CTs-platform-permission-messages.c @@ -24,6 +24,7 @@ void CTs_platform_permission_messages_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-nfc.c b/src/ctc/platform-permission/CTs-platform-permission-nfc.c index 3169d8f..aa7b3c5 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-nfc.c +++ b/src/ctc/platform-permission/CTs-platform-permission-nfc.c @@ -179,6 +179,7 @@ void CTs_platform_permission_nfc_startup(void) { remove(ERR_LOG); } + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); int nRet = nfc_manager_initialize(); if ( nRet != NFC_ERROR_NONE ) { diff --git a/src/ctc/platform-permission/CTs-platform-permission-notification.c b/src/ctc/platform-permission/CTs-platform-permission-notification.c index 75c8ce1..befd83f 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-notification.c +++ b/src/ctc/platform-permission/CTs-platform-permission-notification.c @@ -52,6 +52,7 @@ void CTs_platform_permission_notification_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_notification_startup\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** * @function CTs_platform_permission_notification_cleanup diff --git a/src/ctc/platform-permission/CTs-platform-permission-oauth2-manager.c b/src/ctc/platform-permission/CTs-platform-permission-oauth2-manager.c index 173bf9f..ec70928 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-oauth2-manager.c +++ b/src/ctc/platform-permission/CTs-platform-permission-oauth2-manager.c @@ -37,6 +37,7 @@ void CTs_platform_permission_OAuth2_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_OAuth2_startup\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-package-manager.c b/src/ctc/platform-permission/CTs-platform-permission-package-manager.c index 30723af..ed0d2dd 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-package-manager.c +++ b/src/ctc/platform-permission/CTs-platform-permission-package-manager.c @@ -48,6 +48,7 @@ void CTs_platform_permission_packagemanager_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-phonenumber-utils.c b/src/ctc/platform-permission/CTs-platform-permission-phonenumber-utils.c index 631c8f5..0e980cb 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-phonenumber-utils.c +++ b/src/ctc/platform-permission/CTs-platform-permission-phonenumber-utils.c @@ -42,7 +42,8 @@ void CTs_platform_permission_phonenumber_utils_startup(void) { remove(ERR_LOG); } - + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); + int nRet = phone_number_connect(); if ( nRet != PHONE_NUMBER_ERROR_NONE ) { diff --git a/src/ctc/platform-permission/CTs-platform-permission-recorder.c b/src/ctc/platform-permission/CTs-platform-permission-recorder.c index 4f6f567..0b8424cf 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-recorder.c +++ b/src/ctc/platform-permission/CTs-platform-permission-recorder.c @@ -23,6 +23,7 @@ void CTs_platform_permission_recorder_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-runtime-info.c b/src/ctc/platform-permission/CTs-platform-permission-runtime-info.c index 992cc07..671b073 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-runtime-info.c +++ b/src/ctc/platform-permission/CTs-platform-permission-runtime-info.c @@ -16,6 +16,7 @@ void CTs_platform_permission_runtimeinfo_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-sensor.c b/src/ctc/platform-permission/CTs-platform-permission-sensor.c index 5d30872..23cc401 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-sensor.c +++ b/src/ctc/platform-permission/CTs-platform-permission-sensor.c @@ -40,6 +40,7 @@ void CTs_platform_permission_sensor_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-service-adaptor-client.c b/src/ctc/platform-permission/CTs-platform-permission-service-adaptor-client.c index 839d9b6..19fb16e 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-service-adaptor-client.c +++ b/src/ctc/platform-permission/CTs-platform-permission-service-adaptor-client.c @@ -438,7 +438,7 @@ void CTs_platform_permission_ServiceAdaptorClient_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_ServiceAdaptorClient_p\\n", __LINE__, API_NAMESPACE); #endif - + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); char pszValue[CONFIG_VALUE_LEN_MAX] = {0,}; if ( true == GetValueForTCTSetting("DEVICE_SUITE_TARGET_30", pszValue, API_NAMESPACE )) { diff --git a/src/ctc/platform-permission/CTs-platform-permission-shortcut.c b/src/ctc/platform-permission/CTs-platform-permission-shortcut.c index eed5996..cada96a 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-shortcut.c +++ b/src/ctc/platform-permission/CTs-platform-permission-shortcut.c @@ -75,6 +75,7 @@ void CTs_platform_permission_shortcut_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-smartcard.c b/src/ctc/platform-permission/CTs-platform-permission-smartcard.c index 8bdb365..76e4fde 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-smartcard.c +++ b/src/ctc/platform-permission/CTs-platform-permission-smartcard.c @@ -26,6 +26,7 @@ void CTs_platform_permission_smartcard_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-sound-manager.c b/src/ctc/platform-permission/CTs-platform-permission-sound-manager.c index e8b6440..2247fd5 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-sound-manager.c +++ b/src/ctc/platform-permission/CTs-platform-permission-sound-manager.c @@ -17,6 +17,7 @@ void CTs_platform_permission_soundmanager_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_soundmanager_startup\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-sppc.c b/src/ctc/platform-permission/CTs-platform-permission-sppc.c index 8dedec7..f97af25 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-sppc.c +++ b/src/ctc/platform-permission/CTs-platform-permission-sppc.c @@ -42,6 +42,7 @@ void CTs_platform_permission_sppc_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_sppc_startup\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-stt.c b/src/ctc/platform-permission/CTs-platform-permission-stt.c index b2d5e35..73adf2e 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-stt.c +++ b/src/ctc/platform-permission/CTs-platform-permission-stt.c @@ -49,6 +49,7 @@ void CTs_platform_permission_stt_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-sync-manager.c b/src/ctc/platform-permission/CTs-platform-permission-sync-manager.c index f519c77..2be38d8 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-sync-manager.c +++ b/src/ctc/platform-permission/CTs-platform-permission-sync-manager.c @@ -66,6 +66,7 @@ void CTs_platform_permission_syncmanager_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-telephony.c b/src/ctc/platform-permission/CTs-platform-permission-telephony.c index 6b86b4d..b191210 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-telephony.c +++ b/src/ctc/platform-permission/CTs-platform-permission-telephony.c @@ -52,6 +52,7 @@ void CTs_platform_permission_telephony_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_telephony_startup\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-thumbnail-util.c b/src/ctc/platform-permission/CTs-platform-permission-thumbnail-util.c index 2317ba9..1d6a652 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-thumbnail-util.c +++ b/src/ctc/platform-permission/CTs-platform-permission-thumbnail-util.c @@ -137,6 +137,7 @@ void CTs_platform_permission_thumbnailutil_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-url-download.c b/src/ctc/platform-permission/CTs-platform-permission-url-download.c index 498df63..2d3b64a 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-url-download.c +++ b/src/ctc/platform-permission/CTs-platform-permission-url-download.c @@ -17,6 +17,7 @@ void CTs_platform_permission_urldownload_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-voice-control-elm.c b/src/ctc/platform-permission/CTs-platform-permission-voice-control-elm.c index 661314e..bf1b272 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-voice-control-elm.c +++ b/src/ctc/platform-permission/CTs-platform-permission-voice-control-elm.c @@ -51,6 +51,7 @@ void CTs_platform_permission_VoiceControlElm_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_VoiceControlElm_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-voice-control.c b/src/ctc/platform-permission/CTs-platform-permission-voice-control.c index b4117f7..a7296ba 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-voice-control.c +++ b/src/ctc/platform-permission/CTs-platform-permission-voice-control.c @@ -59,6 +59,7 @@ void CTs_platform_permission_VoiceControl_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_VoiceControl_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-vpn-service.c b/src/ctc/platform-permission/CTs-platform-permission-vpn-service.c index 7c7dac2..68c981a 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-vpn-service.c +++ b/src/ctc/platform-permission/CTs-platform-permission-vpn-service.c @@ -25,6 +25,7 @@ void CTs_platform_permission_vpn_service_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_vpn_service_startup\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-widget-service.c b/src/ctc/platform-permission/CTs-platform-permission-widget-service.c index 5998abf..7f9b245 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-widget-service.c +++ b/src/ctc/platform-permission/CTs-platform-permission-widget-service.c @@ -127,6 +127,7 @@ void CTs_platform_permission_widgetservice_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_widgetservice_startup\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-widget-viewer.c b/src/ctc/platform-permission/CTs-platform-permission-widget-viewer.c index cadf413..e9ff00b 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-widget-viewer.c +++ b/src/ctc/platform-permission/CTs-platform-permission-widget-viewer.c @@ -74,6 +74,7 @@ void CTs_platform_permission_WidgetViewer_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_WidgetViewer_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-wifi-direct.c b/src/ctc/platform-permission/CTs-platform-permission-wifi-direct.c index b12ad15..a87ad4e 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-wifi-direct.c +++ b/src/ctc/platform-permission/CTs-platform-permission-wifi-direct.c @@ -17,6 +17,7 @@ void CTs_platform_permission_wifidirect_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** diff --git a/src/ctc/platform-permission/CTs-platform-permission-wifi.c b/src/ctc/platform-permission/CTs-platform-permission-wifi.c index 42bf843..80690bc 100755 --- a/src/ctc/platform-permission/CTs-platform-permission-wifi.c +++ b/src/ctc/platform-permission/CTs-platform-permission-wifi.c @@ -46,6 +46,7 @@ void CTs_platform_permission_wifi_startup(void) #if DEBUG FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_wifi_startup\\n", __LINE__, API_NAMESPACE); #endif + TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5); } /** -- 2.7.4