OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 MOCK_METHOD2(SetRTCP_CNAME, int(int channel, const char cName[256])); | 220 MOCK_METHOD2(SetRTCP_CNAME, int(int channel, const char cName[256])); |
221 MOCK_METHOD2(GetRTCP_CNAME, int(int channel, char cName[256])); | 221 MOCK_METHOD2(GetRTCP_CNAME, int(int channel, char cName[256])); |
222 MOCK_METHOD2(GetRemoteRTCP_CNAME, int(int channel, char cName[256])); | 222 MOCK_METHOD2(GetRemoteRTCP_CNAME, int(int channel, char cName[256])); |
223 MOCK_METHOD7(GetRemoteRTCPData, | 223 MOCK_METHOD7(GetRemoteRTCPData, |
224 int(int channel, | 224 int(int channel, |
225 unsigned int& NTPHigh, | 225 unsigned int& NTPHigh, |
226 unsigned int& NTPLow, | 226 unsigned int& NTPLow, |
227 unsigned int& timestamp, | 227 unsigned int& timestamp, |
228 unsigned int& playoutTimestamp, | 228 unsigned int& playoutTimestamp, |
229 unsigned int* jitter, | 229 unsigned int* jitter, |
230 unsigned short* fractionLost)); | 230 unsigned short* fraction_lost)); |
231 MOCK_METHOD4(GetRTPStatistics, | 231 MOCK_METHOD4(GetRTPStatistics, |
232 int(int channel, | 232 int(int channel, |
233 unsigned int& averageJitterMs, | 233 unsigned int& averageJitterMs, |
234 unsigned int& maxJitterMs, | 234 unsigned int& maxJitterMs, |
235 unsigned int& discardedPackets)); | 235 unsigned int& discardedPackets)); |
236 MOCK_METHOD2(GetRTCPStatistics, int(int channel, CallStatistics& stats)); | 236 MOCK_METHOD2(GetRTCPStatistics, int(int channel, CallStatistics& stats)); |
237 MOCK_METHOD2(GetRemoteRTCPReportBlocks, | 237 MOCK_METHOD2(GetRemoteRTCPReportBlocks, |
238 int(int channel, std::vector<ReportBlock>* receive_blocks)); | 238 int(int channel, std::vector<ReportBlock>* receive_blocks)); |
239 MOCK_METHOD3(SetREDStatus, int(int channel, bool enable, int redPayloadtype)); | 239 MOCK_METHOD3(SetREDStatus, int(int channel, bool enable, int redPayloadtype)); |
240 MOCK_METHOD3(GetREDStatus, | 240 MOCK_METHOD3(GetREDStatus, |
(...skipping 11 matching lines...) Expand all Loading... |
252 | 252 |
253 std::map<int, std::unique_ptr<MockRtpRtcp>> mock_rtp_rtcps_; | 253 std::map<int, std::unique_ptr<MockRtpRtcp>> mock_rtp_rtcps_; |
254 | 254 |
255 MockAudioDeviceModule mock_audio_device_; | 255 MockAudioDeviceModule mock_audio_device_; |
256 MockAudioTransport mock_audio_transport_; | 256 MockAudioTransport mock_audio_transport_; |
257 }; | 257 }; |
258 } // namespace test | 258 } // namespace test |
259 } // namespace webrtc | 259 } // namespace webrtc |
260 | 260 |
261 #endif // WEBRTC_AUDIO_MOCK_VOICE_ENGINE_H_ | 261 #endif // WEBRTC_AUDIO_MOCK_VOICE_ENGINE_H_ |
OLD | NEW |