Home
last modified time | relevance | path

Searched refs:SetValueBool (Results 1 - 5 of 5) sorted by relevance

/base/usb/usb_manager/interfaces/kits/js/napi/include/
H A Dnapi_util.h43 static void SetValueBool(const napi_env &env, std::string fieldStr, const bool boolValue, napi_value &result);
/base/location/frameworks/js/napi/include/
H A Dnapi_util.h69 napi_status SetValueBool(const napi_env& env, const char* fieldStr, const bool boolvalue, napi_value& result);
/base/usb/usb_manager/interfaces/kits/js/napi/src/
H A Dnapi_util.cpp235 void NapiUtil::SetValueBool(const napi_env &env, std::string fieldStr, const bool boolValue, napi_value &result) in SetValueBool() function in OHOS::USB::NapiUtil
H A Dusb_info.cpp133 NapiUtil::SetValueBool(env, "isRemoteWakeup", usbConfig.IsRemoteWakeup(), obj); in CtoJSUsbConfig()
134 NapiUtil::SetValueBool(env, "isSelfPowered", usbConfig.IsSelfPowered(), obj); in CtoJSUsbConfig()
/base/location/frameworks/js/napi/source/
H A Dnapi_util.cpp129 SetValueBool(env, "isFromMock", locationInfo->GetIsFromMock(), result); in LocationToJs()
215 SetValueBool(env, "isFromMock", geoAddress->isFromMock_, eachObj); in GeoAddressesToJsObj()
794 napi_status SetValueBool(const napi_env& env, const char* fieldStr, const bool boolvalue, napi_value& result) in SetValueBool() function

Completed in 8 milliseconds