Home
last modified time | relevance | path

Searched refs:setDuration (Results 1 – 12 of 12) sorted by relevance

/hardware/google/pixel/vibrator/drv2624/tests/
Dmocks.h27 MOCK_METHOD1(setDuration, bool(uint32_t value));
Dtest-vibrator.cpp139 ON_CALL(*mMockApi, setDuration(_)).WillByDefault(Return(true)); in createMock()
206 EXPECT_CALL(*mMockApi, setDuration(_)).Times(times); in relaxMock()
301 e += EXPECT_CALL(*mMockApi, setDuration(duration)).WillOnce(DoDefault()); in TEST_P()
419 e += EXPECT_CALL(*mMockApi, setDuration(duration)).WillOnce(DoDefault()); in TEST_P()
Dtest-hwapi.cpp358 SetUint32Test::MakeParam("duration", &Vibrator::HwApi::setDuration),
/hardware/google/pixel/vibrator/cs40l25/tests/
Dmocks.h31 MOCK_METHOD1(setDuration, bool(uint32_t value));
Dtest-vibrator.cpp247 EXPECT_CALL(*mMockApi, setDuration(_)).Times(times); in relaxMock()
354 EXPECT_CALL(*mMockApi, setDuration(Ge(duration))).InSequence(s3).WillOnce(Return(true)); in TEST_F()
523 eSetup += EXPECT_CALL(*mMockApi, setDuration(Ge(duration))).WillOnce(Return(true)); in TEST_P()
645 eSetup += EXPECT_CALL(*mMockApi, setDuration(UINT32_MAX)).WillOnce(Return(true)); in TEST_P()
Dtest-hwapi.cpp310 SetUint32Test::MakeParam("duration", &Vibrator::HwApi::setDuration),
/hardware/google/pixel/vibrator/drv2624/
DHardware.h41 bool setDuration(uint32_t value) override { return set(value, &mDuration); } in setDuration() function
DVibrator.h42 virtual bool setDuration(uint32_t value) = 0;
DVibrator.cpp135 if (!mHwApi->setDuration(timeoutMs)) { in on()
/hardware/google/pixel/vibrator/cs40l25/
DHardware.h59 bool setDuration(uint32_t value) override { return set(value, &mDuration); } in setDuration() function
DVibrator.h51 virtual bool setDuration(uint32_t value) = 0;
DVibrator.cpp561 mHwApi->setDuration(timeoutMs); in on()
1021 mHwApi->setDuration(totalDuration); in composePwle()