Lines Matching defs:value
109 int32_t GetScanParaDesc(const std::string &deviceId, ScanOptionValue &value)
116 value.SetScanOptionValueType(static_cast<ScanOptionValueType>(optionType));
117 value.SetValueSize(optionSize);
119 ret = client->OpScanOptionValue(deviceId, 0, SCAN_ACTION_GET_VALUE, value, info);
123 int32_t GetScanParaValues(const std::string &deviceId, ScanOptionValue &value, ScanParaTable ¶Table)
127 for (int i = 1 ; i < value.GetNumValue(); i++) {
393 ScanOptionValue value;
394 status = GetScanParaDesc(deviceId, value);
396 SCAN_HILOGE("Failed to get scanner ScanOptionValue value.");
401 status = GetScanParaValues(deviceId, value, paraTable);
418 int32_t OH_Scan_SetScannerParameter(const char* scannerId, const int32_t option, const char* value)
420 if (scannerId == nullptr || value == nullptr) {
432 std::string strvalue = std::string(value);
437 SCAN_HILOGE("not exit this value: [%{public}s]", strvalue.c_str());
444 SCAN_HILOGE("not exit this value: [%{public}s]", strvalue.c_str());