Searched refs:dispersion (Results 1 – 6 of 6) sorted by relevance
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
D | LinearFakeValueGenerator.cpp | 33 float currentValue, float dispersion, in LinearFakeValueGenerator() argument 35 initGenCfg(propId, middleValue, currentValue, dispersion, increment, interval); in LinearFakeValueGenerator() 45 float dispersion, float increment, int64_t interval) { in initGenCfg() argument 46 if (currentValue < middleValue - dispersion || currentValue >= middleValue + dispersion) { in initGenCfg() 55 .dispersion = dispersion, in initGenCfg() 85 if (mGenCfg.currentValue >= mGenCfg.middleValue + mGenCfg.dispersion) { in nextEvent() 87 mGenCfg.currentValue = mGenCfg.currentValue - 2 * mGenCfg.dispersion; in nextEvent()
|
D | LinearFakeValueGenerator.h | 40 float dispersion; // Defines minimum and maximum value based on initial value. member 51 float dispersion, float increment, int64_t interval); 61 void initGenCfg(int32_t propId, float middleValue, float currentValue, float dispersion,
|
D | DefaultVehicleHalServer.cpp | 334 float dispersion; in genFakeDataCommand() local 352 if (!android::base::ParseFloat(options[6], &dispersion)) { in genFakeDataCommand() 368 propId, middleValue, currentValue, dispersion, increment, interval); in genFakeDataCommand()
|
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/GeneratorHub/src/ |
D | LinearFakeValueGenerator.cpp | 35 float initValue, float dispersion, in LinearFakeValueGenerator() argument 37 initGenCfg(propId, middleValue, initValue, dispersion, increment, interval); in LinearFakeValueGenerator() 47 float dispersion, float increment, int64_t interval) { in initGenCfg() argument 53 if (initValue < middleValue - dispersion || initValue >= middleValue + dispersion) { in initGenCfg() 62 .dispersion = dispersion, in initGenCfg() 97 if (mGenCfg.currentValue >= mGenCfg.middleValue + mGenCfg.dispersion) { in nextEvent() 99 mGenCfg.currentValue = mGenCfg.currentValue - 2 * mGenCfg.dispersion; in nextEvent()
|
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/GeneratorHub/include/ |
D | LinearFakeValueGenerator.h | 43 float dispersion, float increment, int64_t interval); 57 float dispersion; // Defines minimum and maximum value based on initial value. member 65 void initGenCfg(int32_t propId, float middleValue, float initValue, float dispersion,
|
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/src/ |
D | FakeVehicleHardware.cpp | 1371 [mValue - disperson, mValue + dispersion]. in genFakeDataHelp() 1375 dispersion(float): The range the value can change. in genFakeDataHelp()
|