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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 void(RtpTransportControllerSendInterface* transport, | 45 void(RtpTransportControllerSendInterface* transport, |
46 RtcpBandwidthObserver* bandwidth_observer)); | 46 RtcpBandwidthObserver* bandwidth_observer)); |
47 MOCK_METHOD1(RegisterReceiverCongestionControlObjects, | 47 MOCK_METHOD1(RegisterReceiverCongestionControlObjects, |
48 void(PacketRouter* packet_router)); | 48 void(PacketRouter* packet_router)); |
49 MOCK_METHOD0(ResetSenderCongestionControlObjects, void()); | 49 MOCK_METHOD0(ResetSenderCongestionControlObjects, void()); |
50 MOCK_METHOD0(ResetReceiverCongestionControlObjects, void()); | 50 MOCK_METHOD0(ResetReceiverCongestionControlObjects, void()); |
51 MOCK_CONST_METHOD0(GetRTCPStatistics, CallStatistics()); | 51 MOCK_CONST_METHOD0(GetRTCPStatistics, CallStatistics()); |
52 MOCK_CONST_METHOD0(GetRemoteRTCPReportBlocks, std::vector<ReportBlock>()); | 52 MOCK_CONST_METHOD0(GetRemoteRTCPReportBlocks, std::vector<ReportBlock>()); |
53 MOCK_CONST_METHOD0(GetNetworkStatistics, NetworkStatistics()); | 53 MOCK_CONST_METHOD0(GetNetworkStatistics, NetworkStatistics()); |
54 MOCK_CONST_METHOD0(GetDecodingCallStatistics, AudioDecodingCallStats()); | 54 MOCK_CONST_METHOD0(GetDecodingCallStatistics, AudioDecodingCallStats()); |
| 55 MOCK_CONST_METHOD0(GetANAStatistics, ANAStats()); |
55 MOCK_CONST_METHOD0(GetSpeechOutputLevel, int()); | 56 MOCK_CONST_METHOD0(GetSpeechOutputLevel, int()); |
56 MOCK_CONST_METHOD0(GetSpeechOutputLevelFullRange, int()); | 57 MOCK_CONST_METHOD0(GetSpeechOutputLevelFullRange, int()); |
57 MOCK_CONST_METHOD0(GetTotalOutputEnergy, double()); | 58 MOCK_CONST_METHOD0(GetTotalOutputEnergy, double()); |
58 MOCK_CONST_METHOD0(GetTotalOutputDuration, double()); | 59 MOCK_CONST_METHOD0(GetTotalOutputDuration, double()); |
59 MOCK_CONST_METHOD0(GetDelayEstimate, uint32_t()); | 60 MOCK_CONST_METHOD0(GetDelayEstimate, uint32_t()); |
60 MOCK_METHOD2(SetSendTelephoneEventPayloadType, bool(int payload_type, | 61 MOCK_METHOD2(SetSendTelephoneEventPayloadType, bool(int payload_type, |
61 int payload_frequency)); | 62 int payload_frequency)); |
62 MOCK_METHOD2(SendTelephoneEventOutband, bool(int event, int duration_ms)); | 63 MOCK_METHOD2(SendTelephoneEventOutband, bool(int event, int duration_ms)); |
63 MOCK_METHOD2(SetBitrate, void(int bitrate_bps, int64_t probing_interval_ms)); | 64 MOCK_METHOD2(SetBitrate, void(int bitrate_bps, int64_t probing_interval_ms)); |
64 // TODO(solenberg): Talk the compiler into accepting this mock method: | 65 // TODO(solenberg): Talk the compiler into accepting this mock method: |
(...skipping 25 matching lines...) Expand all Loading... |
90 void(const std::map<int, SdpAudioFormat>& codecs)); | 91 void(const std::map<int, SdpAudioFormat>& codecs)); |
91 MOCK_METHOD1(OnTwccBasedUplinkPacketLossRate, void(float packet_loss_rate)); | 92 MOCK_METHOD1(OnTwccBasedUplinkPacketLossRate, void(float packet_loss_rate)); |
92 MOCK_METHOD1(OnRecoverableUplinkPacketLossRate, | 93 MOCK_METHOD1(OnRecoverableUplinkPacketLossRate, |
93 void(float recoverable_packet_loss_rate)); | 94 void(float recoverable_packet_loss_rate)); |
94 MOCK_CONST_METHOD0(GetSources, std::vector<RtpSource>()); | 95 MOCK_CONST_METHOD0(GetSources, std::vector<RtpSource>()); |
95 }; | 96 }; |
96 } // namespace test | 97 } // namespace test |
97 } // namespace webrtc | 98 } // namespace webrtc |
98 | 99 |
99 #endif // WEBRTC_TEST_MOCK_VOE_CHANNEL_PROXY_H_ | 100 #endif // WEBRTC_TEST_MOCK_VOE_CHANNEL_PROXY_H_ |
OLD | NEW |