Searched refs:setActivate (Results 1 – 12 of 12) sorted by relevance
/hardware/google/pixel/vibrator/cs40l25/tests/ |
D | test-vibrator.cpp | 228 EXPECT_CALL(*mMockApi, setActivate(_)).Times(times); in relaxMock() 315 EXPECT_CALL(*mMockApi, setActivate(true)).InSequence(s1, s2, s3).WillOnce(Return(true)); in TEST_F() 321 EXPECT_CALL(*mMockApi, setActivate(false)).WillOnce(Return(true)); in TEST_F() 464 eActivate = EXPECT_CALL(*mMockApi, setActivate(true)).After(eSetup).WillOnce(Return(true)); in TEST_P() 468 EXPECT_CALL(*mMockApi, setActivate(false)).After(ePoll).WillOnce(Return(true)); in TEST_P() 577 eActivate = EXPECT_CALL(*mMockApi, setActivate(true)).After(eSetup).WillOnce(Return(true)); in TEST_P() 579 EXPECT_CALL(*mMockApi, setActivate(false)).After(ePoll).WillOnce(Return(true)); in TEST_P()
|
D | mocks.h | 29 MOCK_METHOD1(setActivate, bool(bool value));
|
D | test-hwapi.cpp | 270 SetBoolTest::MakeParam("activate", &Vibrator::HwApi::setActivate),
|
/hardware/google/pixel/vibrator/drv2624/tests/ |
D | test-vibrator.cpp | 137 ON_CALL(*mMockApi, setActivate(_)).WillByDefault(Return(true)); in createMock() 204 EXPECT_CALL(*mMockApi, setActivate(_)).Times(times); in relaxMock() 309 EXPECT_CALL(*mMockApi, setActivate(true)).After(e).WillOnce(DoDefault()); in TEST_P() 335 EXPECT_CALL(*mMockApi, setActivate(false)).WillOnce(DoDefault()); in TEST_P() 427 EXPECT_CALL(*mMockApi, setActivate(true)).After(e).WillOnce(DoDefault()); in TEST_P()
|
D | mocks.h | 26 MOCK_METHOD1(setActivate, bool(bool value));
|
D | test-hwapi.cpp | 253 SetBoolTest::MakeParam("activate", &Vibrator::HwApi::setActivate),
|
/hardware/google/pixel/vibrator/drv2624/ |
D | Vibrator.cpp | 149 if (!mHwApi->setActivate(1)) { in on() 168 if (!mHwApi->setActivate(0)) { in off()
|
D | Vibrator.h | 40 virtual bool setActivate(bool value) = 0;
|
D | Hardware.h | 40 bool setActivate(bool value) override { return set(value, &mActivate); } in setActivate() function
|
/hardware/google/pixel/vibrator/cs40l25/ |
D | Vibrator.cpp | 146 if (!mHwApi->setActivate(0)) { in off() 297 mHwApi->setActivate(1); in on() 611 mHwApi->setActivate(false); in waitForComplete()
|
D | Hardware.h | 52 bool setActivate(bool value) override { return set(value, &mActivate); } in setActivate() function
|
D | Vibrator.h | 46 virtual bool setActivate(bool value) = 0;
|