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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(GetSpeechOutputLevel, int()); | 55 MOCK_CONST_METHOD0(GetSpeechOutputLevel, int()); |
56 MOCK_CONST_METHOD0(GetSpeechOutputLevelFullRange, int()); | 56 MOCK_CONST_METHOD0(GetSpeechOutputLevelFullRange, int()); |
| 57 MOCK_CONST_METHOD0(GetTotalOutputEnergy, double()); |
| 58 MOCK_CONST_METHOD0(GetTotalOutputDuration, double()); |
57 MOCK_CONST_METHOD0(GetDelayEstimate, uint32_t()); | 59 MOCK_CONST_METHOD0(GetDelayEstimate, uint32_t()); |
58 MOCK_METHOD2(SetSendTelephoneEventPayloadType, bool(int payload_type, | 60 MOCK_METHOD2(SetSendTelephoneEventPayloadType, bool(int payload_type, |
59 int payload_frequency)); | 61 int payload_frequency)); |
60 MOCK_METHOD2(SendTelephoneEventOutband, bool(int event, int duration_ms)); | 62 MOCK_METHOD2(SendTelephoneEventOutband, bool(int event, int duration_ms)); |
61 MOCK_METHOD2(SetBitrate, void(int bitrate_bps, int64_t probing_interval_ms)); | 63 MOCK_METHOD2(SetBitrate, void(int bitrate_bps, int64_t probing_interval_ms)); |
62 // TODO(solenberg): Talk the compiler into accepting this mock method: | 64 // TODO(solenberg): Talk the compiler into accepting this mock method: |
63 // MOCK_METHOD1(SetSink, void(std::unique_ptr<AudioSinkInterface> sink)); | 65 // MOCK_METHOD1(SetSink, void(std::unique_ptr<AudioSinkInterface> sink)); |
64 MOCK_METHOD1(SetInputMute, void(bool muted)); | 66 MOCK_METHOD1(SetInputMute, void(bool muted)); |
65 MOCK_METHOD1(RegisterExternalTransport, void(Transport* transport)); | 67 MOCK_METHOD1(RegisterExternalTransport, void(Transport* transport)); |
66 MOCK_METHOD0(DeRegisterExternalTransport, void()); | 68 MOCK_METHOD0(DeRegisterExternalTransport, void()); |
(...skipping 21 matching lines...) Expand all Loading... |
88 void(const std::map<int, SdpAudioFormat>& codecs)); | 90 void(const std::map<int, SdpAudioFormat>& codecs)); |
89 MOCK_METHOD1(OnTwccBasedUplinkPacketLossRate, void(float packet_loss_rate)); | 91 MOCK_METHOD1(OnTwccBasedUplinkPacketLossRate, void(float packet_loss_rate)); |
90 MOCK_METHOD1(OnRecoverableUplinkPacketLossRate, | 92 MOCK_METHOD1(OnRecoverableUplinkPacketLossRate, |
91 void(float recoverable_packet_loss_rate)); | 93 void(float recoverable_packet_loss_rate)); |
92 MOCK_CONST_METHOD0(GetSources, std::vector<RtpSource>()); | 94 MOCK_CONST_METHOD0(GetSources, std::vector<RtpSource>()); |
93 }; | 95 }; |
94 } // namespace test | 96 } // namespace test |
95 } // namespace webrtc | 97 } // namespace webrtc |
96 | 98 |
97 #endif // WEBRTC_TEST_MOCK_VOE_CHANNEL_PROXY_H_ | 99 #endif // WEBRTC_TEST_MOCK_VOE_CHANNEL_PROXY_H_ |
OLD | NEW |