Home
last modified time | relevance | path

Searched refs:maxValue (Results 1 - 20 of 20) sorted by relevance

/base/security/security_guard/services/config_manager/src/
H A Devent_config.cpp124 uint32_t maxValue = STORAGE_ROM_NUMS_MAX_VALUE; in ParseEventConfig() local
126 maxValue = DB_MAX_VALUE; in ParseEventConfig()
128 if (config.storageRomNums >= maxValue) { in ParseEventConfig()
129 config.storageRomNums = maxValue; in ParseEventConfig()
/base/update/updater/services/ui/
H A Dupdater_ui_env.cpp114 int maxValue = 0; in InitBrightness() local
115 ifs >> maxValue; in InitBrightness() local
117 LOG(ERROR) << "read int from " << maxBrightnessFile << " failed sd maxValue = " << maxValue; in InitBrightness() local
129 ofs << (static_cast<std::size_t>(maxValue) >> SHIFT_WIDTH); in InitBrightness()
/base/sensors/sensor/vibration_convert/core/utils/src/
H A Dutils.cpp135 double maxValue = *max_element(values.begin(), values.end()); in NormalizePercentage() local
136 double range = maxValue - minValue; in NormalizePercentage()
158 double maxValue = *max_element(trimValues.begin(), trimValues.end()); in NormalizePercentageMin() local
159 double range = maxValue - minValue; in NormalizePercentageMin()
171 std::vector<int32_t> NormalizePercentageRange(const std::vector<double> &values, double minValue, double maxValue) in NormalizePercentageRange() argument
180 if (IsGreatNotEqual(trimValues[i], maxValue)) { in NormalizePercentageRange()
181 trimValues[i] = maxValue; in NormalizePercentageRange()
184 double range = maxValue - minValue; in NormalizePercentageRange()
/base/print/print_fwk/frameworks/helper/scan_helper/src/
H A Dscan_range.cpp55 void ScanRange::SetMaxValue(const int32_t &maxValue) in SetMaxValue() argument
57 maxValue_ = maxValue; in SetMaxValue()
/base/msdp/device_status/tools/vdev/include/
H A Dvirtual_device_defines.h51 int32_t maxValue { 0 };
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_progress.h37 void SetMaxValue(int32_t maxValue);
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_progress.cpp35 void NotificationProgress::SetMaxValue(int32_t maxValue) in SetMaxValue() argument
37 maxValue_ = maxValue; in SetMaxValue()
64 "maxValue = " + std::to_string(maxValue_) + in Dump()
72 jsonObject["maxValue"] = maxValue_; in ToJson()
93 if (jsonObject.find("maxValue") != jsonEnd && jsonObject.at("maxValue").is_number_integer()) { in FromJson()
94 progress->maxValue_ = jsonObject.at("maxValue").get<int32_t>(); in FromJson()
111 ANS_LOGE("Failed to write maxValue"); in Marshalling()
/base/print/print_fwk/frameworks/helper/scan_helper/include/
H A Dscan_range.h37 void SetMaxValue(const int32_t &maxValue);
/base/global/i18n/frameworks/intl/src/
H A Dplural_rules.cpp47 int PluralRules::GetValidInteger(std::string &integerStr, int minValue, int maxValue, int defaultValue) in GetValidInteger() argument
57 if (validInteger > maxValue) { in GetValidInteger()
58 validInteger = maxValue; in GetValidInteger()
70 // 1 is minValue and defaultValue, 21 is maxValue in ParseAllOptions()
80 // 1 is minValue and defaultValue, 21 is maxValue in ParseAllOptions()
82 // 1 is minValue, 21 is maxValue and defaultValue in ParseAllOptions()
89 // 0 is minValue and defaultValue, 20 is maxValue in ParseAllOptions()
/base/global/i18n/frameworks/intl/include/
H A Dplural_rules.h59 int GetValidInteger(std::string &integerStr, int minValue, int maxValue, int defaultValue);
/base/powermgr/thermal_manager/application/protector/src/
H A Dthermal_protector_timer.cpp190 int32_t maxValue = *(std::max_element(multipleList_.begin(), multipleList_.end())); in ResetCount()
191 if (reportTime_ == maxValue) { in ResetCount()
/base/msdp/device_status/utils/common/include/
H A Dutil.h85 bool AddInt(T op1, T op2, T minValue, T maxValue, T &res) in AddInt() argument
88 if (op2 > maxValue - op1) { in AddInt()
/base/print/print_fwk/test/fuzztest/scanhelper_fuzzer/
H A Dscanhelper_fuzzer.cpp485 int32_t maxValue = dataProvider->ConsumeIntegralInRange<int32_t>(0, MAX_SET_NUMBER); in TestSetMaxValue() local
486 range.SetMaxValue(maxValue); in TestSetMaxValue()
487 maxValue = range.GetMaxValue(); in TestSetMaxValue()
502 int32_t maxValue = dataProvider->ConsumeIntegralInRange<int32_t>(0, MAX_SET_NUMBER); in TestScanRange() local
503 range.SetMaxValue(maxValue); in TestScanRange()
575 int32_t maxValue = dataProvider->ConsumeIntegralInRange<int32_t>(0, MAX_SET_NUMBER); in TestScanRangeNapiInterface() local
576 info.SetMaxValue(maxValue); in TestScanRangeNapiInterface()
/base/sensors/sensor/vibration_convert/core/utils/include/
H A Dutils.h115 * @param maxValue The maximum of range.
119 std::vector<int32_t> NormalizePercentageRange(const std::vector<double> &values, double minValue, double maxValue);
/base/global/i18n_lite/frameworks/i18n/src/
H A Ddate_time_format_impl.cpp389 void DateTimeFormatImpl::ZeroPadding(string &appendTo, uint32_t minValue, uint32_t maxValue, int32_t value) const in ZeroPadding() argument
395 uint32_t adjustValue = (minValue < maxValue) ? minValue : maxValue; in ZeroPadding()
/base/telephony/core_service/services/sim/test/
H A Dtest.cpp299 int maxValue = static_cast<int>(max); in Among() local
300 return ((mid >= minValue) && (mid <= maxValue)); in Among()
306 int maxValue = static_cast<int>(max); in AmongLock() local
307 return ((mid >= minValue) && (mid <= maxValue)); in AmongLock()
326 int maxValue = static_cast<int>(max); in AmongLockType() local
327 return ((mid >= minValue) && (mid <= maxValue)); in AmongLockType()
333 int maxValue = static_cast<int>(max); in AmongPersoLockType() local
334 return ((mid >= minValue) && (mid <= maxValue)); in AmongPersoLockType()
/base/notification/distributed_notification_service/frameworks/cj/ffi/include/
H A Dnotification_utils.h100 int32_t maxValue; member
/base/sensors/sensor/vibration_convert/core/algorithm/peak_finder/src/
H A Dpeak_finder.cpp672 double maxValue = *std::max_element(triangularEnvelope.begin() + j, triangularEnvelope.begin() + j + MAX_N); in GetIsolatedEnvelope() local
673 triangularEnvelope[j] = maxValue; in GetIsolatedEnvelope()
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_utils.cpp553 if (contentResult->progress.maxValue < 0 || contentResult->progress.currentValue < 0) { in GetNotificationLocalLiveViewProgress()
557 progress.SetMaxValue(contentResult->progress.maxValue); in GetNotificationLocalLiveViewProgress()
1392 cProgress.maxValue = progress.GetMaxValue(); in SetNotificationLocalLiveViewContentDetailed()
/base/msdp/device_status/tools/vdev/src/
H A Dvirtual_device_builder.cpp319 uinputDev_.absmax[absInfo.code] = absInfo.maxValue;

Completed in 17 milliseconds