Home
last modified time | relevance | path

Searched refs:bindParamObj (Results 1 - 3 of 3) sorted by relevance

/foundation/distributedhardware/device_manager/interfaces/kits/js4.0/src/
H A Ddm_native_util.cpp399 void InsertMapParames(nlohmann::json &bindParamObj, std::map<std::string, std::string> &bindParamMap) in InsertMapParames() argument
402 if (IsInt32(bindParamObj, AUTH_TYPE)) { in InsertMapParames()
403 int32_t authType = bindParamObj[AUTH_TYPE].get<int32_t>(); in InsertMapParames()
406 if (IsString(bindParamObj, APP_OPERATION)) { in InsertMapParames()
407 std::string appOperation = bindParamObj[APP_OPERATION].get<std::string>(); in InsertMapParames()
410 if (IsString(bindParamObj, CUSTOM_DESCRIPTION)) { in InsertMapParames()
411 std::string appDescription = bindParamObj[CUSTOM_DESCRIPTION].get<std::string>(); in InsertMapParames()
414 if (IsString(bindParamObj, PARAM_KEY_TARGET_PKG_NAME)) { in InsertMapParames()
415 std::string targetPkgName = bindParamObj[PARAM_KEY_TARGET_PKG_NAME].get<std::string>(); in InsertMapParames()
418 if (IsString(bindParamObj, PARAM_KEY_META_TYP in InsertMapParames()
[all...]
H A Dnative_devicemanager_js.cpp2048 nlohmann::json bindParamObj = nlohmann::json::parse(bindParam, nullptr, false); in BindTargetWarpper() local
2049 if (bindParamObj.is_discarded()) { in BindTargetWarpper()
2054 if (IsString(bindParamObj, PARAM_KEY_BR_MAC)) { in BindTargetWarpper()
2055 targetId.brMac = bindParamObj[PARAM_KEY_BR_MAC].get<std::string>(); in BindTargetWarpper()
2057 if (IsString(bindParamObj, PARAM_KEY_BLE_MAC)) { in BindTargetWarpper()
2058 targetId.bleMac = bindParamObj[PARAM_KEY_BLE_MAC].get<std::string>(); in BindTargetWarpper()
2060 if (IsString(bindParamObj, PARAM_KEY_WIFI_IP)) { in BindTargetWarpper()
2061 targetId.wifiIp = bindParamObj[PARAM_KEY_WIFI_IP].get<std::string>(); in BindTargetWarpper()
2063 if (IsInt32(bindParamObj, PARAM_KEY_WIFI_PORT)) { in BindTargetWarpper()
2064 targetId.wifiPort = (uint16_t)(bindParamObj[PARAM_KEY_WIFI_POR in BindTargetWarpper()
[all...]
/foundation/distributedhardware/device_manager/interfaces/kits/js4.0/include/
H A Ddm_native_util.h63 void InsertMapParames(nlohmann::json &bindParamObj, std::map<std::string, std::string> &bindParamMap);

Completed in 5 milliseconds