Home
last modified time | relevance | path

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

/hardware/google/pixel/vibrator/drv2624/tests/
Dtest-vibrator.cpp114 mEffectDurations[Effect::CLICK] = std::rand(); in SetUp()
115 mEffectDurations[Effect::TICK] = std::rand(); in SetUp()
116 mEffectDurations[Effect::DOUBLE_CLICK] = std::rand(); in SetUp()
117 mEffectDurations[Effect::HEAVY_CLICK] = std::rand(); in SetUp()
118 mEffectDurations[Effect::TEXTURE_TICK] = mEffectDurations[Effect::TICK]; in SetUp()
164 DoAll(SetArgPointee<0>(mEffectDurations[Effect::CLICK]), Return(true))); in createMock()
167 DoAll(SetArgPointee<0>(mEffectDurations[Effect::TICK]), Return(true))); in createMock()
169 .WillByDefault(DoAll(SetArgPointee<0>(mEffectDurations[Effect::DOUBLE_CLICK]), in createMock()
172 .WillByDefault(DoAll(SetArgPointee<0>(mEffectDurations[Effect::HEAVY_CLICK]), in createMock()
246 std::map<Effect, EffectDuration> mEffectDurations; member in aidl::android::hardware::vibrator::VibratorTestTemplate
[all …]
/hardware/google/pixel/vibrator/cs40l26/
DVibrator.cpp268 mEffectDurations.resize(WAVEFORM_MAX_INDEX);
269 mEffectDurations = {
279 .replay.length = static_cast<uint16_t>(mEffectDurations[effectIndex]),
496 *durationMs = mEffectDurations[effectIndex]; in getPrimitiveDuration()
961 mFfEffects[effectId].u.periodic.custom_data[1], mEffectDurations[effectId], in dump()
1110 timeMs = mEffectDurations[effectIndex] + MAX_COLD_START_LATENCY_MS; in getSimpleDetails()
DVibrator.h171 std::vector<uint32_t> mEffectDurations; variable
/hardware/google/pixel/vibrator/cs40l25/
DVibrator.cpp246 mEffectDurations.resize(effectCount);
251 mEffectDurations[effectIndex] = std::ceil(effectDuration / EFFECT_FREQUENCY_KHZ);
412 *durationMs = mEffectDurations[effectIndex]; in getPrimitiveDuration()
840 for (auto d : mEffectDurations) { in dump()
901 timeMs = mEffectDurations[effectIndex] + MAX_COLD_START_LATENCY_MS; in getSimpleDetails()
DVibrator.h210 std::vector<uint32_t> mEffectDurations; variable