Searched refs:pollVibeState (Results 1 – 5 of 5) sorted by relevance
/device/google/felix/vibrator/cs40l26/tests/ |
D | test-vibrator.cpp | 230 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()
|
D | mocks.h | 42 MOCK_METHOD2(pollVibeState, bool(uint32_t value, int32_t timeoutMs));
|
/device/google/felix/vibrator/cs40l26/ |
D | Vibrator.cpp | 1684 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()
|
D | Vibrator.h | 67 virtual bool pollVibeState(uint32_t value, int32_t timeoutMs = -1) = 0;
|
D | Hardware.h | 92 bool pollVibeState(uint32_t value, int32_t timeoutMs) override { in pollVibeState() function
|