OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 MOCK_METHOD0(GetRtcpStatisticsCallback, RtcpStatisticsCallback*()); | 211 MOCK_METHOD0(GetRtcpStatisticsCallback, RtcpStatisticsCallback*()); |
212 MOCK_METHOD1(SendFeedbackPacket, bool(const rtcp::TransportFeedback& packet)); | 212 MOCK_METHOD1(SendFeedbackPacket, bool(const rtcp::TransportFeedback& packet)); |
213 MOCK_METHOD1(RegisterAudioCallback, | 213 MOCK_METHOD1(RegisterAudioCallback, |
214 int32_t(RtpAudioFeedback* messagesCallback)); | 214 int32_t(RtpAudioFeedback* messagesCallback)); |
215 MOCK_METHOD1(SetAudioPacketSize, | 215 MOCK_METHOD1(SetAudioPacketSize, |
216 int32_t(const uint16_t packetSizeSamples)); | 216 int32_t(const uint16_t packetSizeSamples)); |
217 MOCK_METHOD3(SendTelephoneEventOutband, | 217 MOCK_METHOD3(SendTelephoneEventOutband, |
218 int32_t(const uint8_t key, const uint16_t time_ms, const uint8_t level)); | 218 int32_t(const uint8_t key, const uint16_t time_ms, const uint8_t level)); |
219 MOCK_METHOD1(SetSendREDPayloadType, | 219 MOCK_METHOD1(SetSendREDPayloadType, |
220 int32_t(const int8_t payloadType)); | 220 int32_t(const int8_t payloadType)); |
221 MOCK_CONST_METHOD1(SendREDPayloadType, | 221 MOCK_CONST_METHOD1(SendREDPayloadType, int32_t(int8_t* payloadType)); |
222 int32_t(int8_t& payloadType)); | |
223 MOCK_METHOD2(SetRTPAudioLevelIndicationStatus, | 222 MOCK_METHOD2(SetRTPAudioLevelIndicationStatus, |
224 int32_t(const bool enable, const uint8_t ID)); | 223 int32_t(const bool enable, const uint8_t ID)); |
225 MOCK_CONST_METHOD2(GetRTPAudioLevelIndicationStatus, | 224 MOCK_CONST_METHOD2(GetRTPAudioLevelIndicationStatus, |
226 int32_t(bool& enable, uint8_t& ID)); | 225 int32_t(bool& enable, uint8_t& ID)); |
227 MOCK_METHOD1(SetAudioLevel, | 226 MOCK_METHOD1(SetAudioLevel, |
228 int32_t(const uint8_t level_dBov)); | 227 int32_t(const uint8_t level_dBov)); |
229 MOCK_METHOD1(SetTargetSendBitrate, | 228 MOCK_METHOD1(SetTargetSendBitrate, |
230 void(uint32_t bitrate_bps)); | 229 void(uint32_t bitrate_bps)); |
231 MOCK_METHOD3(SetGenericFECStatus, | 230 MOCK_METHOD3(SetGenericFECStatus, |
232 void(const bool enable, | 231 void(const bool enable, |
233 const uint8_t payload_type_red, | 232 const uint8_t payload_type_red, |
234 const uint8_t payload_type_fec)); | 233 const uint8_t payload_type_fec)); |
235 MOCK_METHOD3(GenericFECStatus, | 234 MOCK_METHOD3(GenericFECStatus, |
236 void(bool& enable, | 235 void(bool* enable, |
237 uint8_t& payloadTypeRED, | 236 uint8_t* payloadTypeRED, |
238 uint8_t& payloadTypeFEC)); | 237 uint8_t* payloadTypeFEC)); |
239 MOCK_METHOD2(SetFecParameters, | 238 MOCK_METHOD2(SetFecParameters, |
240 int32_t(const FecProtectionParams* delta_params, | 239 int32_t(const FecProtectionParams* delta_params, |
241 const FecProtectionParams* key_params)); | 240 const FecProtectionParams* key_params)); |
242 MOCK_METHOD1(SetKeyFrameRequestMethod, | 241 MOCK_METHOD1(SetKeyFrameRequestMethod, |
243 int32_t(const KeyFrameRequestMethod method)); | 242 int32_t(const KeyFrameRequestMethod method)); |
244 MOCK_METHOD0(RequestKeyFrame, | 243 MOCK_METHOD0(RequestKeyFrame, |
245 int32_t()); | 244 int32_t()); |
246 MOCK_CONST_METHOD3(Version, | 245 MOCK_CONST_METHOD3(Version, |
247 int32_t(char* version, uint32_t& remaining_buffer_in_bytes, uint32_t& posi
tion)); | 246 int32_t(char* version, uint32_t& remaining_buffer_in_bytes, uint32_t& posi
tion)); |
248 MOCK_METHOD0(TimeUntilNextProcess, | 247 MOCK_METHOD0(TimeUntilNextProcess, |
249 int64_t()); | 248 int64_t()); |
250 MOCK_METHOD0(Process, | 249 MOCK_METHOD0(Process, |
251 int32_t()); | 250 int32_t()); |
252 MOCK_METHOD1(RegisterSendFrameCountObserver, | 251 MOCK_METHOD1(RegisterSendFrameCountObserver, |
253 void(FrameCountObserver*)); | 252 void(FrameCountObserver*)); |
254 MOCK_CONST_METHOD0(GetSendFrameCountObserver, | 253 MOCK_CONST_METHOD0(GetSendFrameCountObserver, |
255 FrameCountObserver*(void)); | 254 FrameCountObserver*(void)); |
256 MOCK_METHOD1(RegisterSendChannelRtpStatisticsCallback, | 255 MOCK_METHOD1(RegisterSendChannelRtpStatisticsCallback, |
257 void(StreamDataCountersCallback*)); | 256 void(StreamDataCountersCallback*)); |
258 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, | 257 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, |
259 StreamDataCountersCallback*(void)); | 258 StreamDataCountersCallback*(void)); |
260 // Members. | 259 // Members. |
261 unsigned int remote_ssrc_; | 260 unsigned int remote_ssrc_; |
262 }; | 261 }; |
263 | 262 |
264 } // namespace webrtc | 263 } // namespace webrtc |
265 | 264 |
266 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ | 265 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ |
OLD | NEW |