[ITC][connection][ACR-1594][Added error CONNECTION_ERROR_NOT_SUPPORTEDs] 42/243242/2
authorPriya Kohli <priya.kohli@samsung.com>
Fri, 4 Sep 2020 07:09:15 +0000 (12:39 +0530)
committershobhit verma <shobhit.v@samsung.com>
Tue, 8 Sep 2020 15:05:30 +0000 (15:05 +0000)
Change-Id: I946c74e3d6b13b11f22918443781ecb01a9d3c89
Signed-off-by: Priya Kohli <priya.kohli@samsung.com>
src/itc/connection/ITs-connection-cellular-profile.c
src/itc/connection/ITs-connection-ethernet-profile.c
src/itc/connection/ITs-connection-profile.c
src/itc/connection/ITs-connection-wifi-profile.c
src/itc/connection/ITs-connection.c

index c07e35e56b449b8b076c1daad34c8e24d8c1b50c..941291d9140094cabab95f9a70c0404616d72c52 100755 (executable)
@@ -79,7 +79,7 @@ void ITs_connection_cellular_profile_startup(void)
        if ( false == bTelFeatureSupported && false == bWifiFeatureSupported && false == bBtFeatureSupported && false == bEthernetFeatureSupported )
        {
                g_bFeatureSupported = false;
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
+               if ( nRet != CONNECTION_ERROR_NOT_SUPPORTED )
                {
                        FPRINTF("[Line: %d][%s] connection_create API call returned mismatch %s error for unsupported telephony feature\\n", __LINE__, API_NAMESPACE, ConnectionGetError(nRet));
                        g_bFeatureMismatch = true;
index a0d938456f88ad929ad52388a57c4aaf01be163f..b3c00f46f561268366935a2ea6e88cc78cdf6bfc 100755 (executable)
@@ -54,7 +54,7 @@ void ITs_connection_ethernet_profile_startup(void)
        if ( false == bTelFeatureSupported && false == bWifiFeatureSupported && false == bBtFeatureSupported && false == bEthFeatureSupported)
        {
                g_bFeatureSupported = false;
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
+               if ( nRet != CONNECTION_ERROR_NOT_SUPPORTED )
                {
                        FPRINTF("[Line: %d][%s] connection_create API call returned mismatch %s error for unsupported telephony feature\\n", __LINE__, API_NAMESPACE, ConnectionGetError(nRet));
                        g_bFeatureMismatch = true;
index 6341e00540c8a23363532d08bdab9e7e753809a6..ec39d77525e128aacbbb28ac0888cd2d9c361852 100755 (executable)
@@ -132,7 +132,7 @@ void ITs_connection_profile_startup(void)
        if ( false == bTelFeatureSupported && false == bWifiFeatureSupported && false == bBtFeatureSupported && false == bEthernetFeatureSupported )
        {
                g_bFeatureSupported = false;
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
+               if ( nRet != CONNECTION_ERROR_NOT_SUPPORTED )
                {
                        FPRINTF("[Line : %d][%s] connection_create API call returned mismatch %s error for unsupported telephony feature\\n", __LINE__, API_NAMESPACE, ConnectionGetError(nRet));
                        g_bFeatureMismatch = true;
index 79c496fffecf414b95be3d45ec2808e9b965cd89..a0e20b0c4a2ae9aa9b8f36eb49be6332e82f2719 100755 (executable)
@@ -61,7 +61,7 @@ void ITs_connection_wifi_profile_startup(void)
        if ( false == bTelFeatureSupported && false == bWifiFeatureSupported && false == bBtFeatureSupported && false == bEthernetFeatureSupported)
        {
                g_bFeatureSupported = false;
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
+               if ( nRet != CONNECTION_ERROR_NOT_SUPPORTED )
                {
                        FPRINTF("[Line : %d][%s] connection_create API call returned mismatch %s error for unsupported telephony feature\\n", __LINE__, API_NAMESPACE, ConnectionGetError(nRet));
                        g_bFeatureMismatch = true;
index 5dedbf59bc3e219287171b29b53cb6dbf694d541..8c301e9de34dc4954ebfa5c6044536c6767df3ea 100755 (executable)
@@ -128,7 +128,7 @@ void ITs_connection_startup(void)
        if ( false == g_bTelFeatureSupported && false == g_bWifiFeatureSupported && false == g_bBtFeatureSupported && false == g_bEthernetFeatureSupported) 
        {
                g_bFeatureSupported = false;
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
+               if ( nRet != CONNECTION_ERROR_NOT_SUPPORTED )
                {
                        FPRINTF("[Line : %d][%s] connection_create API call returned mismatch %s error for unsupported telephony feature\\n", __LINE__, API_NAMESPACE, ConnectionGetError(nRet));
                        g_bFeatureMismatch = true;