Home
last modified time | relevance | path

Searched refs:JsObjectToString (Results 1 – 11 of 11) sorted by relevance

/base/location/frameworks/native/source/
Dnapi_util.cpp308 …CHK_ERROR_CODE("command", JsObjectToString(env, object, "command", MAX_BUF_LEN, commandConfig->com… in JsObjToCommand()
322 CHK_ERROR_CODE("locale", JsObjectToString(env, object, "locale", bufLen, locale), false); in JsObjToGeoCodeRequest()
323 …CHK_ERROR_CODE("description", JsObjectToString(env, object, "description", bufLen, description), t… in JsObjToGeoCodeRequest()
369 …CHK_ERROR_CODE("locale", JsObjectToString(env, object, "locale", MAX_BUF_LEN, locale), false); // … in JsObjToReverseGeoCodeRequest()
401 JsObjectToString(env, value, "locale", MAX_BUF_LEN, request->locale); in GetLocationInfo()
479 JsObjectToString(env, value, "locale", bufLen, address->locale_); in GetGeoAddressInfo()
480 JsObjectToString(env, value, "placeName", bufLen, address->placeName_); in GetGeoAddressInfo()
481 JsObjectToString(env, value, "countryCode", bufLen, address->countryCode_); in GetGeoAddressInfo()
482 JsObjectToString(env, value, "countryName", bufLen, address->countryName_); in GetGeoAddressInfo()
483 JsObjectToString(env, value, "administrativeArea", bufLen, address->administrativeArea_); in GetGeoAddressInfo()
[all …]
/base/customization/enterprise_device_management/interfaces/kits/network_manager/src/
Dnetwork_manager_addon.cpp388 JsObjectToString(env, object, "srcAddr", false, filter.srcAddr); in JsObjToAddFirewallObject()
389 JsObjectToString(env, object, "destAddr", false, filter.destAddr); in JsObjToAddFirewallObject()
390 JsObjectToString(env, object, "srcPort", false, filter.srcPort); in JsObjToAddFirewallObject()
391 JsObjectToString(env, object, "destPort", false, filter.destPort); in JsObjToAddFirewallObject()
392 JsObjectToString(env, object, "uid", false, filter.uid); in JsObjToAddFirewallObject()
470 JsObjectToString(env, object, "srcAddr", false, firewall.srcAddr); in JsObjToRemoveFirewallObject()
471 JsObjectToString(env, object, "destAddr", false, firewall.destAddr); in JsObjToRemoveFirewallObject()
472 JsObjectToString(env, object, "srcPort", false, firewall.srcPort); in JsObjToRemoveFirewallObject()
473 JsObjectToString(env, object, "destPort", false, firewall.destPort); in JsObjToRemoveFirewallObject()
474 JsObjectToString(env, object, "uid", false, firewall.uid); in JsObjToRemoveFirewallObject()
[all …]
/base/usb/usb_manager/interfaces/kits/js/napi/include/
Dnapi_util.h27 … static void JsObjectToString(const napi_env &env, const napi_value &object, std::string fieldStr,
/base/customization/enterprise_device_management/interfaces/kits/wifi_manager/src/
Dwifi_manager_addon.cpp275 if (!JsObjectToString(env, object, "ssid", true, config.ssid) || in JsObjToDeviceConfig()
276 !JsObjectToString(env, object, "bssid", false, config.bssid) || in JsObjToDeviceConfig()
277 !JsObjectToString(env, object, "preSharedKey", true, config.preSharedKey) || in JsObjToDeviceConfig()
385 if (!JsObjectToString(env, object, "identity", true, eapConfig.identity) || in ProcessEapPeapConfig()
386 !JsObjectToString(env, object, "password", true, eapConfig.password) || in ProcessEapPeapConfig()
397 if (!JsObjectToString(env, object, "identity", true, eapConfig.identity) || in ProcessEapTlsConfig()
/base/customization/enterprise_device_management/interfaces/kits/common/include/
Dnapi_edm_common.h79 bool JsObjectToString(napi_env env, napi_value object, const char *filedStr, bool isNecessaryProp,
/base/customization/enterprise_device_management/interfaces/kits/common/src/
Dnapi_edm_common.cpp46 if (!JsObjectToString(env, args, "bundleName", true, bundleName) || in ParseElementName()
47 !JsObjectToString(env, args, "abilityName", true, abilityName)) { in ParseElementName()
252 bool JsObjectToString(napi_env env, napi_value object, const char *filedStr, bool isNecessaryProp, in JsObjectToString() function
/base/location/interfaces/inner_api/include/
Dnapi_util.h60 int JsObjectToString(const napi_env& env, const napi_value& object,
/base/customization/enterprise_device_management/interfaces/kits/device_settings/src/
Ddevice_settings_addon.cpp205 return JsObjectToString(env, object, "alias", true, asyncCertCallbackInfo->alias); in ParseCertBlob()
/base/usb/usb_manager/interfaces/kits/js/napi/src/
Dnapi_util.cpp48 void NapiUtil::JsObjectToString( in JsObjectToString() function in OHOS::USB::NapiUtil
Dusb_info.cpp274 NapiUtil::JsObjectToString(env, interfaceObj, "name", DEFAULT_DESCRIPTION_SIZE, name); in ParseInterfaceObj()
322 NapiUtil::JsObjectToString(env, configObj, "name", DEFAULT_DESCRIPTION_SIZE, name); in ParseConfigObj()
359 NapiUtil::JsObjectToString(env, deviceObj, "name", DEFAULT_DESCRIPTION_SIZE, name); in ParseDeviceObj()
361 …NapiUtil::JsObjectToString(env, deviceObj, "manufacturerName", DEFAULT_DESCRIPTION_SIZE, manufactu… in ParseDeviceObj()
363 … NapiUtil::JsObjectToString(env, deviceObj, "productName", DEFAULT_DESCRIPTION_SIZE, productName); in ParseDeviceObj()
365 NapiUtil::JsObjectToString(env, deviceObj, "version", DEFAULT_DESCRIPTION_SIZE, version); in ParseDeviceObj()
/base/customization/enterprise_device_management/interfaces/kits/admin_manager/src/
Dadmin_manager_addon.cpp579 if (!JsObjectToString(env, args, "name", true, name) || in ParseEnterpriseInfo()
580 !JsObjectToString(env, args, "description", true, description)) { in ParseEnterpriseInfo()