Home
last modified time | relevance | path

Searched refs:mMockApi (Results 1 – 2 of 2) sorted by relevance

/aosp12/hardware/google/pixel/vibrator/cs40l25/tests/
H A Dtest-vibrator.cpp164 mMockApi = mockapi->get(); in createMock()
167 ON_CALL(*mMockApi, destructor()).WillByDefault(Assign(&mMockApi, nullptr)); in createMock()
169 ON_CALL(*mMockApi, getEffectCount(_)) in createMock()
172 ON_CALL(*mMockApi, setEffectIndex(_)) in createMock()
175 ON_CALL(*mMockApi, getEffectDuration(_)) in createMock()
225 Mock::VerifyAndClearExpectations(mMockApi); in relaxMock()
229 EXPECT_CALL(*mMockApi, setF0(_)).Times(times); in relaxMock()
231 EXPECT_CALL(*mMockApi, setQ(_)).Times(times); in relaxMock()
249 EXPECT_CALL(*mMockApi, debug(_)).Times(times); in relaxMock()
260 MockApi *mMockApi; member in aidl::android::hardware::vibrator::VibratorTest
[all …]
/aosp12/hardware/google/pixel/vibrator/drv2624/tests/
H A Dtest-vibrator.cpp133 mMockApi = mockapi->get(); in createMock()
136 ON_CALL(*mMockApi, destructor()).WillByDefault(Assign(&mMockApi, nullptr)); in createMock()
199 Mock::VerifyAndClearExpectations(mMockApi); in relaxMock()
202 EXPECT_CALL(*mMockApi, destructor()).Times(times); in relaxMock()
203 EXPECT_CALL(*mMockApi, setAutocal(_)).Times(times); in relaxMock()
207 EXPECT_CALL(*mMockApi, setState(_)).Times(times); in relaxMock()
208 EXPECT_CALL(*mMockApi, hasRtpInput()).Times(times); in relaxMock()
210 EXPECT_CALL(*mMockApi, setMode(_)).Times(times); in relaxMock()
212 EXPECT_CALL(*mMockApi, setScale(_)).Times(times); in relaxMock()
218 EXPECT_CALL(*mMockApi, debug(_)).Times(times); in relaxMock()
[all …]