Home
last modified time | relevance | path

Searched refs:setEffectIndex (Results 1 – 6 of 6) sorted by relevance

/aosp12/hardware/google/pixel/vibrator/cs40l25/tests/
H A Dtest-vibrator.cpp172 ON_CALL(*mMockApi, setEffectIndex(_)) in createMock()
173 .WillByDefault(Invoke(this, &VibratorTest::setEffectIndex)); in createMock()
207 bool setEffectIndex(EffectIndex index) { in setEffectIndex() function in aidl::android::hardware::vibrator::VibratorTest
236 EXPECT_CALL(*mMockApi, setEffectIndex(_)).Times(times); in relaxMock()
309 EXPECT_CALL(*mMockApi, setEffectIndex(&d - &EFFECT_DURATIONS[0])) in TEST_F()
323 EXPECT_CALL(*mMockApi, setEffectIndex(ON_EFFECT_INDEX)).InSequence(s2).WillOnce(DoDefault()); in TEST_F()
459 eSetup += EXPECT_CALL(*mMockApi, setEffectIndex(index)).WillOnce(DoDefault()); in TEST_P()
464 eSetup += EXPECT_CALL(*mMockApi, setEffectIndex(QUEUE_INDEX)).WillOnce(DoDefault()); in TEST_P()
584 eSetup += EXPECT_CALL(*mMockApi, setEffectIndex(QUEUE_INDEX)).WillOnce(DoDefault()); in TEST_P()
H A Dmocks.h34 MOCK_METHOD1(setEffectIndex, bool(uint32_t value));
H A Dtest-hwapi.cpp311 &Vibrator::HwApi::setEffectIndex),
/aosp12/hardware/google/pixel/vibrator/cs40l25/
H A DHardware.h61 bool setEffectIndex(uint32_t value) override { return set(value, &mEffectIndex); } in setEffectIndex() function
H A DVibrator.h59 virtual bool setEffectIndex(uint32_t value) = 0;
H A DVibrator.cpp248 mHwApi->setEffectIndex(effectIndex);
474 mHwApi->setEffectIndex(effectIndex); in on()
802 mHwApi->setEffectIndex(WAVEFORM_UNSAVED_TRIGGER_QUEUE_INDEX); in composePwle()