| 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 MOCK_CONST_METHOD0(SelectiveRetransmissions, int()); | 168 MOCK_CONST_METHOD0(SelectiveRetransmissions, int()); |
| 169 MOCK_METHOD1(SetSelectiveRetransmissions, int(uint8_t settings)); | 169 MOCK_METHOD1(SetSelectiveRetransmissions, int(uint8_t settings)); |
| 170 MOCK_METHOD2(SendNACK, int32_t(const uint16_t* nack_list, uint16_t size)); | 170 MOCK_METHOD2(SendNACK, int32_t(const uint16_t* nack_list, uint16_t size)); |
| 171 MOCK_METHOD1(SendNack, void(const std::vector<uint16_t>& sequence_numbers)); | 171 MOCK_METHOD1(SendNack, void(const std::vector<uint16_t>& sequence_numbers)); |
| 172 MOCK_METHOD2(SetStorePacketsStatus, | 172 MOCK_METHOD2(SetStorePacketsStatus, |
| 173 void(bool enable, uint16_t number_to_store)); | 173 void(bool enable, uint16_t number_to_store)); |
| 174 MOCK_CONST_METHOD0(StorePackets, bool()); | 174 MOCK_CONST_METHOD0(StorePackets, bool()); |
| 175 MOCK_METHOD1(RegisterRtcpStatisticsCallback, void(RtcpStatisticsCallback*)); | 175 MOCK_METHOD1(RegisterRtcpStatisticsCallback, void(RtcpStatisticsCallback*)); |
| 176 MOCK_METHOD0(GetRtcpStatisticsCallback, RtcpStatisticsCallback*()); | 176 MOCK_METHOD0(GetRtcpStatisticsCallback, RtcpStatisticsCallback*()); |
| 177 MOCK_METHOD1(SendFeedbackPacket, bool(const rtcp::TransportFeedback& packet)); | 177 MOCK_METHOD1(SendFeedbackPacket, bool(const rtcp::TransportFeedback& packet)); |
| 178 MOCK_METHOD1(SetAudioPacketSize, int32_t(uint16_t packet_size_samples)); | |
| 179 MOCK_METHOD3(SendTelephoneEventOutband, | 178 MOCK_METHOD3(SendTelephoneEventOutband, |
| 180 int32_t(uint8_t key, uint16_t time_ms, uint8_t level)); | 179 int32_t(uint8_t key, uint16_t time_ms, uint8_t level)); |
| 181 MOCK_METHOD1(SetSendREDPayloadType, int32_t(int8_t payload_type)); | 180 MOCK_METHOD1(SetSendREDPayloadType, int32_t(int8_t payload_type)); |
| 182 MOCK_CONST_METHOD1(SendREDPayloadType, int32_t(int8_t* payload_type)); | 181 MOCK_CONST_METHOD1(SendREDPayloadType, int32_t(int8_t* payload_type)); |
| 183 MOCK_METHOD2(SetRTPAudioLevelIndicationStatus, | 182 MOCK_METHOD2(SetRTPAudioLevelIndicationStatus, |
| 184 int32_t(bool enable, uint8_t id)); | 183 int32_t(bool enable, uint8_t id)); |
| 185 MOCK_METHOD1(SetAudioLevel, int32_t(uint8_t level_dbov)); | 184 MOCK_METHOD1(SetAudioLevel, int32_t(uint8_t level_dbov)); |
| 186 MOCK_METHOD1(SetTargetSendBitrate, void(uint32_t bitrate_bps)); | 185 MOCK_METHOD1(SetTargetSendBitrate, void(uint32_t bitrate_bps)); |
| 187 MOCK_METHOD2(SetUlpfecConfig, | 186 MOCK_METHOD2(SetUlpfecConfig, |
| 188 void(int red_payload_type, int fec_payload_type)); | 187 void(int red_payload_type, int fec_payload_type)); |
| (...skipping 16 matching lines...) Expand all Loading... |
| 205 private: | 204 private: |
| 206 // Mocking this method is currently not required and having a default | 205 // Mocking this method is currently not required and having a default |
| 207 // implementation like MOCK_METHOD0(TimeUntilNextProcess, int64_t()) | 206 // implementation like MOCK_METHOD0(TimeUntilNextProcess, int64_t()) |
| 208 // can be dangerous since it can cause a tight loop on a process thread. | 207 // can be dangerous since it can cause a tight loop on a process thread. |
| 209 virtual int64_t TimeUntilNextProcess() { return 0xffffffff; } | 208 virtual int64_t TimeUntilNextProcess() { return 0xffffffff; } |
| 210 }; | 209 }; |
| 211 | 210 |
| 212 } // namespace webrtc | 211 } // namespace webrtc |
| 213 | 212 |
| 214 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ | 213 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ |
| OLD | NEW |