Searched refs:setFFGain (Results 1 – 5 of 5) sorted by relevance
/hardware/google/pixel/vibrator/cs40l26/tests/ |
D | test-vibrator.cpp | 229 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 …]
|
D | mocks.h | 43 MOCK_METHOD1(setFFGain, bool(uint16_t value));
|
/hardware/google/pixel/vibrator/cs40l26/ |
D | Vibrator.h | 93 virtual bool setFFGain(uint16_t value) = 0;
|
D | Hardware.h | 187 bool setFFGain(uint16_t value) override { in setFFGain() function
|
D | Vibrator.cpp | 782 if (!mHwApi->setFFGain(scale)) { in setEffectAmplitude()
|