From: Priya Kohli Date: Fri, 4 Sep 2020 07:09:15 +0000 (+0530) Subject: [ITC][connection][ACR-1594][Added error CONNECTION_ERROR_NOT_SUPPORTEDs] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1f29ec88baae24181535d4d32f456f5feea82c25;p=test%2Ftct%2Fnative%2Fapi.git [ITC][connection][ACR-1594][Added error CONNECTION_ERROR_NOT_SUPPORTEDs] Change-Id: I946c74e3d6b13b11f22918443781ecb01a9d3c89 Signed-off-by: Priya Kohli --- diff --git a/src/itc/connection/ITs-connection-cellular-profile.c b/src/itc/connection/ITs-connection-cellular-profile.c index c07e35e56..941291d91 100755 --- a/src/itc/connection/ITs-connection-cellular-profile.c +++ b/src/itc/connection/ITs-connection-cellular-profile.c @@ -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; diff --git a/src/itc/connection/ITs-connection-ethernet-profile.c b/src/itc/connection/ITs-connection-ethernet-profile.c index a0d938456..b3c00f46f 100755 --- a/src/itc/connection/ITs-connection-ethernet-profile.c +++ b/src/itc/connection/ITs-connection-ethernet-profile.c @@ -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; diff --git a/src/itc/connection/ITs-connection-profile.c b/src/itc/connection/ITs-connection-profile.c index 6341e0054..ec39d7752 100755 --- a/src/itc/connection/ITs-connection-profile.c +++ b/src/itc/connection/ITs-connection-profile.c @@ -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; diff --git a/src/itc/connection/ITs-connection-wifi-profile.c b/src/itc/connection/ITs-connection-wifi-profile.c index 79c496fff..a0e20b0c4 100755 --- a/src/itc/connection/ITs-connection-wifi-profile.c +++ b/src/itc/connection/ITs-connection-wifi-profile.c @@ -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; diff --git a/src/itc/connection/ITs-connection.c b/src/itc/connection/ITs-connection.c index 5dedbf59b..8c301e9de 100755 --- a/src/itc/connection/ITs-connection.c +++ b/src/itc/connection/ITs-connection.c @@ -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;