Searched refs:setActivate (Results 1 – 12 of 12) sorted by relevance
/aosp12/hardware/google/pixel/vibrator/cs40l25/tests/ |
H A D | test-vibrator.cpp | 232 EXPECT_CALL(*mMockApi, setActivate(_)).Times(times); in relaxMock() 325 EXPECT_CALL(*mMockApi, setActivate(true)).InSequence(s1, s2, s3).WillOnce(Return(true)); in TEST_F() 331 EXPECT_CALL(*mMockApi, setActivate(false)).WillOnce(Return(true)); in TEST_F() 474 eActivate = EXPECT_CALL(*mMockApi, setActivate(true)).After(eSetup).WillOnce(Return(true)); in TEST_P() 478 EXPECT_CALL(*mMockApi, setActivate(false)).After(ePoll).WillOnce(Return(true)); in TEST_P() 588 eActivate = EXPECT_CALL(*mMockApi, setActivate(true)).After(eSetup).WillOnce(Return(true)); in TEST_P() 590 EXPECT_CALL(*mMockApi, setActivate(false)).After(ePoll).WillOnce(Return(true)); in TEST_P()
|
H A D | mocks.h | 30 MOCK_METHOD1(setActivate, bool(bool value));
|
H A D | test-hwapi.cpp | 275 SetBoolTest::MakeParam("activate", &Vibrator::HwApi::setActivate),
|
/aosp12/hardware/google/pixel/vibrator/drv2624/tests/ |
H A D | test-vibrator.cpp | 138 ON_CALL(*mMockApi, setActivate(_)).WillByDefault(Return(true)); in createMock() 205 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()
|
H A D | mocks.h | 26 MOCK_METHOD1(setActivate, bool(bool value));
|
H A D | test-hwapi.cpp | 254 SetBoolTest::MakeParam("activate", &Vibrator::HwApi::setActivate),
|
/aosp12/hardware/google/pixel/vibrator/cs40l25/ |
H A D | Vibrator.cpp | 289 if (!mHwApi->setActivate(0)) { in off() 472 mHwApi->setActivate(0); in on() 476 mHwApi->setActivate(1); in on() 807 mHwApi->setActivate(1); in composePwle() 1065 mHwApi->setActivate(false); in waitForComplete()
|
H A D | Hardware.h | 57 bool setActivate(bool value) override { return set(value, &mActivate); } in setActivate() function
|
H A D | Vibrator.h | 49 virtual bool setActivate(bool value) = 0;
|
/aosp12/hardware/google/pixel/vibrator/drv2624/ |
H A D | Vibrator.cpp | 147 if (!mHwApi->setActivate(1)) { in on() 166 if (!mHwApi->setActivate(0)) { in off()
|
H A D | Hardware.h | 40 bool setActivate(bool value) override { return set(value, &mActivate); } in setActivate() function
|
H A D | Vibrator.h | 40 virtual bool setActivate(bool value) = 0;
|