Searched refs:setDuration (Results 1 – 12 of 12) sorted by relevance
/hardware/google/pixel/vibrator/drv2624/tests/ |
D | mocks.h | 27 MOCK_METHOD1(setDuration, bool(uint32_t value));
|
D | test-vibrator.cpp | 139 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()
|
D | test-hwapi.cpp | 358 SetUint32Test::MakeParam("duration", &Vibrator::HwApi::setDuration),
|
/hardware/google/pixel/vibrator/cs40l25/tests/ |
D | mocks.h | 31 MOCK_METHOD1(setDuration, bool(uint32_t value));
|
D | test-vibrator.cpp | 247 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()
|
D | test-hwapi.cpp | 310 SetUint32Test::MakeParam("duration", &Vibrator::HwApi::setDuration),
|
/hardware/google/pixel/vibrator/drv2624/ |
D | Hardware.h | 41 bool setDuration(uint32_t value) override { return set(value, &mDuration); } in setDuration() function
|
D | Vibrator.h | 42 virtual bool setDuration(uint32_t value) = 0;
|
D | Vibrator.cpp | 135 if (!mHwApi->setDuration(timeoutMs)) { in on()
|
/hardware/google/pixel/vibrator/cs40l25/ |
D | Hardware.h | 59 bool setDuration(uint32_t value) override { return set(value, &mDuration); } in setDuration() function
|
D | Vibrator.h | 51 virtual bool setDuration(uint32_t value) = 0;
|
D | Vibrator.cpp | 561 mHwApi->setDuration(timeoutMs); in on() 1021 mHwApi->setDuration(totalDuration); in composePwle()
|