Home
last modified time | relevance | path

Searched refs:StatsReport (Results 1 – 20 of 20) sorted by relevance

/external/webrtc/talk/app/webrtc/
Dstatscollector.cc64 const StatsReport::StatsValueName name;
73 StatsReport::Id GetTransportIdFromProxy(const ProxyTransportMap& map, in GetTransportIdFromProxy()
78 return StatsReport::Id(); in GetTransportIdFromProxy()
81 return StatsReport::NewComponentId( in GetTransportIdFromProxy()
85 StatsReport* AddTrackReport(StatsCollection* reports, in AddTrackReport()
88 StatsReport::Id id( in AddTrackReport()
89 StatsReport::NewTypedId(StatsReport::kStatsReportTypeTrack, track_id)); in AddTrackReport()
90 StatsReport* report = reports->ReplaceOrAddNew(id); in AddTrackReport()
91 report->AddString(StatsReport::kStatsValueNameTrackId, track_id); in AddTrackReport()
100 StatsReport* report = AddTrackReport(reports, track_id); in CreateTrackReports()
[all …]
Dstatstypes.cc50 const char* InternalTypeToString(StatsReport::StatsType type) { in InternalTypeToString()
52 case StatsReport::kStatsReportTypeSession: in InternalTypeToString()
54 case StatsReport::kStatsReportTypeBwe: in InternalTypeToString()
56 case StatsReport::kStatsReportTypeRemoteSsrc: in InternalTypeToString()
58 case StatsReport::kStatsReportTypeSsrc: in InternalTypeToString()
60 case StatsReport::kStatsReportTypeTrack: in InternalTypeToString()
62 case StatsReport::kStatsReportTypeIceLocalCandidate: in InternalTypeToString()
64 case StatsReport::kStatsReportTypeIceRemoteCandidate: in InternalTypeToString()
66 case StatsReport::kStatsReportTypeTransport: in InternalTypeToString()
68 case StatsReport::kStatsReportTypeComponent: in InternalTypeToString()
[all …]
Dstatscollector_unittest.cc60 using webrtc::StatsReport;
174 bool GetValue(const StatsReport* report, in GetValue()
175 StatsReport::StatsValueName name, in GetValue()
177 const StatsReport::Value* v = report->FindValue(name); in GetValue()
184 std::string ExtractStatsValue(const StatsReport::StatsType& type, in ExtractStatsValue()
186 StatsReport::StatsValueName name) { in ExtractStatsValue()
196 StatsReport::Id TypedIdFromIdString(StatsReport::StatsType type, in TypedIdFromIdString()
199 StatsReport::Id id; in TypedIdFromIdString()
211 id = StatsReport::NewTypedId(type, value.substr(index + 1)); in TypedIdFromIdString()
216 StatsReport::Id IdFromCertIdString(const std::string& cert_id) { in IdFromCertIdString()
[all …]
Dstatscollector.h57 typedef std::map<std::string, StatsReport*> TrackIdMap;
93 StatsReport* PrepareReport(bool local,
95 const StatsReport::Id& transport_id,
96 StatsReport::Direction direction);
112 StatsReport* AddOneCertificateReport(
113 const rtc::SSLCertificate* cert, const StatsReport* issuer);
117 StatsReport* AddCandidateReport(const cricket::Candidate& candidate,
122 StatsReport* AddCertificateReports(const rtc::SSLCertificate* cert);
124 StatsReport* AddConnectionInfoReport(const std::string& content_name,
126 const StatsReport::Id& channel_report_id,
[all …]
Dstatstypes.h50 class StatsReport {
334 explicit StatsReport(const Id& id);
375 RTC_DISALLOW_COPY_AND_ASSIGN(StatsReport);
383 typedef std::vector<const StatsReport*> StatsReports;
393 typedef std::list<StatsReport*> Container;
403 StatsReport* InsertNew(const StatsReport::Id& id);
404 StatsReport* FindOrAddNew(const StatsReport::Id& id);
405 StatsReport* ReplaceOrAddNew(const StatsReport::Id& id);
409 StatsReport* Find(const StatsReport::Id& id);
Dwebrtcsession.h51 class StatsReport; variable
/external/webrtc/talk/app/webrtc/test/
Dmockpeerconnectionobservers.h131 if (r->type() == StatsReport::kStatsReportTypeSsrc) { in OnComplete()
133 GetIntValue(r, StatsReport::kStatsValueNameAudioOutputLevel, in OnComplete()
135 GetIntValue(r, StatsReport::kStatsValueNameAudioInputLevel, in OnComplete()
137 GetIntValue(r, StatsReport::kStatsValueNameBytesReceived, in OnComplete()
139 GetIntValue(r, StatsReport::kStatsValueNameBytesSent, in OnComplete()
141 } else if (r->type() == StatsReport::kStatsReportTypeBwe) { in OnComplete()
143 GetIntValue(r, StatsReport::kStatsValueNameAvailableReceiveBandwidth, in OnComplete()
145 } else if (r->type() == StatsReport::kStatsReportTypeComponent) { in OnComplete()
147 GetStringValue(r, StatsReport::kStatsValueNameDtlsCipher, in OnComplete()
149 GetStringValue(r, StatsReport::kStatsValueNameSrtpCipher, in OnComplete()
[all …]
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DHudFragment.java22 import org.webrtc.StatsReport;
103 private Map<String, String> getReportMap(StatsReport report) { in getReportMap()
105 for (StatsReport.Value value : report.values) { in getReportMap()
111 public void updateEncoderStatistics(final StatsReport[] reports) { in updateEncoderStatistics()
124 for (StatsReport report : reports) { in updateEncoderStatistics()
133 for (StatsReport.Value value : report.values) { in updateEncoderStatistics()
146 for (StatsReport.Value value : report.values) { in updateEncoderStatistics()
158 for (StatsReport.Value value : report.values) { in updateEncoderStatistics()
168 for (StatsReport.Value value : report.values) { in updateEncoderStatistics()
DCallActivity.java36 import org.webrtc.StatsReport;
644 public void onPeerConnectionStatsReady(final StatsReport[] reports) { in onPeerConnectionStatsReady()
DPeerConnectionClient.java35 import org.webrtc.StatsReport;
206 public void onPeerConnectionStatsReady(final StatsReport[] reports); in onPeerConnectionStatsReady()
572 public void onComplete(final StatsReport[] reports) { in getStats()
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DStatsReport.java31 public class StatsReport { class
56 public StatsReport(String id, String type, double timestamp, Value[] values) { in StatsReport() method in StatsReport
DStatsObserver.java33 public void onComplete(StatsReport[] reports); in onComplete()
/external/webrtc/talk/app/webrtc/java/testcommon/src/org/webrtc/
DPeerConnectionTest.java89 private LinkedList<StatsReport[]> gotStatsReports =
90 new LinkedList<StatsReport[]>();
281 public synchronized void onComplete(StatsReport[] reports) { in onComplete()
292 public synchronized LinkedList<StatsReport[]> takeStatsReports() { in takeStatsReports()
293 LinkedList<StatsReport[]> got = gotStatsReports; in takeStatsReports()
294 gotStatsReports = new LinkedList<StatsReport[]>(); in takeStatsReports()
761 for (StatsReport[] reports : expectations.takeStatsReports()) {
/external/webrtc/talk/app/webrtc/objc/
DRTCStatsReport+Internal.h34 - (instancetype)initWithStatsReport:(const webrtc::StatsReport&)statsReport;
DRTCStatsReport.mm51 - (instancetype)initWithStatsReport:(const webrtc::StatsReport&)statsReport { argument
/external/webrtc/webrtc/api/objc/
DRTCStatsReport+Private.h20 - (instancetype)initWithNativeReport:(const webrtc::StatsReport &)nativeReport;
DRTCStatsReport.mm36 - (instancetype)initWithNativeReport:(const webrtc::StatsReport &)nativeReport { argument
/external/webrtc/webrtc/examples/androidtests/src/org/appspot/apprtc/test/
DPeerConnectionClientTest.java29 import org.webrtc.StatsReport;
178 public void onPeerConnectionStatsReady(StatsReport[] reports) { in onPeerConnectionStatsReady()
/external/webrtc/talk/app/webrtc/java/jni/
Dpeerconnection_jni.cc127 using webrtc::StatsReport;
686 jobjectArray ValuesToJava(JNIEnv* jni, const StatsReport::Values& values) { in ValuesToJava()
/external/webrtc/talk/
Dlibjingle.gyp164 'app/webrtc/java/src/org/webrtc/StatsReport.java',