OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 uint8_t fraction_loss, | 56 uint8_t fraction_loss, |
57 int32_t total_packets); | 57 int32_t total_packets); |
58 static void VerifyBweDelayEvent(const ParsedRtcEventLog& parsed_log, | 58 static void VerifyBweDelayEvent(const ParsedRtcEventLog& parsed_log, |
59 size_t index, | 59 size_t index, |
60 int32_t bitrate, | 60 int32_t bitrate, |
61 BandwidthUsage detector_state); | 61 BandwidthUsage detector_state); |
62 | 62 |
63 static void VerifyAudioNetworkAdaptation( | 63 static void VerifyAudioNetworkAdaptation( |
64 const ParsedRtcEventLog& parsed_log, | 64 const ParsedRtcEventLog& parsed_log, |
65 size_t index, | 65 size_t index, |
66 const AudioNetworkAdaptor::EncoderRuntimeConfig& config); | 66 const AudioEncoderRuntimeConfig& config); |
67 | 67 |
68 static void VerifyLogStartEvent(const ParsedRtcEventLog& parsed_log, | 68 static void VerifyLogStartEvent(const ParsedRtcEventLog& parsed_log, |
69 size_t index); | 69 size_t index); |
70 static void VerifyLogEndEvent(const ParsedRtcEventLog& parsed_log, | 70 static void VerifyLogEndEvent(const ParsedRtcEventLog& parsed_log, |
71 size_t index); | 71 size_t index); |
72 | 72 |
73 static void VerifyBweProbeCluster(const ParsedRtcEventLog& parsed_log, | 73 static void VerifyBweProbeCluster(const ParsedRtcEventLog& parsed_log, |
74 size_t index, | 74 size_t index, |
75 uint32_t id, | 75 uint32_t id, |
76 uint32_t bitrate_bps, | 76 uint32_t bitrate_bps, |
77 uint32_t min_probes, | 77 uint32_t min_probes, |
78 uint32_t min_bytes); | 78 uint32_t min_bytes); |
79 | 79 |
80 static void VerifyProbeResultSuccess(const ParsedRtcEventLog& parsed_log, | 80 static void VerifyProbeResultSuccess(const ParsedRtcEventLog& parsed_log, |
81 size_t index, | 81 size_t index, |
82 uint32_t id, | 82 uint32_t id, |
83 uint32_t bitrate_bps); | 83 uint32_t bitrate_bps); |
84 | 84 |
85 static void VerifyProbeResultFailure(const ParsedRtcEventLog& parsed_log, | 85 static void VerifyProbeResultFailure(const ParsedRtcEventLog& parsed_log, |
86 size_t index, | 86 size_t index, |
87 uint32_t id, | 87 uint32_t id, |
88 ProbeFailureReason failure_reason); | 88 ProbeFailureReason failure_reason); |
89 }; | 89 }; |
90 | 90 |
91 } // namespace webrtc | 91 } // namespace webrtc |
92 | 92 |
93 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_UNITTEST_HELPER_H_ | 93 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_UNITTEST_HELPER_H_ |
OLD | NEW |