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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 MOCK_CONST_METHOD0(GetTotalOutputEnergy, double()); | 58 MOCK_CONST_METHOD0(GetTotalOutputEnergy, double()); |
59 MOCK_CONST_METHOD0(GetTotalOutputDuration, double()); | 59 MOCK_CONST_METHOD0(GetTotalOutputDuration, double()); |
60 MOCK_CONST_METHOD0(GetDelayEstimate, uint32_t()); | 60 MOCK_CONST_METHOD0(GetDelayEstimate, uint32_t()); |
61 MOCK_METHOD2(SetSendTelephoneEventPayloadType, bool(int payload_type, | 61 MOCK_METHOD2(SetSendTelephoneEventPayloadType, bool(int payload_type, |
62 int payload_frequency)); | 62 int payload_frequency)); |
63 MOCK_METHOD2(SendTelephoneEventOutband, bool(int event, int duration_ms)); | 63 MOCK_METHOD2(SendTelephoneEventOutband, bool(int event, int duration_ms)); |
64 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)); |
65 // TODO(solenberg): Talk the compiler into accepting this mock method: | 65 // TODO(solenberg): Talk the compiler into accepting this mock method: |
66 // MOCK_METHOD1(SetSink, void(std::unique_ptr<AudioSinkInterface> sink)); | 66 // MOCK_METHOD1(SetSink, void(std::unique_ptr<AudioSinkInterface> sink)); |
67 MOCK_METHOD1(SetInputMute, void(bool muted)); | 67 MOCK_METHOD1(SetInputMute, void(bool muted)); |
68 MOCK_METHOD1(RegisterExternalTransport, void(Transport* transport)); | 68 MOCK_METHOD1(RegisterTransport, void(Transport* transport)); |
69 MOCK_METHOD0(DeRegisterExternalTransport, void()); | |
70 MOCK_METHOD1(OnRtpPacket, void(const RtpPacketReceived& packet)); | 69 MOCK_METHOD1(OnRtpPacket, void(const RtpPacketReceived& packet)); |
71 MOCK_METHOD2(ReceivedRTCPPacket, bool(const uint8_t* packet, size_t length)); | 70 MOCK_METHOD2(ReceivedRTCPPacket, bool(const uint8_t* packet, size_t length)); |
72 MOCK_CONST_METHOD0(GetAudioDecoderFactory, | 71 MOCK_CONST_METHOD0(GetAudioDecoderFactory, |
73 const rtc::scoped_refptr<AudioDecoderFactory>&()); | 72 const rtc::scoped_refptr<AudioDecoderFactory>&()); |
74 MOCK_METHOD1(SetChannelOutputVolumeScaling, void(float scaling)); | 73 MOCK_METHOD1(SetChannelOutputVolumeScaling, void(float scaling)); |
75 MOCK_METHOD1(SetRtcEventLog, void(RtcEventLog* event_log)); | 74 MOCK_METHOD1(SetRtcEventLog, void(RtcEventLog* event_log)); |
76 MOCK_METHOD1(SetRtcpRttStats, void(RtcpRttStats* rtcp_rtt_stats)); | 75 MOCK_METHOD1(SetRtcpRttStats, void(RtcpRttStats* rtcp_rtt_stats)); |
77 MOCK_METHOD2(GetAudioFrameWithInfo, | 76 MOCK_METHOD2(GetAudioFrameWithInfo, |
78 AudioMixer::Source::AudioFrameInfo(int sample_rate_hz, | 77 AudioMixer::Source::AudioFrameInfo(int sample_rate_hz, |
79 AudioFrame* audio_frame)); | 78 AudioFrame* audio_frame)); |
(...skipping 11 matching lines...) Expand all Loading... |
91 void(const std::map<int, SdpAudioFormat>& codecs)); | 90 void(const std::map<int, SdpAudioFormat>& codecs)); |
92 MOCK_METHOD1(OnTwccBasedUplinkPacketLossRate, void(float packet_loss_rate)); | 91 MOCK_METHOD1(OnTwccBasedUplinkPacketLossRate, void(float packet_loss_rate)); |
93 MOCK_METHOD1(OnRecoverableUplinkPacketLossRate, | 92 MOCK_METHOD1(OnRecoverableUplinkPacketLossRate, |
94 void(float recoverable_packet_loss_rate)); | 93 void(float recoverable_packet_loss_rate)); |
95 MOCK_CONST_METHOD0(GetSources, std::vector<RtpSource>()); | 94 MOCK_CONST_METHOD0(GetSources, std::vector<RtpSource>()); |
96 }; | 95 }; |
97 } // namespace test | 96 } // namespace test |
98 } // namespace webrtc | 97 } // namespace webrtc |
99 | 98 |
100 #endif // TEST_MOCK_VOE_CHANNEL_PROXY_H_ | 99 #endif // TEST_MOCK_VOE_CHANNEL_PROXY_H_ |
OLD | NEW |