Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1116)

Side by Side Diff: webrtc/test/mock_voe_channel_proxy.h

Issue 3011623002: Add new ANA stats to GetStats() to count the number of actions taken by each controller. (Closed)
Patch Set: Fix for failing test. Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/pc/statscollector_unittest.cc ('k') | webrtc/voice_engine/channel.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « webrtc/pc/statscollector_unittest.cc ('k') | webrtc/voice_engine/channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698