}
error_e NetworkState::AddRoute(const char *ip, const char *mask, const char *interface,
-const char *gateway, int family, bool *result)
+const char *gateway, int family, gboolean *result)
{
GVariant *message = NULL;
error_e error = ERROR_NONE;
}
error_e NetworkState::RemoveRoute(const char *ip, const char *mask, const char *interface,
-const char *gateway, int family, bool *result)
+const char *gateway, int family, gboolean *result)
{
GVariant *message = NULL;
error_e error = ERROR_NONE;
return ERROR_NONE;
}
-error_e NetworkState::GetMeteredInfo(bool *state)
+error_e NetworkState::GetMeteredInfo(gboolean *state)
{
GVariant *message = NULL;
error_e error = ERROR_NONE;
return ERROR_NONE;
}
-error_e NetworkState::GetTCPDumpState(bool *state)
+error_e NetworkState::GetTCPDumpState(gboolean *state)
{
GVariant *message = NULL;
error_e error = ERROR_NONE;
NetworkState();
~NetworkState();
error_e AddRoute(const char *ip, const char *mask, const char *interface,
- const char *gateway, int family, bool *result);
+ const char *gateway, int family, gboolean *result);
error_e RemoveRoute(const char *ip, const char *mask, const char *interface,
- const char *gateway, int family, bool *result);
+ const char *gateway, int family, gboolean *result);
error_e EthernetCableState(int *state);
error_e LaunchMdns(const char *name);
error_e DevicePolicySetWifi(int state);
error_e DevicePolicyGetWifi(int *state);
error_e DevicePolicySetWifiProfile(int state);
error_e DevicePolicyGetWifiProfile(int *state);
- error_e GetMeteredInfo(bool *state);
+ error_e GetMeteredInfo(gboolean *state);
error_e PreferredIpv6Address(const char *profile, char *address);
- error_e GetTCPDumpState(bool *state);
+ error_e GetTCPDumpState(gboolean *state);
error_e StartTCPDump();
error_e StopTCPDump();
};
const char *mask = "255.255.255.0";
const char *interface = "lo";
const char *gateway = "192.168.11.1";
- bool result;
+ gboolean result;
ret = mgr.AddRoute(ip, mask, interface, gateway,
AF_INET, &result);
const char *mask = "255.255.255.0";
const char *interface = "lo";
const char *gateway = "192.168.11.1";
- bool result;
+ gboolean result;
ret = mgr.RemoveRoute(ip, mask, interface, gateway,
AF_INET, &result);
{
error_e ret = ERROR_NONE;
NetworkState mgr;
- bool result;
+ gboolean result;
ret = mgr.RemoveRoute(NULL, NULL, NULL, NULL,
-1, &result);
{
error_e ret = ERROR_NONE;
NetworkState mgr;
- bool state;
+ gboolean state;
ret = mgr.GetMeteredInfo(&state);
EXPECT_EQ(ERROR_NONE, ret);
{
error_e ret = ERROR_NONE;
NetworkState mgr;
- bool state;
+ gboolean state;
ret = mgr.GetMeteredInfo(&state);
EXPECT_EQ(ERROR_NONE, ret);
{
error_e ret = ERROR_NONE;
NetworkState mgr;
- bool state;
+ gboolean state;
ret = mgr.GetTCPDumpState(&state);
EXPECT_EQ(ERROR_NONE, ret);
{
error_e ret = ERROR_NONE;
NetworkState mgr;
- bool state;
+ gboolean state;
ret = mgr.StartTCPDump();
EXPECT_EQ(ERROR_NONE, ret);
error_e ret = ERROR_NONE;
NetworkState mgr;
Wifi wifi_mgr;
- bool state;
+ gboolean state;
ret = mgr.StartTCPDump();
EXPECT_EQ(ERROR_NONE, ret);
{
error_e ret = ERROR_NONE;
NetworkState mgr;
- bool state;
+ gboolean state;
ret = mgr.StopTCPDump();
EXPECT_EQ(ERROR_NONE, ret);
{
error_e ret = ERROR_NONE;
NetworkState mgr;
- bool state;
+ gboolean state;
ret = mgr.StopTCPDump();
EXPECT_EQ(ERROR_NONE, ret);
{
error_e ret = ERROR_NONE;
Wifi mgr;
- bool state;
+ gboolean state;
ret = mgr.IsIpConflictDetectEnabled(&state);
EXPECT_EQ(ERROR_NONE, ret);
{
error_e ret = ERROR_NONE;
Wifi mgr;
- bool state;
+ gboolean state;
ret = mgr.GetAutoscan(&state);
EXPECT_EQ(ERROR_NONE, ret);
{
error_e ret = ERROR_NONE;
Wifi mgr;
- bool state;
+ gboolean state;
ret = mgr.IsIpConflictDetectEnabled(&state);
EXPECT_EQ(ERROR_NONE, ret);
Wifi mgr;
const unsigned char *rand_data = (unsigned char *)"0123456789012345";
unsigned int length = 16;
- bool result;
+ gboolean result;
ret = mgr.ReqSimAuth(rand_data, length, &result);
EXPECT_EQ(ERROR_NONE, ret);
unsigned char rand[5] = {0, };
const unsigned char *rand_data = (unsigned char *)rand;
unsigned int length = 5;
- bool result;
+ gboolean result;
ret = mgr.ReqSimAuth(rand_data, length, &result);
EXPECT_NE(ERROR_NONE, ret);
const unsigned char *rand_data = (unsigned char *)rand;
const unsigned char *auth_data = (unsigned char *)auth;
int length = 16;
- bool result;
+ gboolean result;
ret = mgr.ReqAkaAuth(rand_data, length, auth_data, length, &result);
EXPECT_EQ(ERROR_NONE, ret);
const unsigned char *rand_data = (unsigned char *)rand;
const unsigned char *auth_data = (unsigned char *)auth;
int length = 5;
- bool result;
+ gboolean result;
ret = mgr.ReqAkaAuth(rand_data, length, auth_data, length, &result);
EXPECT_NE(ERROR_NONE, ret);
const char *name = "gtest";
const char *sec_type = "gtest";
const char *eap = "gtest";
- bool allowed;
+ gboolean allowed;
ret = mgr.CheckBlackList(name, sec_type, eap, &allowed);
EXPECT_EQ(ERROR_NONE, ret);
return ERROR_NONE;
}
-error_e Wifi::IsIpConflictDetectEnabled(bool *state)
+error_e Wifi::IsIpConflictDetectEnabled(gboolean *state)
{
GVariant *message = NULL;
error_e error = ERROR_NONE;
return ERROR_NONE;
}
-error_e Wifi::GetAutoscan(bool *state)
+error_e Wifi::GetAutoscan(gboolean *state)
{
GVariant *message = NULL;
error_e error = ERROR_NONE;
}
error_e Wifi::ReqSimAuth(const unsigned char *rand_data, unsigned int length,
- bool *result)
+ gboolean *result)
{
GVariant *message = NULL;
error_e error = ERROR_NONE;
}
error_e Wifi::ReqAkaAuth(const unsigned char *rand_data, int rand_length,
- const unsigned char *autn_data, int auth_length, bool *result)
+ const unsigned char *autn_data, int auth_length, gboolean *result)
{
GVariant *message = NULL;
error_e error = ERROR_NONE;
}
error_e Wifi::CheckBlackList(const char *name, const char *sec_type,
- const char *eap, bool *allowed)
+ const char *eap, gboolean *allowed)
{
GVariant *message = NULL;
error_e error = ERROR_NONE;
~Wifi();
error_e GetWifiState(char *state);
-error_e IsIpConflictDetectEnabled(bool *state);
+error_e IsIpConflictDetectEnabled(gboolean *state);
error_e SetBgscan(int scan_mode);
-error_e GetAutoscan(bool *state);
+error_e GetAutoscan(gboolean *state);
error_e GetIpConflictState(int *state);
error_e GetIpConflictPeriod(int *period);
error_e GetAutoscanmode(int *autoscanmode);
error_e IpConflictSetEnable(bool detect);
error_e GetSimImsi(char *imsi);
error_e ReqSimAuth(const unsigned char *rand_data, unsigned int length,
- bool *result);
+ gboolean *result);
error_e ReqAkaAuth(const unsigned char *rand_data, int rand_length,
- const unsigned char *auth_data, int auth_length, bool *result);
+ const unsigned char *auth_data, int auth_length, gboolean *result);
error_e GetSimAuth(const unsigned char *auth_data, unsigned int length);
error_e CheckBlackList(const char *name, const char *sec_type,
- const char *eap, bool *allowed);
+ const char *eap, gboolean *allowed);
error_e TdlsDisconnect(const char *peer_mac_address, int *result);
error_e TdlsConnectedPeer(char *peer_mac_address);
error_e TdlsConnect(const char *peer_mac_address, int *result);
Name: net-config
Summary: TIZEN Network Configuration service
-Version: 1.1.135
+Version: 1.1.136
Release: 3
Group: System/Network
License: Apache-2.0