Searched refs:mMockApi (Results 1 – 4 of 4) sorted by relevance
/device/google/redfin/vibrator/drv2624/tests/ |
D | test-vibrator.cpp | 132 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() 196 Mock::VerifyAndClearExpectations(mMockApi); in relaxMock() [all …]
|
/device/google/barbet/vibrator/drv2624/tests/ |
D | test-vibrator.cpp | 132 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() 196 Mock::VerifyAndClearExpectations(mMockApi); in relaxMock() [all …]
|
/device/google/sunfish/vibrator/drv2624/tests/ |
D | test-vibrator.cpp | 136 mMockApi = mockapi->get(); in createMock() 139 ON_CALL(*mMockApi, destructor()).WillByDefault(Assign(&mMockApi, nullptr)); in createMock() 140 ON_CALL(*mMockApi, setOlLraPeriod(_)).WillByDefault(Return(true)); in createMock() 141 ON_CALL(*mMockApi, setActivate(_)).WillByDefault(Return(true)); in createMock() 142 ON_CALL(*mMockApi, setDuration(_)).WillByDefault(Return(true)); in createMock() 143 ON_CALL(*mMockApi, setMode(_)).WillByDefault(Return(true)); in createMock() 144 ON_CALL(*mMockApi, setCtrlLoop(_)).WillByDefault(Return(true)); in createMock() 145 ON_CALL(*mMockApi, setLraWaveShape(_)).WillByDefault(Return(true)); in createMock() 146 ON_CALL(*mMockApi, setOdClamp(_)).WillByDefault(Return(true)); in createMock() 200 Mock::VerifyAndClearExpectations(mMockApi); in relaxMock() [all …]
|
/device/google/felix/vibrator/cs40l26/tests/ |
D | test-vibrator.cpp | 221 mMockApi = mockapi->get(); in createMock() 225 ON_CALL(*mMockApi, destructor()).WillByDefault(Assign(&mMockApi, nullptr)); in createMock() 227 ON_CALL(*mMockApi, setFFGain(_, _)).WillByDefault(Return(true)); in createMock() 228 ON_CALL(*mMockApi, setFFEffect(_, _, _)).WillByDefault(Return(true)); in createMock() 229 ON_CALL(*mMockApi, setFFPlay(_, _, _)).WillByDefault(Return(true)); in createMock() 230 ON_CALL(*mMockApi, pollVibeState(_, _)).WillByDefault(Return(true)); in createMock() 231 ON_CALL(*mMockApi, uploadOwtEffect(_, _, _, _, _, _)).WillByDefault(Return(true)); in createMock() 232 ON_CALL(*mMockApi, eraseOwtEffect(_, _, _)).WillByDefault(Return(true)); in createMock() 234 ON_CALL(*mMockApi, getOwtFreeSpace(_)) in createMock() 279 Mock::VerifyAndClearExpectations(mMockApi); in relaxMock() [all …]
|