| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2014 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 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 587 case kStatsValueNameResidualEchoLikelihoodRecentMax: | 587 case kStatsValueNameResidualEchoLikelihoodRecentMax: |
| 588 return "googResidualEchoLikelihoodRecentMax"; | 588 return "googResidualEchoLikelihoodRecentMax"; |
| 589 case kStatsValueNameAnaBitrateActionCounter: | 589 case kStatsValueNameAnaBitrateActionCounter: |
| 590 return "googAnaBitrateActionCounter"; | 590 return "googAnaBitrateActionCounter"; |
| 591 case kStatsValueNameAnaChannelActionCounter: | 591 case kStatsValueNameAnaChannelActionCounter: |
| 592 return "googAnaChannelActionCounter"; | 592 return "googAnaChannelActionCounter"; |
| 593 case kStatsValueNameAnaDtxActionCounter: | 593 case kStatsValueNameAnaDtxActionCounter: |
| 594 return "googAnaDtxActionCounter"; | 594 return "googAnaDtxActionCounter"; |
| 595 case kStatsValueNameAnaFecActionCounter: | 595 case kStatsValueNameAnaFecActionCounter: |
| 596 return "googAnaFecActionCounter"; | 596 return "googAnaFecActionCounter"; |
| 597 case kStatsValueNameAnaFrameLengthActionCounter: | 597 case kStatsValueNameAnaFrameLengthIncreaseCounter: |
| 598 return "googAnaFrameLengthActionCounter"; | 598 return "googAnaFrameLengthIncreaseCounter"; |
| 599 case kStatsValueNameAnaFrameLengthDecreaseCounter: |
| 600 return "googAnaFrameLengthDecreaseCounter"; |
| 601 case kStatsValueNameAnaUplinkPacketLossFraction: |
| 602 return "googAnaUplinkPacketLossFraction"; |
| 599 case kStatsValueNameRetransmitBitrate: | 603 case kStatsValueNameRetransmitBitrate: |
| 600 return "googRetransmitBitrate"; | 604 return "googRetransmitBitrate"; |
| 601 case kStatsValueNameRtt: | 605 case kStatsValueNameRtt: |
| 602 return "googRtt"; | 606 return "googRtt"; |
| 603 case kStatsValueNameSecondaryDecodedRate: | 607 case kStatsValueNameSecondaryDecodedRate: |
| 604 return "googSecondaryDecodedRate"; | 608 return "googSecondaryDecodedRate"; |
| 605 case kStatsValueNameSecondaryDiscardedRate: | 609 case kStatsValueNameSecondaryDiscardedRate: |
| 606 return "googSecondaryDiscardedRate"; | 610 return "googSecondaryDiscardedRate"; |
| 607 case kStatsValueNameSendPacketsDiscarded: | 611 case kStatsValueNameSendPacketsDiscarded: |
| 608 return "packetsDiscardedOnSend"; | 612 return "packetsDiscardedOnSend"; |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 808 // Looks for a report with the given |id|. If one is not found, null | 812 // Looks for a report with the given |id|. If one is not found, null |
| 809 // will be returned. | 813 // will be returned. |
| 810 StatsReport* StatsCollection::Find(const StatsReport::Id& id) { | 814 StatsReport* StatsCollection::Find(const StatsReport::Id& id) { |
| 811 RTC_DCHECK(thread_checker_.CalledOnValidThread()); | 815 RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
| 812 Container::iterator it = std::find_if(list_.begin(), list_.end(), | 816 Container::iterator it = std::find_if(list_.begin(), list_.end(), |
| 813 [&id](const StatsReport* r)->bool { return r->id()->Equals(id); }); | 817 [&id](const StatsReport* r)->bool { return r->id()->Equals(id); }); |
| 814 return it == list_.end() ? nullptr : *it; | 818 return it == list_.end() ? nullptr : *it; |
| 815 } | 819 } |
| 816 | 820 |
| 817 } // namespace webrtc | 821 } // namespace webrtc |
| OLD | NEW |