Searched refs:configObj (Results 1 - 3 of 3) sorted by relevance
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
H A D | napi_hiappevent_config.cpp | 33 bool Configure(const napi_env env, const napi_value configObj, bool isThrow)
in Configure() argument 35 if (!NapiUtil::IsObject(env, configObj)) {
in Configure() 41 NapiUtil::GetPropertyNames(env, configObj, keys);
in Configure() 46 napi_value value = NapiUtil::GetProperty(env, configObj, key);
in Configure()
|
/base/hiviewdfx/hiappevent/frameworks/js/napi/include/ |
H A D | napi_hiappevent_config.h | 24 bool Configure(const napi_env env, const napi_value configObj, bool isThrow = false);
|
/base/usb/usb_manager/interfaces/kits/js/napi/src/ |
H A D | usb_info.cpp | 337 static bool ParseInterfacesObjs(const napi_env env, const napi_value configObj, std::vector<UsbInterface> &interfaces) in ParseInterfacesObjs() argument 340 bool isGetObjSuccess = NapiUtil::JsObjectGetProperty(env, configObj, "interfaces", interfacesObjs); in ParseInterfacesObjs() 364 static void ParseConfigObj(const napi_env env, const napi_value configObj, USBConfig &config) in ParseConfigObj() argument 367 NapiUtil::JsObjectToInt(env, configObj, "id", id); in ParseConfigObj() 369 NapiUtil::JsObjectToInt(env, configObj, "attributes", attributes); in ParseConfigObj() 371 NapiUtil::JsObjectToInt(env, configObj, "maxPower", maxPower); in ParseConfigObj() 373 NapiUtil::JsObjectToString(env, configObj, "name", DEFAULT_DESCRIPTION_SIZE, name); in ParseConfigObj() 375 NapiUtil::JsObjectToBool(env, configObj, "isRemoteWakeup", isRemoteWakeup); in ParseConfigObj() 377 NapiUtil::JsObjectToBool(env, configObj, "isSelfPowered", isSelfPowered); in ParseConfigObj() 380 bool ret = ParseInterfacesObjs(env, configObj, interface in ParseConfigObj() 403 napi_value configObj; ParseConfigsObjs() local 1057 napi_value configObj = argv[INDEX_1]; PipeSetConfiguration() local [all...] |
Completed in 4 milliseconds