/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/ |
D | XTools.js | 54 export function RandInt(min = 0, max = 100) { argument 55 return Math.floor(Math.random() * (max - min)) + min;
|
/drivers/peripheral/audio/test/systemtest/hdi_service/common/capture/src/ |
D | audio_idl_hdicapture_volume_test.cpp | 326 float min = 0; variable 330 ret = capture->GetGainThreshold(capture, &min, &max); 333 EXPECT_EQ(min, GAIN_MIN); 345 float min = 0; variable 350 ret = capture->GetGainThreshold(captureNull, &min, &max); 376 float min = 0; variable 380 ret = capture->GetGainThreshold(capture, &min, maxNull); 391 float min = 0; variable 395 ret = capture->GetGainThreshold(capture, &min, &max); 399 float gainMin = min; [all …]
|
/drivers/hdf_core/framework/support/platform/test/fuzztest/ |
D | random.h | 15 int32_t randNum(int32_t min, int32_t max) in randNum() argument 19 std::uniform_int_distribution<int32_t> randomNum(min, max); in randNum()
|
/drivers/peripheral/audio/test/systemtest/hdi_service/common/render/src/ |
D | audio_idl_hdirender_volume_test.cpp | 70 float min = 0; variable 74 ret = render->GetGainThreshold(render, &min, &max); 77 EXPECT_EQ(min, GAIN_MIN); 89 float min = 0; variable 94 ret = render->GetGainThreshold(renderNull, &min, &max); 120 float min = 0; variable 124 ret = render->GetGainThreshold(render, &min, maxNull); 144 float min = 0; variable 146 ret = render->GetGainThreshold(render, &min, &max); 149 float gainMin = min; [all …]
|
/drivers/hdf_core/framework/model/audio/core/include/ |
D | audio_control.h | 44 int32_t min; /* R: minimum value */ member 68 uint32_t min; member
|
/drivers/hdf_core/framework/include/platform/ |
D | rtc_base.h | 48 #define IS_INVALID_MIN(min) ((min) >= RTC_MAX_MINUTE) argument
|
/drivers/peripheral/distributed_audio/interface/audio/v1_0/ |
D | i_audio_volume.h | 31 virtual int32_t GetGainThreshold(float &min, float &max) = 0;
|
/drivers/peripheral/audio/interfaces/include/ |
D | audio_volume.h | 111 int32_t (*GetGainThreshold)(AudioHandle handle, float *min, float *max);
|
/drivers/peripheral/audio/interfaces/2.0/include/ |
D | audio_volume.h | 111 int32_t (*GetGainThreshold)(AudioHandle handle, float *min, float *max);
|
/drivers/peripheral/bluetooth/audio/interfaces/include/ |
D | audio_volume.h | 111 int32_t (*GetGainThreshold)(AudioHandle handle, float *min, float *max);
|
/drivers/peripheral/usb/test/moduletest/common/scripts/ |
D | usb_raw_host_loopback.sh | 18 stty -F "$device" raw speed 115200 min 0 time 5
|
/drivers/peripheral/audio/supportlibs/adm_adapter/include/ |
D | audio_interface_lib_common.h | 49 int32_t min; /* Read: minimum value */ member
|
D | audio_interface_lib_mixer.h | 115 int32_t min; /* R: minimum value */ member
|
/drivers/peripheral/codec/interfaces/include/ |
D | codec_common_type.h | 144 int32_t min; /** Minimum value */ member
|
/drivers/interface/nnrt/v2_0/ |
D | NnrtTypes.idl | 169 …* is the maximum value of the data to be quantized, <b>\f$ r_{min} \f$</b> is the minimum value of… 172 \text{clamp}(x,min,max) = 175 \text{min} & \text{ if } x < \text{ min } \\ 181 \text{q}(x_i) = clamp(round(\frac{r}{scale}+zeroPoint), min , max) 189 scale = \frac{r_{max}-r_{min}}{q_{max}-q_{min}} 193 zeroPoint = round(q_{min}-\frac{r_{min}}{scale}) 195 * <b>\f$ q_{min},q_{max} \f$</b> is calculated by using the following formula: 197 q_{min} = -(1<<(numBits-1)) 202 …* When \f$ r_{min} \f$ and \f$ r_{max} \f$ are <b>0</b>, <b>scale</b> and <b>zeroPoint</b> must be… 532 \text{ReLU6}(x_i) = \min(\max(0, x_i), 6) [all …]
|
/drivers/interface/nnrt/v1_0/ |
D | NnrtTypes.idl | 164 …_{max} \f$</b> is the maximum value of the data to be quantized, <b>\f$ r_{min} \f$</b> is the min… 166 \text{clamp}(x,min,max) = 169 \text{min} & \text{ if } x < \text{ min } \\ 175 \text{q}(x_i) = clamp(round(\frac{r}{scale}+zeroPoint), min , max) 183 scale = \frac{r_{max}-r_{min}}{q_{max}-q_{min}} 187 zeroPoint = round(q_{min}-\frac{r_{min}}{scale}) 189 * <b>\f$ q_{min},q_{max} \f$</b> is calculated by using the following formula: 191 q_{min} = -(1<<(numBits-1)) 196 …* When \f$ r_{min} \f$ and \f$ r_{max} \f$ are <b>0</b>, <b>scale</b> and <b>zeroPoint</b> must be… 509 \text{ReLU6}(x_i) = \min(\max(0, x_i), 6) [all …]
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/input_template/ |
D | input_driver_source.template | 93 device->driver->inputDev->attrSet.axisInfo[ABS_X].min = 0; 96 device->driver->inputDev->attrSet.axisInfo[ABS_Y].min = 0; 99 device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_X].min = 0; 102 device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_Y].min = 0;
|
/drivers/hdf_core/framework/model/audio/usb/src/ |
D | audio_usb_mixer.c | 137 int32_t min, max, res; /* min & max is volume range, res is volume reset state */ member 147 uint32_t min; member 462 if (value < mixElemInfo->min) { in AudioUsbGetRelativeValue() 466 return (mixElemInfo->max - mixElemInfo->min + mixElemInfo->res - 1) / mixElemInfo->res; in AudioUsbGetRelativeValue() 469 return (value - mixElemInfo->min) / mixElemInfo->res; in AudioUsbGetRelativeValue() 475 return mixElemInfo->min; in AudioUsbGetAbsValue() 481 value += mixElemInfo->min; in AudioUsbGetAbsValue() 1075 if (temp < mixElemInfo->min || temp > mixElemInfo->max) { in AudioUsbCtlGetMaxVal() 1106 AudioUsbGetCtlValue(mixElemInfo, UAC_GET_MIN, request, &mixElemInfo->min) < HDF_SUCCESS) { in AudioUsbCtlGetMinMaxValSub() 1131 if (mixElemInfo->min + mixElemInfo->res < mixElemInfo->max) { in AudioUsbCtlGetMinMaxValSub() [all …]
|
/drivers/interface/nnrt/v2_1/ |
D | NnrtTypes.idl | 169 …* is the maximum value of the data to be quantized, <b>\f$ r_{min} \f$</b> is the minimum value of… 172 \text{clamp}(x,min,max) = 175 \text{min} & \text{ if } x < \text{ min } \\ 181 \text{q}(x_i) = clamp(round(\frac{r}{scale}+zeroPoint), min , max) 189 scale = \frac{r_{max}-r_{min}}{q_{max}-q_{min}} 193 zeroPoint = round(q_{min}-\frac{r_{min}}{scale}) 195 * <b>\f$ q_{min},q_{max} \f$</b> is calculated by using the following formula: 197 q_{min} = -(1<<(numBits-1)) 202 …* When \f$ r_{min} \f$ and \f$ r_{max} \f$ are <b>0</b>, <b>scale</b> and <b>zeroPoint</b> must be… 628 \text{ReLU6}(x_i) = \min(\max(0, x_i), 6) [all …]
|
/drivers/hdf_core/framework/model/input/driver/touchscreen/ |
D | touch_ft5406.c | 178 device->driver->inputDev->attrSet.axisInfo[ABS_X].min = 0; in SetAbility() 181 device->driver->inputDev->attrSet.axisInfo[ABS_Y].min = 0; in SetAbility() 184 device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_X].min = 0; in SetAbility() 187 device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_Y].min = 0; in SetAbility()
|
D | touch_ft5x06.c | 174 device->driver->inputDev->attrSet.axisInfo[ABS_X].min = NUM_0; in SetAbility() 177 device->driver->inputDev->attrSet.axisInfo[ABS_Y].min = NUM_0; in SetAbility() 180 device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_X].min = NUM_0; in SetAbility() 183 device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_Y].min = NUM_0; in SetAbility()
|
/drivers/hdf_core/framework/model/audio/core/src/ |
D | audio_core.c | 505 if (mixerValue < mixerCtrl->min || mixerValue > mixerCtrl->max) { in AudioCodecRegUpdate() 581 if (value < mixerCtrl->min || value > mixerCtrl->max) { in AudioDaiRegUpdate() 714 elemInfo->min = mixerCtrl->min; in AudioInfoCtrlOps() 737 elemInfo->min = 0; in AudioInfoEnumCtrlOps() 757 if (rcurValue > mixerCtrl->max || rcurValue < mixerCtrl->min) { in AudioGetCtrlOpsRReg() 779 if (curValue > mixerCtrl->max || curValue < mixerCtrl->min) { in AudioGetCtrlOpsReg() 905 if (val < mixerCtrl->min || val > mixerCtrl->max) { in AudioSetCtrlOpsReg() 926 if (val < mixerCtrl->min || val > mixerCtrl->max) { in AudioSetCtrlOpsRReg()
|
/drivers/hdf_core/framework/model/input/driver/ |
D | hdf_hid_adapter.h | 52 int32_t min; member
|
/drivers/peripheral/codec/hal/idl_service/src/ |
D | codec_component_config.cpp | 261 …t32(&childNode, CODEC_CONFIG_KEY_MIN_BITRATE, reinterpret_cast<uint32_t *>(&cap.bitRate.min), 0) != in GetMiscOfCapability() 330 {CODEC_CONFIG_KEY_MIN_BLOCK_COUNT, cap.port.video.blockCount.min, 0}, in GetVideoPortCapability() 332 {CODEC_CONFIG_KEY_MIN_BLOCKS_PER_SECOND, cap.port.video.blocksPerSecond.min, 0}, in GetVideoPortCapability() 336 {CODEC_CONFIG_KEY_MIN_FRAME_RATE, cap.port.video.frameRate.min, 0}, in GetVideoPortCapability()
|
/drivers/peripheral/codec/hal/src/ |
D | codec_config_parser.c | 134 …{CODEC_CONFIG_KEY_MIN_BLOCK_COUNT, (uint32_t*)&cap->port.video.blockCount.min, … in GetVideoPortCapability() 136 …{CODEC_CONFIG_KEY_MIN_BLOCKS_PER_SECOND, (uint32_t*)&cap->port.video.blocksPerSecond.min, … in GetVideoPortCapability() 140 …{CODEC_CONFIG_KEY_MIN_FRAME_RATE, (uint32_t *)&cap->port.video.frameRate.min, … in GetVideoPortCapability() 219 …if (iface->GetUint32(childNode, CODEC_CONFIG_KEY_MIN_BITRATE, (uint32_t*)&(cap->bitRate.min), 0) !… in GetMiscOfCapability()
|