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.cpp138 ON_CALL(*mMockApi, setDuration(_)).WillByDefault(Return(true)); in createMock()
205 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.cpp355 SetUint32Test::MakeParam("duration", &Vibrator::HwApi::setDuration),
/hardware/google/pixel/vibrator/cs40l25/tests/
Dmocks.h30 MOCK_METHOD1(setDuration, bool(uint32_t value));
Dtest-vibrator.cpp229 EXPECT_CALL(*mMockApi, setDuration(_)).Times(times); in relaxMock()
314 EXPECT_CALL(*mMockApi, setDuration(Ge(duration))).InSequence(s3).WillOnce(Return(true)); in TEST_F()
463 eSetup += EXPECT_CALL(*mMockApi, setDuration(Ge(duration))).WillOnce(Return(true)); in TEST_P()
576 eSetup += EXPECT_CALL(*mMockApi, setDuration(UINT32_MAX)).WillOnce(Return(true)); in TEST_P()
Dtest-hwapi.cpp304 SetUint32Test::MakeParam("duration", &Vibrator::HwApi::setDuration),
/hardware/google/pixel/vibrator/drv2624/
DVibrator.h42 virtual bool setDuration(uint32_t value) = 0;
DHardware.h41 bool setDuration(uint32_t value) override { return set(value, &mDuration); } in setDuration() function
DVibrator.cpp137 if (!mHwApi->setDuration(timeoutMs)) { in on()
/hardware/google/pixel/vibrator/cs40l25/
DHardware.h53 bool setDuration(uint32_t value) override { return set(value, &mDuration); } in setDuration() function
DVibrator.h48 virtual bool setDuration(uint32_t value) = 0;
DVibrator.cpp296 mHwApi->setDuration(timeoutMs); in on()