/base/security/security_guard/services/config_manager/src/ |
H A D | event_config.cpp | 124 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 D | updater_ui_env.cpp | 114 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 D | utils.cpp | 135 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 D | scan_range.cpp | 55 void ScanRange::SetMaxValue(const int32_t &maxValue) in SetMaxValue() argument 57 maxValue_ = maxValue; in SetMaxValue()
|
/base/msdp/device_status/tools/vdev/include/ |
H A D | virtual_device_defines.h | 51 int32_t maxValue { 0 };
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_progress.h | 37 void SetMaxValue(int32_t maxValue);
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_progress.cpp | 35 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 D | scan_range.h | 37 void SetMaxValue(const int32_t &maxValue);
|
/base/global/i18n/frameworks/intl/src/ |
H A D | plural_rules.cpp | 47 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 D | plural_rules.h | 59 int GetValidInteger(std::string &integerStr, int minValue, int maxValue, int defaultValue);
|
/base/powermgr/thermal_manager/application/protector/src/ |
H A D | thermal_protector_timer.cpp | 190 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 D | util.h | 85 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 D | scanhelper_fuzzer.cpp | 485 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 D | utils.h | 115 * @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 D | date_time_format_impl.cpp | 389 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 D | test.cpp | 299 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 D | notification_utils.h | 100 int32_t maxValue; member
|
/base/sensors/sensor/vibration_convert/core/algorithm/peak_finder/src/ |
H A D | peak_finder.cpp | 672 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 D | notification_utils.cpp | 553 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 D | virtual_device_builder.cpp | 319 uinputDev_.absmax[absInfo.code] = absInfo.maxValue;
|