Home
last modified time | relevance | path

Searched refs:ipConfig (Results 1 – 4 of 4) sorted by relevance

/base/customization/enterprise_device_management/interfaces/kits/wifi_manager/include/
Dwifi_manager_addon.h83 … bool ProcessIpType(int32_t ipType, napi_env env, napi_value object, Wifi::WifiIpConfig &ipConfig);
84 static bool ConfigStaticIp(napi_env env, napi_value object, Wifi::WifiIpConfig &ipConfig);
/base/customization/enterprise_device_management/interfaces/kits/wifi_manager/src/
Dwifi_manager_addon.cpp319 …Addon::ProcessIpType(int32_t ipType, napi_env env, napi_value object, Wifi::WifiIpConfig &ipConfig) in ProcessIpType() argument
321 MessageParcelUtils::ProcessAssignIpMethod(ipType, ipConfig); in ProcessIpType()
322 … == static_cast<int32_t>(Wifi::AssignIpMethod::STATIC) && !ConfigStaticIp(env, object, ipConfig)) { in ProcessIpType()
328 bool WifiManagerAddon::ConfigStaticIp(napi_env env, napi_value object, Wifi::WifiIpConfig &ipConfig) in ConfigStaticIp() argument
336 ipConfig.staticIpAddress.ipAddress.address.addressIpv4) || in ConfigStaticIp()
338 ipConfig.staticIpAddress.gateway.addressIpv4) || in ConfigStaticIp()
340 ipConfig.staticIpAddress.ipAddress.prefixLength) || in ConfigStaticIp()
344 ipConfig.staticIpAddress.ipAddress.address.family = 0; in ConfigStaticIp()
354 napi_get_value_uint32(env, primaryDns, &ipConfig.staticIpAddress.dnsServer1.addressIpv4); in ConfigStaticIp()
355 napi_get_value_uint32(env, secondDns, &ipConfig.staticIpAddress.dnsServer2.addressIpv4); in ConfigStaticIp()
/base/customization/enterprise_device_management/common/native/include/plugin_utils/
Dmessage_parcel_utils.h34 static void ProcessAssignIpMethod(int32_t ipMethod, Wifi::WifiIpConfig &ipConfig);
/base/customization/enterprise_device_management/common/native/src/plugin_utils/
Dmessage_parcel_utils.cpp133 void MessageParcelUtils::ProcessAssignIpMethod(int32_t ipMethod, Wifi::WifiIpConfig &ipConfig) in ProcessAssignIpMethod() argument
137 ipConfig.assignMethod = Wifi::AssignIpMethod::DHCP; in ProcessAssignIpMethod()
140 ipConfig.assignMethod = Wifi::AssignIpMethod::STATIC; in ProcessAssignIpMethod()
143 ipConfig.assignMethod = Wifi::AssignIpMethod::UNASSIGNED; in ProcessAssignIpMethod()