Lines Matching refs:effect
103 Vibrator::Vibrator(std::ofstream&& activate, std::ofstream&& duration, std::ofstream&& effect, in Vibrator() argument
107 mEffectIndex(std::move(effect)), in Vibrator()
156 Return<void> Vibrator::perform(V1_0::Effect effect, EffectStrength strength, in perform() argument
158 return performWrapper(effect, strength, _hidl_cb); in perform()
161 Return<void> Vibrator::perform_1_1(V1_1::Effect_1_1 effect, EffectStrength strength, in perform_1_1() argument
163 return performWrapper(effect, strength, _hidl_cb); in perform_1_1()
166 Return<void> Vibrator::perform_1_2(Effect effect, EffectStrength strength, in perform_1_2() argument
168 return performWrapper(effect, strength, _hidl_cb); in perform_1_2()
172 Return<void> Vibrator::performWrapper(T effect, EffectStrength strength, perform_cb _hidl_cb) { in performWrapper() argument
174 if (effect < *validRange.begin() || effect > *std::prev(validRange.end())) { in performWrapper()
178 return performEffect(static_cast<Effect>(effect), strength, _hidl_cb); in performWrapper()
181 Return<void> Vibrator::performEffect(Effect effect, EffectStrength strength, in performEffect() argument
187 switch (effect) { in performEffect()
250 if (effect >= Effect::RINGTONE_1 && effect <= Effect::RINGTONE_15) { in performEffect()