/external/webrtc/pc/ |
D | stats_collector.cc | 52 const StatsReport::StatsValueName name; 61 StatsReport* AddTrackReport(StatsCollection* reports, in AddTrackReport() 64 StatsReport::Id id( in AddTrackReport() 65 StatsReport::NewTypedId(StatsReport::kStatsReportTypeTrack, track_id)); in AddTrackReport() 66 StatsReport* report = reports->ReplaceOrAddNew(id); in AddTrackReport() 67 report->AddString(StatsReport::kStatsValueNameTrackId, track_id); in AddTrackReport() 76 StatsReport* report = AddTrackReport(reports, track_id); in CreateTrackReport() 91 StatsReport* report, in ExtractCommonSendProperties() 93 report->AddString(StatsReport::kStatsValueNameCodecName, info.codec_name); in ExtractCommonSendProperties() 98 report->AddInt64(StatsReport::kStatsValueNameBytesSent, bytes_sent); in ExtractCommonSendProperties() [all …]
|
D | stats_collector_unittest.cc | 155 bool GetValue(const StatsReport* report, in GetValue() 156 StatsReport::StatsValueName name, in GetValue() 158 const StatsReport::Value* v = report->FindValue(name); in GetValue() 165 std::string ExtractStatsValue(const StatsReport::StatsType& type, in ExtractStatsValue() 167 StatsReport::StatsValueName name) { in ExtractStatsValue() 177 StatsReport::Id TypedIdFromIdString(StatsReport::StatsType type, in TypedIdFromIdString() 180 StatsReport::Id id; in TypedIdFromIdString() 192 id = StatsReport::NewTypedId(type, value.substr(index + 1)); in TypedIdFromIdString() 197 StatsReport::Id IdFromCertIdString(const std::string& cert_id) { in IdFromCertIdString() 198 return TypedIdFromIdString(StatsReport::kStatsReportTypeCertificate, cert_id); in IdFromCertIdString() [all …]
|
D | stats_collector.h | 45 typedef std::map<std::string, StatsReport*> TrackIdMap; 81 StatsReport* PrepareReport(bool local, 84 const StatsReport::Id& transport_id, 85 StatsReport::Direction direction); 87 StatsReport* PrepareADMReport(); 109 StatsReport* AddCandidateReport( 115 StatsReport* AddCertificateReports( 118 StatsReport* AddConnectionInfoReport(const std::string& content_name, 121 const StatsReport::Id& channel_report_id, 129 webrtc::StatsReport* GetReport(const StatsReport::StatsType& type, [all …]
|
/external/webrtc/api/ |
D | stats_types.cc | 35 const char* InternalTypeToString(StatsReport::StatsType type) { in InternalTypeToString() 37 case StatsReport::kStatsReportTypeSession: in InternalTypeToString() 39 case StatsReport::kStatsReportTypeBwe: in InternalTypeToString() 41 case StatsReport::kStatsReportTypeRemoteSsrc: in InternalTypeToString() 43 case StatsReport::kStatsReportTypeSsrc: in InternalTypeToString() 45 case StatsReport::kStatsReportTypeTrack: in InternalTypeToString() 47 case StatsReport::kStatsReportTypeIceLocalCandidate: in InternalTypeToString() 49 case StatsReport::kStatsReportTypeIceRemoteCandidate: in InternalTypeToString() 51 case StatsReport::kStatsReportTypeTransport: in InternalTypeToString() 53 case StatsReport::kStatsReportTypeComponent: in InternalTypeToString() [all …]
|
D | stats_types.h | 32 class RTC_EXPORT StatsReport { 369 explicit StatsReport(const Id& id); 370 ~StatsReport(); 412 RTC_DISALLOW_COPY_AND_ASSIGN(StatsReport); 420 typedef std::vector<const StatsReport*> StatsReports; 430 typedef std::list<StatsReport*> Container; 440 StatsReport* InsertNew(const StatsReport::Id& id); 441 StatsReport* FindOrAddNew(const StatsReport::Id& id); 442 StatsReport* ReplaceOrAddNew(const StatsReport::Id& id); 446 StatsReport* Find(const StatsReport::Id& id);
|
/external/webrtc/pc/test/ |
D | mock_peer_connection_observers.h | 360 if (r->type() == StatsReport::kStatsReportTypeSsrc) { in OnComplete() 362 GetIntValue(r, StatsReport::kStatsValueNameAudioOutputLevel, in OnComplete() 364 GetIntValue(r, StatsReport::kStatsValueNameAudioInputLevel, in OnComplete() 366 GetIntValue(r, StatsReport::kStatsValueNameBytesReceived, in OnComplete() 368 GetIntValue(r, StatsReport::kStatsValueNameBytesSent, in OnComplete() 370 GetInt64Value(r, StatsReport::kStatsValueNameCaptureStartNtpTimeMs, in OnComplete() 373 GetStringValue(r, StatsReport::kStatsValueNameTrackId, in OnComplete() 375 } else if (r->type() == StatsReport::kStatsReportTypeBwe) { in OnComplete() 377 GetIntValue(r, StatsReport::kStatsValueNameAvailableReceiveBandwidth, in OnComplete() 379 } else if (r->type() == StatsReport::kStatsReportTypeComponent) { in OnComplete() [all …]
|
/external/webrtc/sdk/android/src/jni/pc/ |
D | stats_observer.cc | 27 const rtc::scoped_refptr<StatsReport::Value>& value_ptr) { in NativeToJavaStatsReportValue() 37 const StatsReport::Values& value_map) { in NativeToJavaStatsReportValueArray() 39 std::vector<StatsReport::ValuePtr> values; in NativeToJavaStatsReportValueArray() 48 const StatsReport& report) { in NativeToJavaStatsReport() 67 [](JNIEnv* env, const StatsReport* report) { in OnComplete()
|
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
D | HudFragment.java | 22 import org.webrtc.StatsReport; 106 private Map<String, String> getReportMap(StatsReport report) { in getReportMap() 108 for (StatsReport.Value value : report.values) { in getReportMap() 114 public void updateEncoderStatistics(final StatsReport[] reports) { in updateEncoderStatistics() 127 for (StatsReport report : reports) { in updateEncoderStatistics() 135 for (StatsReport.Value value : report.values) { in updateEncoderStatistics() 148 for (StatsReport.Value value : report.values) { in updateEncoderStatistics() 160 for (StatsReport.Value value : report.values) { in updateEncoderStatistics() 170 for (StatsReport.Value value : report.values) { in updateEncoderStatistics()
|
D | PeerConnectionClient.java | 65 import org.webrtc.StatsReport; 313 void onPeerConnectionStatsReady(final StatsReport[] reports); in onPeerConnectionStatsReady() 755 public void onComplete(final StatsReport[] reports) { in getStats()
|
D | CallActivity.java | 57 import org.webrtc.StatsReport; 954 public void onPeerConnectionStatsReady(final StatsReport[] reports) {
|
/external/webrtc/sdk/android/api/org/webrtc/ |
D | StatsReport.java | 14 public class StatsReport { class 41 public StatsReport(String id, String type, double timestamp, Value[] values) { in StatsReport() method in StatsReport
|
D | StatsObserver.java | 16 @CalledByNative public void onComplete(StatsReport[] reports); in onComplete()
|
/external/webrtc/sdk/objc/api/peerconnection/ |
D | RTCLegacyStatsReport+Private.h | 21 - (instancetype)initWithNativeReport : (const webrtc::StatsReport &)nativeReport;
|
D | RTCLegacyStatsReport.mm | 35 - (instancetype)initWithNativeReport:(const webrtc::StatsReport &)nativeReport { argument
|
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
D | PeerConnectionEndToEndTest.java | 88 private List<StatsReport[]> gotStatsReports = new ArrayList<>(); 389 public synchronized void onComplete(StatsReport[] reports) { in onComplete() 441 public synchronized List<StatsReport[]> takeStatsReports() { in takeStatsReports() 442 List<StatsReport[]> got = gotStatsReports; in takeStatsReports() 443 gotStatsReports = new ArrayList<StatsReport[]>(); in takeStatsReports() 1571 for (StatsReport[] reports : expectations.takeStatsReports()) { in shutdownPC()
|
/external/webrtc/examples/androidtests/src/org/appspot/apprtc/test/ |
D | PeerConnectionClientTest.java | 43 import org.webrtc.StatsReport; 211 public void onPeerConnectionStatsReady(StatsReport[] reports) {} in onPeerConnectionStatsReady()
|
/external/webrtc/sdk/android/ |
D | BUILD.gn | 300 "api/org/webrtc/StatsReport.java", 1247 "api/org/webrtc/StatsReport.java",
|