Lines Matching refs:value
38 bool setAutocal(std::string value) override { return set(value, &mAutocal); } in setAutocal() argument
39 bool setOlLraPeriod(uint32_t value) override { return set(value, &mOlLraPeriod); } in setOlLraPeriod() argument
40 bool setActivate(bool value) override { return set(value, &mActivate); } in setActivate() argument
41 bool setDuration(uint32_t value) override { return set(value, &mDuration); } in setDuration() argument
42 bool setState(bool value) override { return set(value, &mState); } in setState() argument
44 bool setRtpInput(int8_t value) override { return set(value, &mRtpInput); } in setRtpInput() argument
45 bool setMode(std::string value) override { return set(value, &mMode); } in setMode() argument
46 bool setSequencer(std::string value) override { return set(value, &mSequencer); } in setSequencer() argument
47 bool setScale(uint8_t value) override { return set(value, &mScale); } in setScale() argument
48 bool setCtrlLoop(bool value) override { return set(value, &mCtrlLoop); } in setCtrlLoop() argument
49 bool setLpTriggerEffect(uint32_t value) override { return set(value, &mLpTrigger); } in setLpTriggerEffect() argument
50 bool setLraWaveShape(uint32_t value) override { return set(value, &mLraWaveShape); } in setLraWaveShape() argument
51 bool setOdClamp(uint32_t value) override { return set(value, &mOdClamp); } in setOdClamp() argument
52 bool getPATemp(int32_t *value) override { return get(value, &mPATemp); } in getPATemp() argument
121 bool getAutocal(std::string *value) override { return getPersist(AUTOCAL_CONFIG, value); } in getAutocal() argument
122 bool getLraPeriod(uint32_t *value) override { in getLraPeriod() argument
123 if (getPersist(LRA_PERIOD_CONFIG, value)) { in getLraPeriod()
126 *value = DEFAULT_LRA_PERIOD; in getLraPeriod()
129 bool getEffectCoeffs(std::array<float, 4> *value) override { in getEffectCoeffs() argument
130 if (getPersist(EFFECT_COEFF_CONFIG, value)) { in getEffectCoeffs()
135 bool getEffectTargetG(std::array<float, 5> *value) override { in getEffectTargetG() argument
136 if (getPersist(EFFECT_TARGET_G, value)) { in getEffectTargetG()
141 bool getSteadyAmpMax(float *value) override { in getSteadyAmpMax() argument
142 if (getPersist(STEADY_AMP_MAX_CONFIG, value)) { in getSteadyAmpMax()
147 bool getSteadyCoeffs(std::array<float, 4> *value) override { in getSteadyCoeffs() argument
148 if (getPersist(STEADY_COEFF_CONFIG, value)) { in getSteadyCoeffs()
153 bool getSteadyTargetG(std::array<float, 3> *value) override { in getSteadyTargetG() argument
154 if (getPersist(STEADY_TARGET_G, value)) { in getSteadyTargetG()
159 bool getCloseLoopThreshold(uint32_t *value) override { in getCloseLoopThreshold() argument
160 return getProperty("closeloop.threshold", value, UINT32_MAX); in getCloseLoopThreshold()
163 bool getDynamicConfig(bool *value) override { in getDynamicConfig() argument
164 return getProperty("config.dynamic", value, false); in getDynamicConfig()
166 bool getLongFrequencyShift(uint32_t *value) override { in getLongFrequencyShift() argument
167 return getProperty("long.frequency.shift", value, DEFAULT_FREQUENCY_SHIFT); in getLongFrequencyShift()
169 bool getShortVoltageMax(uint32_t *value) override { in getShortVoltageMax() argument
170 return getProperty("short.voltage", value, DEFAULT_VOLTAGE_MAX); in getShortVoltageMax()
172 bool getLongVoltageMax(uint32_t *value) override { in getLongVoltageMax() argument
173 return getProperty("long.voltage", value, DEFAULT_VOLTAGE_MAX); in getLongVoltageMax()
175 bool getClickDuration(uint32_t *value) override { in getClickDuration() argument
176 return getProperty("click.duration", value, WAVEFORM_CLICK_EFFECT_MS); in getClickDuration()
178 bool getTickDuration(uint32_t *value) override { in getTickDuration() argument
179 return getProperty("tick.duration", value, WAVEFORM_TICK_EFFECT_MS); in getTickDuration()
181 bool getDoubleClickDuration(uint32_t *value) override { in getDoubleClickDuration() argument
182 *value = WAVEFORM_DOUBLE_CLICK_EFFECT_MS; in getDoubleClickDuration()
185 bool getHeavyClickDuration(uint32_t *value) override { in getHeavyClickDuration() argument
186 return getProperty("heavyclick.duration", value, WAVEFORM_HEAVY_CLICK_EFFECT_MS); in getHeavyClickDuration()
188 bool getEffectShape(uint32_t *value) override { in getEffectShape() argument
189 return getProperty("effect.shape", value, UINT32_MAX); in getEffectShape()
191 bool getSteadyShape(uint32_t *value) override { in getSteadyShape() argument
192 return getProperty("steady.shape", value, UINT32_MAX); in getSteadyShape()
194 bool getTriggerEffectSupport(uint32_t *value) override { in getTriggerEffectSupport() argument
195 return getProperty("lptrigger", value, DEFAULT_LP_TRIGGER_SUPPORT); in getTriggerEffectSupport()
197 bool getDevHwVer(std::string *value) override { in getDevHwVer() argument
198 *value = ::android::base::GetProperty("ro.revision", "DVT"); in getDevHwVer()