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.cpp163 mMockApi = mockapi->get(); in createMock()
166 ON_CALL(*mMockApi, destructor()).WillByDefault(Assign(&mMockApi, nullptr)); in createMock()
168 ON_CALL(*mMockApi, getEffectCount(_)) in createMock()
171 ON_CALL(*mMockApi, setEffectIndex(_)) in createMock()
174 ON_CALL(*mMockApi, getEffectDuration(_)) in createMock()
221 Mock::VerifyAndClearExpectations(mMockApi); in relaxMock()
224 EXPECT_CALL(*mMockApi, destructor()).Times(times); in relaxMock()
225 EXPECT_CALL(*mMockApi, setF0(_)).Times(times); in relaxMock()
226 EXPECT_CALL(*mMockApi, setRedc(_)).Times(times); in relaxMock()
227 EXPECT_CALL(*mMockApi, setQ(_)).Times(times); in relaxMock()
[all …]
/hardware/google/pixel/vibrator/drv2624/tests/
Dtest-vibrator.cpp132 mMockApi = mockapi->get(); in createMock()
135 ON_CALL(*mMockApi, destructor()).WillByDefault(Assign(&mMockApi, nullptr)); in createMock()
136 ON_CALL(*mMockApi, setOlLraPeriod(_)).WillByDefault(Return(true)); in createMock()
137 ON_CALL(*mMockApi, setActivate(_)).WillByDefault(Return(true)); in createMock()
138 ON_CALL(*mMockApi, setDuration(_)).WillByDefault(Return(true)); in createMock()
139 ON_CALL(*mMockApi, setMode(_)).WillByDefault(Return(true)); in createMock()
140 ON_CALL(*mMockApi, setCtrlLoop(_)).WillByDefault(Return(true)); in createMock()
141 ON_CALL(*mMockApi, setLraWaveShape(_)).WillByDefault(Return(true)); in createMock()
142 ON_CALL(*mMockApi, setOdClamp(_)).WillByDefault(Return(true)); in createMock()
198 Mock::VerifyAndClearExpectations(mMockApi); in relaxMock()
[all …]