Home
last modified time | relevance | path

Searched refs:EffectStrength (Results 1 – 20 of 20) sorted by relevance

/device/google/sunfish/vibrator/drv2624/tests/
Dtest-vibrator.cpp32 using ::android::hardware::vibrator::V1_0::EffectStrength;
57 {{Effect::CLICK, EffectStrength::LIGHT}, {"1 0", 2}},
58 {{Effect::CLICK, EffectStrength::MEDIUM}, {"1 0", 0}},
59 {{Effect::CLICK, EffectStrength::STRONG}, {"1 0", 0}},
60 {{Effect::TICK, EffectStrength::LIGHT}, {"2 0", 2}},
61 {{Effect::TICK, EffectStrength::MEDIUM}, {"2 0", 0}},
62 {{Effect::TICK, EffectStrength::STRONG}, {"2 0", 0}},
63 {{Effect::DOUBLE_CLICK, EffectStrength::LIGHT}, {"3 0", 2}},
64 {{Effect::DOUBLE_CLICK, EffectStrength::MEDIUM}, {"3 0", 0}},
65 {{Effect::DOUBLE_CLICK, EffectStrength::STRONG}, {"3 0", 0}},
[all …]
Dtypes.h25 ::android::hardware::vibrator::V1_0::EffectStrength>;
/device/google/redfin/vibrator/drv2624/tests/
Dtest-vibrator.cpp53 {{Effect::CLICK, EffectStrength::LIGHT}, {"1 0", 2}},
54 {{Effect::CLICK, EffectStrength::MEDIUM}, {"1 0", 0}},
55 {{Effect::CLICK, EffectStrength::STRONG}, {"1 0", 0}},
56 {{Effect::TICK, EffectStrength::LIGHT}, {"2 0", 2}},
57 {{Effect::TICK, EffectStrength::MEDIUM}, {"2 0", 0}},
58 {{Effect::TICK, EffectStrength::STRONG}, {"2 0", 0}},
59 {{Effect::DOUBLE_CLICK, EffectStrength::LIGHT}, {"3 0", 2}},
60 {{Effect::DOUBLE_CLICK, EffectStrength::MEDIUM}, {"3 0", 0}},
61 {{Effect::DOUBLE_CLICK, EffectStrength::STRONG}, {"3 0", 0}},
62 {{Effect::HEAVY_CLICK, EffectStrength::LIGHT}, {"4 0", 2}},
[all …]
Dtypes.h25 ::aidl::android::hardware::vibrator::EffectStrength>;
/device/google/barbet/vibrator/drv2624/tests/
Dtest-vibrator.cpp53 {{Effect::CLICK, EffectStrength::LIGHT}, {"1 0", 2}},
54 {{Effect::CLICK, EffectStrength::MEDIUM}, {"1 0", 0}},
55 {{Effect::CLICK, EffectStrength::STRONG}, {"1 0", 0}},
56 {{Effect::TICK, EffectStrength::LIGHT}, {"2 0", 2}},
57 {{Effect::TICK, EffectStrength::MEDIUM}, {"2 0", 0}},
58 {{Effect::TICK, EffectStrength::STRONG}, {"2 0", 0}},
59 {{Effect::DOUBLE_CLICK, EffectStrength::LIGHT}, {"3 0", 2}},
60 {{Effect::DOUBLE_CLICK, EffectStrength::MEDIUM}, {"3 0", 0}},
61 {{Effect::DOUBLE_CLICK, EffectStrength::STRONG}, {"3 0", 0}},
62 {{Effect::HEAVY_CLICK, EffectStrength::LIGHT}, {"4 0", 2}},
[all …]
Dtypes.h25 ::aidl::android::hardware::vibrator::EffectStrength>;
/device/google/sunfish/vibrator/drv2624/
DVibrator.cpp179 using EffectStrength = ::android::hardware::vibrator::V1_0::EffectStrength; typedef
419 Return<void> Vibrator::perform(V1_0::Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform()
423 Return<void> Vibrator::perform_1_1(V1_1::Effect_1_1 effect, EffectStrength strength, in perform_1_1()
428 Return<void> Vibrator::perform_1_2(V1_2::Effect effect, EffectStrength strength, in perform_1_2()
433 Return<void> Vibrator::perform_1_3(Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform_1_3()
438 Return<void> Vibrator::performWrapper(T effect, EffectStrength strength, perform_cb _hidl_cb) { in performWrapper()
445 auto validStrengthRange = hidl_enum_range<EffectStrength>(); in performWrapper()
453 Return<void> Vibrator::performEffect(Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in performEffect()
459 case EffectStrength::LIGHT: in performEffect()
462 case EffectStrength::MEDIUM: in performEffect()
[all …]
DVibrator.h168 using EffectStrength = ::android::hardware::vibrator::V1_0::EffectStrength; variable
169 Return<void> perform(V1_0::Effect effect, EffectStrength strength,
171 Return<void> perform_1_1(V1_1::Effect_1_1 effect, EffectStrength strength,
173 Return<void> perform_1_2(V1_2::Effect effect, EffectStrength strength,
175 Return<void> perform_1_3(Effect effect, EffectStrength strength, perform_cb _hidl_cb) override;
184 Return<void> performWrapper(T effect, EffectStrength strength, perform_cb _hidl_cb);
185 Return<void> performEffect(Effect effect, EffectStrength strength, perform_cb _hidl_cb);
/device/google/felix/vibrator/cs40l26/tests/
Dtest-vibrator.cpp123 {{Effect::TICK, EffectStrength::LIGHT},
125 {{Effect::TICK, EffectStrength::MEDIUM},
127 {{Effect::TICK, EffectStrength::STRONG},
129 {{Effect::CLICK, EffectStrength::LIGHT},
131 {{Effect::CLICK, EffectStrength::MEDIUM},
133 {{Effect::CLICK, EffectStrength::STRONG},
135 {{Effect::HEAVY_CLICK, EffectStrength::LIGHT},
137 {{Effect::HEAVY_CLICK, EffectStrength::MEDIUM},
139 {{Effect::HEAVY_CLICK, EffectStrength::STRONG},
141 {{Effect::TEXTURE_TICK, EffectStrength::LIGHT},
[all …]
Dtypes.h28 ::aidl::android::hardware::vibrator::EffectStrength>;
/device/google/sunfish/vibrator/common/bench/
Dbenchmark.cpp89 using EffectStrength = V1_0::EffectStrength; typedef in VibratorEffectsBench
96 for (const auto &strength : hidl_enum_range<EffectStrength>()) { in DefaultArgs()
102 void performBench(State *state, Return<void> (I::*performApi)(Effect, EffectStrength, in performBench() argument
133 return static_cast<EffectStrength>(this->getOtherArg(state, 1)); in getStrength()
/device/google/sunfish/vibrator/drv2624/bench/
Dbenchmark.cpp34 using ::android::hardware::vibrator::V1_0::EffectStrength;
160 for (const auto &strength : hidl_enum_range<EffectStrength>()) { in DefaultArgs()
173 return static_cast<EffectStrength>(getOtherArg(state, 1)); in getStrength()
179 EffectStrength strength = getStrength(state);
/device/google/felix/vibrator/cs40l26/
DVibrator.h148 ndk::ScopedAStatus perform(Effect effect, EffectStrength strength,
162 ndk::ScopedAStatus alwaysOnEnable(int32_t id, Effect effect, EffectStrength strength) override;
187 ndk::ScopedAStatus getSimpleDetails(Effect effect, EffectStrength strength,
191 ndk::ScopedAStatus getCompoundDetails(Effect effect, EffectStrength strength,
194 ndk::ScopedAStatus performEffect(Effect effect, EffectStrength strength,
DVibrator.cpp778 ndk::ScopedAStatus Vibrator::perform(Effect effect, EffectStrength strength, in perform()
1124 EffectStrength /*strength*/) { in alwaysOnEnable() argument
1486 ndk::ScopedAStatus Vibrator::getSimpleDetails(Effect effect, EffectStrength strength, in getSimpleDetails()
1494 case EffectStrength::LIGHT: in getSimpleDetails()
1497 case EffectStrength::MEDIUM: in getSimpleDetails()
1500 case EffectStrength::STRONG: in getSimpleDetails()
1541 ndk::ScopedAStatus Vibrator::getCompoundDetails(Effect effect, EffectStrength strength, in getCompoundDetails()
1635 ndk::ScopedAStatus Vibrator::performEffect(Effect effect, EffectStrength strength, in performEffect()
/device/google/barbet/vibrator/drv2624/bench/
Dbenchmark.cpp150 for (const auto &strength : ndk::enum_range<EffectStrength>()) { in DefaultArgs()
163 return static_cast<EffectStrength>(getOtherArg(state, 1)); in getStrength()
169 EffectStrength strength = getStrength(state);
/device/google/redfin/vibrator/drv2624/bench/
Dbenchmark.cpp150 for (const auto &strength : ndk::enum_range<EffectStrength>()) { in DefaultArgs()
163 return static_cast<EffectStrength>(getOtherArg(state, 1)); in getStrength()
169 EffectStrength strength = getStrength(state);
/device/google/barbet/vibrator/drv2624/
DVibrator.cpp573 ndk::ScopedAStatus Vibrator::perform(Effect effect, EffectStrength strength, in perform()
588 ndk::ScopedAStatus Vibrator::performEffect(Effect effect, EffectStrength strength, in performEffect()
595 case EffectStrength::LIGHT: in performEffect()
598 case EffectStrength::MEDIUM: in performEffect()
601 case EffectStrength::STRONG: in performEffect()
653 EffectStrength /*strength*/) { in alwaysOnEnable() argument
DVibrator.h160 ndk::ScopedAStatus perform(Effect effect, EffectStrength strength,
174 ndk::ScopedAStatus alwaysOnEnable(int32_t id, Effect effect, EffectStrength strength) override;
192 ndk::ScopedAStatus performEffect(Effect effect, EffectStrength strength, int32_t *outTimeMs);
/device/google/redfin/vibrator/drv2624/
DVibrator.cpp604 ndk::ScopedAStatus Vibrator::perform(Effect effect, EffectStrength strength, in perform()
619 ndk::ScopedAStatus Vibrator::performEffect(Effect effect, EffectStrength strength, in performEffect()
626 case EffectStrength::LIGHT: in performEffect()
629 case EffectStrength::MEDIUM: in performEffect()
632 case EffectStrength::STRONG: in performEffect()
684 EffectStrength /*strength*/) { in alwaysOnEnable() argument
DVibrator.h166 ndk::ScopedAStatus perform(Effect effect, EffectStrength strength,
180 ndk::ScopedAStatus alwaysOnEnable(int32_t id, Effect effect, EffectStrength strength) override;
198 ndk::ScopedAStatus performEffect(Effect effect, EffectStrength strength, int32_t *outTimeMs);