Home
last modified time | relevance | path

Searched refs:mEffectDurations (Results 1 – 5 of 5) sorted by relevance

/device/google/redfin/vibrator/drv2624/tests/
Dtest-vibrator.cpp113 mEffectDurations[Effect::CLICK] = std::rand(); in SetUp()
114 mEffectDurations[Effect::TICK] = std::rand(); in SetUp()
115 mEffectDurations[Effect::DOUBLE_CLICK] = std::rand(); in SetUp()
116 mEffectDurations[Effect::HEAVY_CLICK] = std::rand(); in SetUp()
117 mEffectDurations[Effect::TEXTURE_TICK] = mEffectDurations[Effect::TICK]; in SetUp()
162 .WillByDefault(DoAll(SetArgPointee<0>(mEffectDurations[Effect::CLICK]), Return(true))); in createMock()
164 .WillByDefault(DoAll(SetArgPointee<0>(mEffectDurations[Effect::TICK]), Return(true))); in createMock()
167 DoAll(SetArgPointee<0>(mEffectDurations[Effect::DOUBLE_CLICK]), Return(true))); in createMock()
170 DoAll(SetArgPointee<0>(mEffectDurations[Effect::HEAVY_CLICK]), Return(true))); in createMock()
242 std::map<Effect, EffectDuration> mEffectDurations; member in aidl::android::hardware::vibrator::VibratorTestTemplate
[all …]
/device/google/barbet/vibrator/drv2624/tests/
Dtest-vibrator.cpp113 mEffectDurations[Effect::CLICK] = std::rand(); in SetUp()
114 mEffectDurations[Effect::TICK] = std::rand(); in SetUp()
115 mEffectDurations[Effect::DOUBLE_CLICK] = std::rand(); in SetUp()
116 mEffectDurations[Effect::HEAVY_CLICK] = std::rand(); in SetUp()
117 mEffectDurations[Effect::TEXTURE_TICK] = mEffectDurations[Effect::TICK]; in SetUp()
162 .WillByDefault(DoAll(SetArgPointee<0>(mEffectDurations[Effect::CLICK]), Return(true))); in createMock()
164 .WillByDefault(DoAll(SetArgPointee<0>(mEffectDurations[Effect::TICK]), Return(true))); in createMock()
167 DoAll(SetArgPointee<0>(mEffectDurations[Effect::DOUBLE_CLICK]), Return(true))); in createMock()
170 DoAll(SetArgPointee<0>(mEffectDurations[Effect::HEAVY_CLICK]), Return(true))); in createMock()
242 std::map<Effect, EffectDuration> mEffectDurations; member in aidl::android::hardware::vibrator::VibratorTestTemplate
[all …]
/device/google/sunfish/vibrator/drv2624/tests/
Dtest-vibrator.cpp117 mEffectDurations[Effect::CLICK] = std::rand(); in SetUp()
118 mEffectDurations[Effect::TICK] = std::rand(); in SetUp()
119 mEffectDurations[Effect::DOUBLE_CLICK] = std::rand(); in SetUp()
120 mEffectDurations[Effect::HEAVY_CLICK] = std::rand(); in SetUp()
121 mEffectDurations[Effect::TEXTURE_TICK] = mEffectDurations[Effect::TICK]; in SetUp()
166 .WillByDefault(DoAll(SetArgPointee<0>(mEffectDurations[Effect::CLICK]), Return(true))); in createMock()
168 .WillByDefault(DoAll(SetArgPointee<0>(mEffectDurations[Effect::TICK]), Return(true))); in createMock()
171 DoAll(SetArgPointee<0>(mEffectDurations[Effect::DOUBLE_CLICK]), Return(true))); in createMock()
174 DoAll(SetArgPointee<0>(mEffectDurations[Effect::HEAVY_CLICK]), Return(true))); in createMock()
246 std::map<Effect, EffectDuration> mEffectDurations; member in android::hardware::vibrator::V1_3::implementation::VibratorTestTemplate
[all …]
/device/google/felix/vibrator/cs40l26/
DVibrator.cpp486 mEffectDurations.resize(WAVEFORM_MAX_INDEX);
487 mEffectDurations = {
515 mEffectDurations[effectIndex])) {
565 mEffectDurations[effectIndex])) {
853 *durationMs = mEffectDurations[effectIndex]; in getPrimitiveDuration()
916 totalDuration += mEffectDurations[effectIndex]; in compose()
1402 mFfEffects[effectId].u.periodic.custom_data[1], mEffectDurations[effectId], in dump()
1409 mFfEffectsDual[effectId].u.periodic.custom_data[1], mEffectDurations[effectId], in dump()
1533 timeMs = mEffectDurations[effectIndex] + MAX_COLD_START_LATENCY_MS; in getSimpleDetails()
DVibrator.h220 std::vector<uint32_t> mEffectDurations; variable