Home
last modified time | relevance | path

Searched refs:setActivate (Results 1 – 12 of 12) sorted by relevance

/hardware/google/pixel/vibrator/drv2624/tests/
Dmocks.h26 MOCK_METHOD1(setActivate, bool(bool value));
Dtest-vibrator.cpp138 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()
Dtest-hwapi.cpp254 SetBoolTest::MakeParam("activate", &Vibrator::HwApi::setActivate),
/hardware/google/pixel/vibrator/cs40l25/tests/
Dtest-vibrator.cpp246 EXPECT_CALL(*mMockApi, setActivate(_)).Times(times); in relaxMock()
356 EXPECT_CALL(*mMockApi, setActivate(true)).InSequence(s1, s2, s3).WillOnce(Return(true)); in TEST_F()
362 EXPECT_CALL(*mMockApi, setActivate(false)).WillOnce(Return(true)); in TEST_F()
525 eActivate = EXPECT_CALL(*mMockApi, setActivate(true)).After(eSetup).WillOnce(Return(true)); in TEST_P()
530 EXPECT_CALL(*mMockApi, setActivate(false)).After(ePollStop).WillOnce(Return(true)); in TEST_P()
647 eActivate = EXPECT_CALL(*mMockApi, setActivate(true)).After(eSetup).WillOnce(Return(true)); in TEST_P()
651 EXPECT_CALL(*mMockApi, setActivate(false)).After(ePollStop).WillOnce(Return(true)); in TEST_P()
Dmocks.h30 MOCK_METHOD1(setActivate, bool(bool value));
Dtest-hwapi.cpp276 SetBoolTest::MakeParam("activate", &Vibrator::HwApi::setActivate),
/hardware/google/pixel/vibrator/drv2624/
DHardware.h40 bool setActivate(bool value) override { return set(value, &mActivate); } in setActivate() function
DVibrator.cpp147 if (!mHwApi->setActivate(1)) { in on()
166 if (!mHwApi->setActivate(0)) { in off()
DVibrator.h40 virtual bool setActivate(bool value) = 0;
/hardware/google/pixel/vibrator/cs40l25/
DHardware.h58 bool setActivate(bool value) override { return set(value, &mActivate); } in setActivate() function
DVibrator.h49 virtual bool setActivate(bool value) = 0;
DVibrator.cpp330 if (!mHwApi->setActivate(0)) { in off()
563 mHwApi->setActivate(1); in on()
1028 mHwApi->setActivate(1); in composePwle()
1332 mHwApi->setActivate(false); in waitForComplete()