Lines Matching refs:effect
67 Return<void> Vibrator::perform(V1_0::Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform() argument
68 return perform<decltype(effect)>(effect, strength, _hidl_cb); in perform()
73 Return<void> Vibrator::perform_1_1(V1_1::Effect_1_1 effect, EffectStrength strength, in perform_1_1() argument
75 return perform<decltype(effect)>(effect, strength, _hidl_cb); in perform_1_1()
80 Return<void> Vibrator::perform_1_2(V1_2::Effect effect, EffectStrength strength, in perform_1_2() argument
82 return perform<decltype(effect)>(effect, strength, _hidl_cb); in perform_1_2()
103 Return<void> Vibrator::perform_1_3(Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform_1_3() argument
104 return perform<decltype(effect)>(effect, strength, _hidl_cb); in perform_1_3()
109 Return<void> Vibrator::perform(Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform() argument
114 ALOGI("Perform: Effect %s\n", effectToName(effect).c_str()); in perform()
123 ms = effectToMs(effect, &status); in perform()
136 Return<void> Vibrator::perform(T effect, EffectStrength strength, perform_cb _hidl_cb) { in perform() argument
138 if (effect < *validRange.begin() || effect > *std::prev(validRange.end())) { in perform()
142 return perform(static_cast<Effect>(effect), strength, _hidl_cb); in perform()
206 const std::string Vibrator::effectToName(Effect effect) { in effectToName() argument
207 return toString(effect); in effectToName()
210 uint32_t Vibrator::effectToMs(Effect effect, Status* status) { in effectToMs() argument
211 switch (effect) { in effectToMs()