/base/location/frameworks/native/source/ |
D | napi_util.cpp | 308 …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/ |
D | network_manager_addon.cpp | 388 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/ |
D | napi_util.h | 27 … static void JsObjectToString(const napi_env &env, const napi_value &object, std::string fieldStr,
|
/base/customization/enterprise_device_management/interfaces/kits/wifi_manager/src/ |
D | wifi_manager_addon.cpp | 275 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/ |
D | napi_edm_common.h | 79 bool JsObjectToString(napi_env env, napi_value object, const char *filedStr, bool isNecessaryProp,
|
/base/customization/enterprise_device_management/interfaces/kits/common/src/ |
D | napi_edm_common.cpp | 46 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/ |
D | napi_util.h | 60 int JsObjectToString(const napi_env& env, const napi_value& object,
|
/base/customization/enterprise_device_management/interfaces/kits/device_settings/src/ |
D | device_settings_addon.cpp | 205 return JsObjectToString(env, object, "alias", true, asyncCertCallbackInfo->alias); in ParseCertBlob()
|
/base/usb/usb_manager/interfaces/kits/js/napi/src/ |
D | napi_util.cpp | 48 void NapiUtil::JsObjectToString( in JsObjectToString() function in OHOS::USB::NapiUtil
|
D | usb_info.cpp | 274 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/ |
D | admin_manager_addon.cpp | 579 if (!JsObjectToString(env, args, "name", true, name) || in ParseEnterpriseInfo() 580 !JsObjectToString(env, args, "description", true, description)) { in ParseEnterpriseInfo()
|