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 | 138 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()
|
D | test-hwapi.cpp | 355 SetUint32Test::MakeParam("duration", &Vibrator::HwApi::setDuration),
|
/hardware/google/pixel/vibrator/cs40l25/tests/ |
D | mocks.h | 30 MOCK_METHOD1(setDuration, bool(uint32_t value));
|
D | test-vibrator.cpp | 229 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()
|
D | test-hwapi.cpp | 304 SetUint32Test::MakeParam("duration", &Vibrator::HwApi::setDuration),
|
/hardware/google/pixel/vibrator/drv2624/ |
D | Vibrator.h | 42 virtual bool setDuration(uint32_t value) = 0;
|
D | Hardware.h | 41 bool setDuration(uint32_t value) override { return set(value, &mDuration); } in setDuration() function
|
D | Vibrator.cpp | 137 if (!mHwApi->setDuration(timeoutMs)) { in on()
|
/hardware/google/pixel/vibrator/cs40l25/ |
D | Hardware.h | 53 bool setDuration(uint32_t value) override { return set(value, &mDuration); } in setDuration() function
|
D | Vibrator.h | 48 virtual bool setDuration(uint32_t value) = 0;
|
D | Vibrator.cpp | 296 mHwApi->setDuration(timeoutMs); in on()
|