Home
last modified time | relevance | path

Searched refs:pollVibeState (Results 1 – 5 of 5) sorted by relevance

/device/google/felix/vibrator/cs40l26/tests/
Dtest-vibrator.cpp230 ON_CALL(*mMockApi, pollVibeState(_, _)).WillByDefault(Return(true)); in createMock()
291 EXPECT_CALL(*mMockApi, pollVibeState(_, _)).Times(times); in relaxMock()
536 ePollHaptics = EXPECT_CALL(*mMockApi, pollVibeState(1, POLLING_TIMEOUT)) in TEST_P()
539 ePollStop = EXPECT_CALL(*mMockApi, pollVibeState(0, -1)) in TEST_P()
645 ePollHaptics = EXPECT_CALL(*mMockApi, pollVibeState(1, POLLING_TIMEOUT)) in TEST_P()
649 EXPECT_CALL(*mMockApi, pollVibeState(0, -1)).After(ePollHaptics).WillOnce(DoDefault()); in TEST_P()
Dmocks.h42 MOCK_METHOD2(pollVibeState, bool(uint32_t value, int32_t timeoutMs));
/device/google/felix/vibrator/cs40l26/
DVibrator.cpp1684 if (!mHwApiDef->pollVibeState(VIBE_STATE_HAPTIC, POLLING_TIMEOUT)) { in waitForComplete()
1688 mHwApiDef->pollVibeState(VIBE_STATE_STOPPED); in waitForComplete()
1691 mHwApiDual->pollVibeState(VIBE_STATE_STOPPED); in waitForComplete()
DVibrator.h67 virtual bool pollVibeState(uint32_t value, int32_t timeoutMs = -1) = 0;
DHardware.h92 bool pollVibeState(uint32_t value, int32_t timeoutMs) override { in pollVibeState() function