summaryrefslogtreecommitdiff
path: root/vibrator/cs40l26/tests/mocks.h
diff options
context:
space:
mode:
Diffstat (limited to 'vibrator/cs40l26/tests/mocks.h')
-rw-r--r--vibrator/cs40l26/tests/mocks.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vibrator/cs40l26/tests/mocks.h b/vibrator/cs40l26/tests/mocks.h
index 53c9a045..0837938c 100644
--- a/vibrator/cs40l26/tests/mocks.h
+++ b/vibrator/cs40l26/tests/mocks.h
@@ -45,6 +45,7 @@ class MockApi : public ::aidl::android::hardware::vibrator::Vibrator::HwApi {
MOCK_METHOD2(setFFPlay, bool(int8_t index, bool value));
MOCK_METHOD2(getHapticAlsaDevice, bool(int *card, int *device));
MOCK_METHOD4(setHapticPcmAmp, bool(struct pcm **haptic_pcm, bool enable, int card, int device));
+ MOCK_METHOD0(isPassthroughI2sHapticSupported, bool());
MOCK_METHOD5(uploadOwtEffect,
bool(const uint8_t *owtData, const uint32_t numBytes, struct ff_effect *effect,
uint32_t *outEffectIndex, int *status));