/drivers/hdf_core/framework/model/audio/common/src/ |
D | audio_dsp_base.c | 31 if (drsOps == NULL || drsOps->GetString == NULL) { in DspGetServiceName() 36 ret = drsOps->GetString(node, "serviceName", drvDspName, 0); in DspGetServiceName() 62 if (drsOps == NULL || drsOps->GetString == NULL) { in DspGetDaiName() 67 ret = drsOps->GetString(node, "dspDaiName", drvDaiName, 0); in DspGetDaiName()
|
/drivers/peripheral/camera/vdi_base/common/pipeline_core/ipp/src/ |
D | ipp_algo_parser.cpp | 96 int32_t ret = devResInstance_->GetString(node, "name", &name, nullptr); in ConstructPlugin() 102 ret = devResInstance_->GetString(node, "description", &description, nullptr); in ConstructPlugin() 108 ret = devResInstance_->GetString(node, "path", &path, nullptr); in ConstructPlugin() 115 ret = devResInstance_->GetString(node, "mode", &mode, nullptr); in ConstructPlugin()
|
/drivers/peripheral/battery/interfaces/hdi_service/test/systemtest/src/ |
D | battery_sys_test.cpp | 184 std::string currentPath = g_batteryconfig.GetString("charger.current_limit.path"); 186 std::string voltagePath = g_batteryconfig.GetString("charger.voltage_limit.path"); 202 ASSERT_EQ("123", g_batteryconfig.GetString("XXXXXXXXX", "123")); 216 ASSERT_EQ("", g_batteryconfig.GetString("X.X.X.X.X.X")); 230 ASSERT_EQ("", g_batteryconfig.GetString(""));
|
/drivers/hdf_core/framework/test/unittest/platform/common/ |
D | pin_driver_test.c | 48 if (drsOps == NULL || drsOps->GetUint32 == NULL || drsOps->GetString == NULL) { in PinTestReadConfig() 52 ret = drsOps->GetString(node, "pinName", &config->pinName, 0); in PinTestReadConfig() 70 ret = drsOps->GetString(node, "funcName", &funcName, 0); in PinTestReadConfig()
|
D | gpio_driver_test.c | 47 ret = drsOps->GetString(node, "testNameOne", &tempName, "NULL"); in GpioReadNameTestInfos() 58 ret = drsOps->GetString(node, "testNameTwo", &tempName, "NULL"); in GpioReadNameTestInfos()
|
/drivers/hdf_core/framework/test/unittest/platform/virtual/ |
D | pin_virtual.c | 179 ret = drsOps->GetString(node, "F0", &desc->func[funcNum], "NULL"); in VirtualPinReadFunc() 186 ret = drsOps->GetString(node, "F1", &desc->func[funcNum], "NULL"); in VirtualPinReadFunc() 193 ret = drsOps->GetString(node, "F2", &desc->func[funcNum], "NULL"); in VirtualPinReadFunc() 200 ret = drsOps->GetString(node, "F3", &desc->func[funcNum], "NULL"); in VirtualPinReadFunc() 207 ret = drsOps->GetString(node, "F4", &desc->func[funcNum], "NULL"); in VirtualPinReadFunc() 214 ret = drsOps->GetString(node, "F5", &desc->func[funcNum], "NULL"); in VirtualPinReadFunc() 229 if (drsOps == NULL || drsOps->GetUint32 == NULL || drsOps->GetString == NULL) { in VirtualPinParsePinNode() 233 ret = drsOps->GetString(node, "pinName", &virtual->desc[index].pinName, "NULL"); in VirtualPinParsePinNode()
|
D | regulator_virtual.c | 135 if (drsOps == NULL || drsOps->GetString == NULL) { in VirtualRegulatorContinueReadHcs() 181 if (drsOps == NULL || drsOps->GetString == NULL) { in VirtualRegulatorReadHcs() 186 ret = drsOps->GetString(node, "name", &(regNode->regulatorInfo.name), "ERROR"); in VirtualRegulatorReadHcs() 198 ret = drsOps->GetString(node, "parentName", &(regNode->regulatorInfo.parentName), "ERROR"); in VirtualRegulatorReadHcs()
|
/drivers/hdf_core/framework/model/network/wifi/platform/src/ |
D | hdf_wlan_config_parser.c | 24 if (drsOps == NULL || drsOps->GetString == NULL || drsOps->GetUint8 == NULL) { in ParseWlanStaConfig() 28 ret = drsOps->GetString(node, "name", &staConfig->name, NULL); in ParseWlanStaConfig() 52 if (drsOps == NULL || drsOps->GetString == NULL || drsOps->GetUint8 == NULL) { in ParseWlanApConfig() 56 ret = drsOps->GetString(node, "name", &apConfig->name, NULL); in ParseWlanApConfig() 91 if (drsOps == NULL || drsOps->GetString == NULL || drsOps->GetUint8 == NULL) { in ParseWlanP2PConfig() 95 ret = drsOps->GetString(node, "name", &p2pConfig->name, NULL); in ParseWlanP2PConfig() 170 …if (drsOps == NULL || drsOps->GetChildNode == NULL || drsOps->GetString == NULL || drsOps->GetUint… in ParseWlanModuleConfig() 179 ret = drsOps->GetString(node, "msgName", &modConfig->msgName, NULL); in ParseWlanModuleConfig() 477 if (drsOps == NULL || drsOps->GetString == NULL || drsOps->GetChildNode == NULL) { in ParseWlanChipsCompsConfig() 482 if (drsOps->GetString(node, "driverName", &chipInst->driverName, NULL) != HDF_SUCCESS) { in ParseWlanChipsCompsConfig() [all …]
|
/drivers/hdf_core/framework/model/audio/core/src/ |
D | audio_parse.c | 102 if (drsOps == NULL || drsOps->GetString == NULL) { in AudioFillConfigData() 107 (void)drsOps->GetString(node, "serviceName", &(configData->cardServiceName), 0); in AudioFillConfigData() 108 (void)drsOps->GetString(node, "codecName", &(configData->codecName), 0); in AudioFillConfigData() 109 (void)drsOps->GetString(node, "platformName", &(configData->platformName), 0); in AudioFillConfigData() 110 (void)drsOps->GetString(node, "cpuDaiName", &(configData->cpuDaiName), 0); in AudioFillConfigData() 111 (void)drsOps->GetString(node, "codecDaiName", &(configData->codecDaiName), 0); in AudioFillConfigData() 112 (void)drsOps->GetString(node, "dspName", &(configData->dspName), 0); in AudioFillConfigData() 113 (void)drsOps->GetString(node, "dspDaiName", &(configData->dspDaiName), 0); in AudioFillConfigData() 459 ret = parser->GetString(attrNode, "chipName", &config->chipName, NULL); in ParseAudioAttr() 562 if (drsOps == NULL || drsOps->GetString == NULL) { in AudioGetPortConfig() [all …]
|
/drivers/hdf_core/adapter/khdf/linux/platform/regulator/ |
D | regulator_adapter.c | 306 if (drsOps == NULL || drsOps->GetString == NULL) { in LinuxRegulatorReadHcs() 311 ret = drsOps->GetString(node, "name", &(regNode->regulatorInfo.name), "ERROR"); in LinuxRegulatorReadHcs() 365 if (info == NULL || drsOps == NULL || drsOps->GetString == NULL) { in LinuxRegulatorReadAdapterHcs() 370 ret = drsOps->GetString(node, "devName", &(info->devName), "ERROR"); in LinuxRegulatorReadAdapterHcs() 377 ret = drsOps->GetString(node, "supplyName", &(info->supplyName), "ERROR"); in LinuxRegulatorReadAdapterHcs() 479 if (drsOps == NULL || drsOps->GetString == NULL) { in LinuxRegulatorParseAndRelease() 485 ret = drsOps->GetString(node, "name", &(name), "ERROR"); in LinuxRegulatorParseAndRelease()
|
/drivers/peripheral/camera/vdi_base/v4l2/src/camera_host/ |
D | hcs_deal.cpp | 99 int32_t ret = pDevResIns->GetString(&node, "logicCameraId", &cameraId, nullptr); in DealCameraAbility() 278 int32_t rc = pDevResIns->GetString(&metadataNode, "cameraPosition", &nodeValue, nullptr); in DealCameraPosition() 304 int32_t rc = pDevResIns->GetString(&metadataNode, "cameraType", &nodeValue, nullptr); in DealCameraType() 329 int32_t rc = pDevResIns->GetString(&metadataNode, "cameraConnectionType", &nodeValue, nullptr); in DealCameraConnectionType() 355 int32_t rc = pDevResIns->GetString(&metadataNode, "cameraMemoryType", &nodeValue, nullptr); in DealCameraMemoryType() 383 int32_t rc = pDevResIns->GetString(&metadataNode, "faceDetectMaxNum", &pNodeValue, nullptr); in DealCameraFaceDetectMaxNum() 499 int32_t rc = pDevResIns->GetString(&metadataNode, "faceDetectMode", &pNodeValue, nullptr); in DealFaceDetectMode() 545 int32_t rc = pDevResIns->GetString(&metadataNode, "focalLength", &pNodeValue, nullptr); in DealFocalLength() 682 int32_t rc = pDevResIns->GetString(&metadataNode, "mirrorSupported", &nodeValue, nullptr); in DealMirrorSupported() 738 …int32_t rc = pDevResIns->GetString(&metadataNode, "sensorOrientationSupported", &nodeValue, nullpt… in DealSensorOrientation() [all …]
|
/drivers/hdf_core/framework/model/camera/parser/src/ |
D | camera_config_parser.c | 45 ret = drsOps->GetString(node, "name", &sensorConfig->name, NULL); in ParseCameraSensorDeviceConfig() 76 ret = drsOps->GetString(node, "name", &ispConfig->name, NULL); in ParseCameraIspDeviceConfig() 117 ret = drsOps->GetString(node, "name", &vcmConfig->name, NULL); in ParseCameraVcmDeviceConfig() 150 ret = drsOps->GetString(node, "name", &lensConfig->name, NULL); in ParseCameraLensDeviceConfig() 175 ret = drsOps->GetString(node, "name", &flashConfig->name, NULL); in ParseCameraFlashDeviceConfig() 202 ret = drsOps->GetString(node, "name", &streamConfig->name, NULL); in ParseCameraStreamDeviceConfigs() 441 if (drsOps->GetString(node, "deviceName", &deviceConfig->deviceName, NULL) != HDF_SUCCESS) { in ParseCameraDeviceConfig() 505 if (drsOps == NULL || drsOps->GetString == NULL || drsOps->GetUint8 == NULL || in HdfParseCameraConfig()
|
/drivers/peripheral/battery/interfaces/hdi_service/src/ |
D | battery_interface_impl.cpp | 58 currentPath_ = batteryConfig.GetString("charger.current_limit.path"); in Init() 59 voltagePath_ = batteryConfig.GetString("charger.voltage_limit.path"); in Init() 60 chargeTypePath_ = batteryConfig.GetString("charger.type.path"); in Init()
|
/drivers/hdf_core/framework/model/input/driver/ |
D | input_config_parser.c | 42 ret = parser->GetString(infraredNode, "infraredName", &config->infraredName, NULL); in ParseInfraredConfig() 70 ret = parser->GetString(keyNode, "keyName", &config->keyName, NULL); in ParseKeyConfig() 117 ret = parser->GetString(attrNode, "devName", &attr->devName, NULL); in ParseAttr() 321 ret = parser->GetString(node, "chipName", &config->chipName, NULL); in ParseTouchChipConfig() 323 ret = parser->GetString(node, "vendorName", &config->vendorName, NULL); in ParseTouchChipConfig() 325 ret = parser->GetString(node, "chipInfo", &config->chipInfo, NULL); in ParseTouchChipConfig()
|
/drivers/hdf_core/framework/utils/src/hcs_parser/ |
D | device_resource_if.c | 29 instance->GetString = HcsGetString; in HcsIfaceConstruct()
|
/drivers/peripheral/battery/interfaces/hdi_service/include/ |
D | battery_config.h | 44 std::string GetString(std::string key, std::string defVal = "") const;
|
/drivers/hdf_core/framework/model/sensor/driver/common/src/ |
D | sensor_config_parser.c | 311 ret = parser->GetString(infoNode, "sensorName", &name, NULL); in ParseSensorInfo() 318 ret = parser->GetString(infoNode, "vendorName", &name, NULL); in ParseSensorInfo() 325 ret = parser->GetString(infoNode, "firmwareVersion", &name, NULL); in ParseSensorInfo() 332 ret = parser->GetString(infoNode, "hardwareVersion", &name, NULL); in ParseSensorInfo() 424 ret = parser->GetString(attrNode, "chipName", &config->sensorAttr.chipName, NULL); in ParseSensorAttr()
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/audio_template/ |
D | rk3568_audio_adapter_source.template | 49 if (drsOps == NULL || drsOps->GetString == NULL) { 53 ret = drsOps->GetString(node, "serviceName", &g_chip->codec.drvCodecName, 0);
|
/drivers/peripheral/usb/ddk/host/src/ |
D | usb_pnp_manager.c | 107 if (iface->GetString(device->property, attrName, &path, pathDef) != HDF_SUCCESS) { in UsbPnpMgrGetGadgetPath()
|
/drivers/hdf_core/adapter/khdf/linux/platform/adc/ |
D | adc_iio_adapter.c | 151 if (drsOps == NULL || drsOps->GetUint32 == NULL || drsOps->GetString == NULL) { in AdcIioReadDrs() 173 ret = drsOps->GetString(node, channelName, &drName, NULL); in AdcIioReadDrs()
|
/drivers/hdf_core/interfaces/inner_api/utils/ |
D | device_resource_if.h | 322 …int32_t (*GetString)(const struct DeviceResourceNode *node, const char *attrName, const char **val… member
|
/drivers/hdf_core/framework/model/network/bluetooth/ |
D | hdf_bt_core.c | 77 if (drsOps == NULL || drsOps->GetUint8 == NULL || drsOps->GetString == NULL) { in ParseTransportConfig() 87 if (drsOps->GetString(node, "devName", &config->devName, "") != HDF_SUCCESS) { in ParseTransportConfig() 94 if (drsOps->GetString(node, "serviceName", &config->serviceName, "") != HDF_SUCCESS) { in ParseTransportConfig()
|
/drivers/hdf_core/adapter/khdf/liteos/model/bus/usb/ |
D | hdf_usb.c | 115 int32_t ret = instance->GetString(subNode, "controller", &ctrlName, NULL); in ProcControllorParam()
|
/drivers/peripheral/usb/gadget/function/usbfn/ |
D | dev_usbfn.c | 167 if (iface->GetString(device->property, "udc_name", &devMgr->udcName, UDC_NAME) != HDF_SUCCESS) { in UsbFnDriverInit()
|
/drivers/hdf_core/framework/model/display/driver/lcdkit/ |
D | lcdkit_parse_config.c | 269 if (drsOps == NULL || drsOps->GetChildNode == NULL || drsOps->GetString == NULL) { in ParseLcdConfig() 273 if (drsOps->GetString(node, "active_panel", &cfg->actPanel, NULL) != HDF_SUCCESS) { in ParseLcdConfig()
|