Searched refs:setEffectIndex (Results 1 – 6 of 6) sorted by relevance
/aosp12/hardware/google/pixel/vibrator/cs40l25/tests/ |
H A D | test-vibrator.cpp | 172 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 D | mocks.h | 34 MOCK_METHOD1(setEffectIndex, bool(uint32_t value));
|
H A D | test-hwapi.cpp | 311 &Vibrator::HwApi::setEffectIndex),
|
/aosp12/hardware/google/pixel/vibrator/cs40l25/ |
H A D | Hardware.h | 61 bool setEffectIndex(uint32_t value) override { return set(value, &mEffectIndex); } in setEffectIndex() function
|
H A D | Vibrator.h | 59 virtual bool setEffectIndex(uint32_t value) = 0;
|
H A D | Vibrator.cpp | 248 mHwApi->setEffectIndex(effectIndex); 474 mHwApi->setEffectIndex(effectIndex); in on() 802 mHwApi->setEffectIndex(WAVEFORM_UNSAVED_TRIGGER_QUEUE_INDEX); in composePwle()
|