Searched refs:setEffectIndex (Results 1 – 6 of 6) sorted by relevance
/hardware/google/pixel/vibrator/cs40l25/tests/ |
D | test-vibrator.cpp | 184 ON_CALL(*mMockApi, setEffectIndex(_)) in createMock() 185 .WillByDefault(Invoke(this, &VibratorTest::setEffectIndex)); in createMock() 220 bool setEffectIndex(EffectIndex index) { in setEffectIndex() function in aidl::android::hardware::vibrator::VibratorTest 250 EXPECT_CALL(*mMockApi, setEffectIndex(_)).Times(times); in relaxMock() 332 EXPECT_CALL(*mMockApi, setEffectIndex(&d - &EFFECT_DURATIONS[0])) in TEST_F() 353 EXPECT_CALL(*mMockApi, setEffectIndex(ON_EFFECT_INDEX)).InSequence(s2).WillOnce(DoDefault()); in TEST_F() 508 eSetup += EXPECT_CALL(*mMockApi, setEffectIndex(index)).WillOnce(DoDefault()); in TEST_P() 514 eSetup += EXPECT_CALL(*mMockApi, setEffectIndex(QUEUE_INDEX)).WillOnce(DoDefault()); in TEST_P() 642 eSetup += EXPECT_CALL(*mMockApi, setEffectIndex(QUEUE_INDEX)).WillOnce(DoDefault()); in TEST_P()
|
D | mocks.h | 34 MOCK_METHOD1(setEffectIndex, bool(uint32_t value));
|
D | test-hwapi.cpp | 312 &Vibrator::HwApi::setEffectIndex),
|
/hardware/google/pixel/vibrator/cs40l25/ |
D | Hardware.h | 62 bool setEffectIndex(uint32_t value) override { return set(value, &mEffectIndex); } in setEffectIndex() function
|
D | Vibrator.h | 59 virtual bool setEffectIndex(uint32_t value) = 0;
|
D | Vibrator.cpp | 281 mHwApi->setEffectIndex(effectIndex); 560 mHwApi->setEffectIndex(effectIndex); in on() 1018 mHwApi->setEffectIndex(WAVEFORM_UNSAVED_TRIGGER_QUEUE_INDEX); in composePwle()
|