Home
last modified time | relevance | path

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

/hardware/google/pixel/vibrator/cs40l25/tests/
Dtest-vibrator.cpp175 mMockApi = mockapi->get(); in createMock()
179 ON_CALL(*mMockApi, destructor()).WillByDefault(Assign(&mMockApi, nullptr)); in createMock()
181 ON_CALL(*mMockApi, getEffectCount(_)) in createMock()
184 ON_CALL(*mMockApi, setEffectIndex(_)) in createMock()
187 ON_CALL(*mMockApi, getEffectDuration(_)) in createMock()
238 Mock::VerifyAndClearExpectations(mMockApi); in relaxMock()
242 EXPECT_CALL(*mMockApi, destructor()).Times(times); in relaxMock()
243 EXPECT_CALL(*mMockApi, setF0(_)).Times(times); in relaxMock()
244 EXPECT_CALL(*mMockApi, setRedc(_)).Times(times); in relaxMock()
245 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 …]
/hardware/google/pixel/vibrator/cs40l26/tests/
Dtest-vibrator.cpp222 mMockApi = mockapi->get(); in createMock()
226 ON_CALL(*mMockApi, destructor()).WillByDefault(Assign(&mMockApi, nullptr)); in createMock()
228 ON_CALL(*mMockApi, initFF()).WillByDefault(Return(false)); in createMock()
229 ON_CALL(*mMockApi, setFFGain(_)).WillByDefault(Return(true)); in createMock()
230 ON_CALL(*mMockApi, setFFEffect(_, _)).WillByDefault(Return(true)); in createMock()
231 ON_CALL(*mMockApi, setFFPlay(_, _)).WillByDefault(Return(true)); in createMock()
232 ON_CALL(*mMockApi, pollVibeState(_, _)).WillByDefault(Return(true)); in createMock()
233 ON_CALL(*mMockApi, uploadOwtEffect(_, _, _, _, _)).WillByDefault(Return(true)); in createMock()
234 ON_CALL(*mMockApi, eraseOwtEffect(_, _)).WillByDefault(Return(true)); in createMock()
236 ON_CALL(*mMockApi, getOwtFreeSpace(_)) in createMock()
[all …]