Home
last modified time | relevance | path

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

/hardware/google/pixel/vibrator/cs40l26/tests/
Dtest-vibrator.cpp229 ON_CALL(*mMockApi, setFFGain(_)).WillByDefault(Return(true)); in createMock()
298 EXPECT_CALL(*mMockApi, setFFGain(_)).Times(times); in relaxMock()
415 EXPECT_CALL(*mMockApi, setFFGain(ON_GLOBAL_SCALE)).InSequence(s1).WillOnce(DoDefault()); in TEST_F()
429 EXPECT_CALL(*mMockApi, setFFGain(ON_GLOBAL_SCALE)).InSequence(s1).WillOnce(DoDefault()); in TEST_F()
454 EXPECT_CALL(*mMockApi, setFFGain(amplitudeToScale(amplitude))).WillOnce(Return(true)); in TEST_F()
479 EXPECT_CALL(*mMockApi, setFFGain(ON_GLOBAL_SCALE)).InSequence(s1).WillOnce(DoDefault()); in TEST_F()
493 EXPECT_CALL(*mMockApi, setFFGain(ON_GLOBAL_SCALE)) in TEST_F()
502 EXPECT_CALL(*mMockApi, setFFGain(levelToScale(VOLTAGE_SCALE_MAX))) in TEST_F()
548 eSetup += EXPECT_CALL(*mMockApi, setFFGain(levelToScale(scale->second))) in TEST_P()
555 eSetup += EXPECT_CALL(*mMockApi, setFFGain(ON_GLOBAL_SCALE)) in TEST_P()
[all …]
Dmocks.h43 MOCK_METHOD1(setFFGain, bool(uint16_t value));
/hardware/google/pixel/vibrator/cs40l26/
DVibrator.h93 virtual bool setFFGain(uint16_t value) = 0;
DHardware.h187 bool setFFGain(uint16_t value) override { in setFFGain() function
DVibrator.cpp782 if (!mHwApi->setFFGain(scale)) { in setEffectAmplitude()