Home
last modified time | relevance | path

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

/aosp12/hardware/google/pixel/vibrator/drv2624/tests/
H A Dtest-vibrator.cpp143 ON_CALL(*mMockApi, setOdClamp(_)).WillByDefault(Return(true)); in createMock()
217 EXPECT_CALL(*mMockApi, setOdClamp(_)).Times(times); in relaxMock()
305 e += EXPECT_CALL(*mMockApi, setOdClamp(mLongVoltageMax)).WillOnce(DoDefault()); in TEST_P()
423 e += EXPECT_CALL(*mMockApi, setOdClamp(mShortVoltageMax)).WillOnce(DoDefault()); in TEST_P()
H A Dmocks.h38 MOCK_METHOD1(setOdClamp, bool(uint32_t value));
H A Dtest-hwapi.cpp363 SetUint32Test::MakeParam("device/od_clamp", &Vibrator::HwApi::setOdClamp),
/aosp12/hardware/google/pixel/vibrator/drv2624/
H A DHardware.h52 bool setOdClamp(uint32_t value) override { return set(value, &mOdClamp); } in setOdClamp() function
H A DVibrator.h83 virtual bool setOdClamp(uint32_t value) = 0;
H A DVibrator.cpp143 mHwApi->setOdClamp(config->odClamp); in on()