Home
last modified time | relevance | path

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

/hardware/google/pixel/vibrator/cs40l25/tests/
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()
228 EXPECT_CALL(*mMockApi, destructor()).Times(times); in relaxMock()
229 EXPECT_CALL(*mMockApi, setF0(_)).Times(times); in relaxMock()
230 EXPECT_CALL(*mMockApi, setRedc(_)).Times(times); in relaxMock()
231 EXPECT_CALL(*mMockApi, setQ(_)).Times(times); in relaxMock()
[all …]
/hardware/google/pixel/vibrator/drv2624/tests/
Dtest-vibrator.cpp133 mMockApi = mockapi->get(); in createMock()
136 ON_CALL(*mMockApi, destructor()).WillByDefault(Assign(&mMockApi, nullptr)); in createMock()
137 ON_CALL(*mMockApi, setOlLraPeriod(_)).WillByDefault(Return(true)); in createMock()
138 ON_CALL(*mMockApi, setActivate(_)).WillByDefault(Return(true)); in createMock()
139 ON_CALL(*mMockApi, setDuration(_)).WillByDefault(Return(true)); in createMock()
140 ON_CALL(*mMockApi, setMode(_)).WillByDefault(Return(true)); in createMock()
141 ON_CALL(*mMockApi, setCtrlLoop(_)).WillByDefault(Return(true)); in createMock()
142 ON_CALL(*mMockApi, setLraWaveShape(_)).WillByDefault(Return(true)); in createMock()
143 ON_CALL(*mMockApi, setOdClamp(_)).WillByDefault(Return(true)); in createMock()
199 Mock::VerifyAndClearExpectations(mMockApi); in relaxMock()
[all …]