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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 AudioNetworkAdaptor::EncoderRuntimeConfig& 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 |
| 73 static void VerifyBweProbeCluster(const ParsedRtcEventLog& parsed_log, |
| 74 size_t index, |
| 75 uint32_t id, |
| 76 uint32_t bitrate_bps, |
| 77 uint32_t min_probes, |
| 78 uint32_t min_bytes); |
| 79 |
| 80 static void VerifyProbeResultSuccess(const ParsedRtcEventLog& parsed_log, |
| 81 size_t index, |
| 82 uint32_t id, |
| 83 uint32_t bitrate_bps); |
| 84 |
| 85 static void VerifyProbeResultFailure(const ParsedRtcEventLog& parsed_log, |
| 86 size_t index, |
| 87 uint32_t id, |
| 88 ProbeFailureReason failure_reason); |
72 }; | 89 }; |
73 | 90 |
74 } // namespace webrtc | 91 } // namespace webrtc |
75 | 92 |
76 #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 |