Home
last modified time | relevance | path

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

/drivers/hdf_core/framework/model/camera/parser/src/
H A Dcamera_config_parser.c41 struct DeviceResourceIface *drsOps, struct SensorDeviceConfig *sensorConfig) in ParseCameraSensorDeviceConfig()
45 ret = drsOps->GetString(node, "name", &sensorConfig->name, NULL); in ParseCameraSensorDeviceConfig()
47 ret = drsOps->GetUint8(node, "id", &sensorConfig->id, 0); in ParseCameraSensorDeviceConfig()
49 ret = drsOps->GetUint8(node, "exposure", &sensorConfig->exposure, 0); in ParseCameraSensorDeviceConfig()
51 ret = drsOps->GetUint8(node, "mirror", &sensorConfig->mirror, 0); in ParseCameraSensorDeviceConfig()
53 ret = drsOps->GetUint8(node, "gain", &sensorConfig->gain, 0); in ParseCameraSensorDeviceConfig()
55 sensorConfig->ctrlValueNum = drsOps->GetElemNum(node, "ctrlValue"); in ParseCameraSensorDeviceConfig()
56 if (sensorConfig->ctrlValueNum > CTRL_VALUE_MAX_NUM) { in ParseCameraSensorDeviceConfig()
57 HDF_LOGE("%s: parser ctrlValue num failed! num = %{public}d", __func__, sensorConfig->ctrlValueNum); in ParseCameraSensorDeviceConfig()
60 ret = drsOps->GetUint32Array(node, "ctrlValue", sensorConfig in ParseCameraSensorDeviceConfig()
40 ParseCameraSensorDeviceConfig(const struct DeviceResourceNode *node, struct DeviceResourceIface *drsOps, struct SensorDeviceConfig *sensorConfig) ParseCameraSensorDeviceConfig() argument
257 ParseCameraSensorConfig(const struct DeviceResourceNode *node, struct DeviceResourceIface *drsOps, struct CameraSensorConfig *sensorConfig) ParseCameraSensorConfig() argument
[all...]
/drivers/peripheral/sensor/hdi_service/
H A Dsensor_hdi_dump.cpp197 auto sensorConfig = entry2.second; local
199 sensorInfoData += "sensorConfig={";
200 sensorInfoData += "samplingInterval=" + std::to_string(sensorConfig.samplingInterval) + ",";
201 sensorInfoData += "reportInterval=" + std::to_string(sensorConfig.reportInterval) + ",";
H A Dsensor_clients_manager.cpp408 SensorConfig sensorConfig = {samplingInterval, reportInterval}; in SetClientSenSorConfig() local
409 client.sensorConfigMap_[sensorId] = sensorConfig; in SetClientSenSorConfig()

Completed in 3 milliseconds