Home
last modified time | relevance | path

Searched refs:RTCStatsMember (Results 1 – 11 of 11) sorted by relevance

/external/webrtc/api/stats/
Drtcstats_objects.h102 RTCStatsMember<std::string> fingerprint;
103 RTCStatsMember<std::string> fingerprint_algorithm;
104 RTCStatsMember<std::string> base64_certificate;
105 RTCStatsMember<std::string> issuer_certificate_id;
118 RTCStatsMember<uint32_t> payload_type;
119 RTCStatsMember<std::string> mime_type;
120 RTCStatsMember<uint32_t> clock_rate;
121 RTCStatsMember<uint32_t> channels;
122 RTCStatsMember<std::string> sdp_fmtp_line;
135 RTCStatsMember<std::string> label;
[all …]
Drtc_stats.h287 class RTCStatsMember : public RTCStatsMemberInterface {
289 explicit RTCStatsMember(const char* name) in RTCStatsMember() function
291 RTCStatsMember(const char* name, const T& value) in RTCStatsMember() function
293 RTCStatsMember(const char* name, T&& value) in RTCStatsMember() function
296 explicit RTCStatsMember(const RTCStatsMember<T>& other) in RTCStatsMember() function
299 explicit RTCStatsMember(RTCStatsMember<T>&& other) in RTCStatsMember() function
311 const RTCStatsMember<T>& other_t =
312 static_cast<const RTCStatsMember<T>&>(other);
368 RTC_EXPORT RTCStatsMemberInterface::Type RTCStatsMember<T>::StaticType(); \
370 RTC_EXPORT bool RTCStatsMember<T>::is_sequence() const; \
[all …]
/external/webrtc/stats/test/
Drtc_test_stats.h31 RTCStatsMember<bool> m_bool;
32 RTCStatsMember<int32_t> m_int32;
33 RTCStatsMember<uint32_t> m_uint32;
34 RTCStatsMember<int64_t> m_int64;
35 RTCStatsMember<uint64_t> m_uint64;
36 RTCStatsMember<double> m_double;
37 RTCStatsMember<std::string> m_string;
38 RTCStatsMember<std::vector<bool>> m_sequence_bool;
39 RTCStatsMember<std::vector<int32_t>> m_sequence_int32;
40 RTCStatsMember<std::vector<uint32_t>> m_sequence_uint32;
[all …]
/external/webrtc/sdk/android/src/jni/pc/
Drtc_stats_collector_callback_wrapper.cc45 return NativeToJavaBoolean(env, *member.cast_to<RTCStatsMember<bool>>()); in MemberToJava()
49 *member.cast_to<RTCStatsMember<int32_t>>()); in MemberToJava()
52 return NativeToJavaLong(env, *member.cast_to<RTCStatsMember<uint32_t>>()); in MemberToJava()
55 return NativeToJavaLong(env, *member.cast_to<RTCStatsMember<int64_t>>()); in MemberToJava()
59 env, *member.cast_to<RTCStatsMember<uint64_t>>()); in MemberToJava()
62 return NativeToJavaDouble(env, *member.cast_to<RTCStatsMember<double>>()); in MemberToJava()
66 *member.cast_to<RTCStatsMember<std::string>>()); in MemberToJava()
70 env, *member.cast_to<RTCStatsMember<std::vector<bool>>>()); in MemberToJava()
74 env, *member.cast_to<RTCStatsMember<std::vector<int32_t>>>()); in MemberToJava()
78 *member.cast_to<RTCStatsMember<std::vector<uint32_t>>>(); in MemberToJava()
[all …]
/external/webrtc/sdk/objc/api/peerconnection/
DRTCStatisticsReport.mm24 return [NSNumber numberWithBool:*member->cast_to<RTCStatsMember<bool>>()];
26 return [NSNumber numberWithInt:*member->cast_to<RTCStatsMember<int32_t>>()];
28 return [NSNumber numberWithUnsignedInt:*member->cast_to<RTCStatsMember<uint32_t>>()];
30 return [NSNumber numberWithLong:*member->cast_to<RTCStatsMember<int64_t>>()];
32 return [NSNumber numberWithUnsignedLong:*member->cast_to<RTCStatsMember<uint64_t>>()];
34 return [NSNumber numberWithDouble:*member->cast_to<RTCStatsMember<double>>()];
36 return [NSString stringForStdString:*member->cast_to<RTCStatsMember<std::string>>()];
38 std::vector<bool> sequence = *member->cast_to<RTCStatsMember<std::vector<bool>>>();
46 std::vector<int32_t> sequence = *member->cast_to<RTCStatsMember<std::vector<int32_t>>>();
54 std::vector<uint32_t> sequence = *member->cast_to<RTCStatsMember<std::vector<uint32_t>>>();
[all …]
/external/webrtc/stats/
Drtc_stats.cc135 RTCStatsMemberInterface::Type RTCStatsMember<T>::StaticType() { \
139 bool RTCStatsMember<T>::is_sequence() const { \
143 bool RTCStatsMember<T>::is_string() const { \
147 std::string RTCStatsMember<T>::ValueToString() const { \
152 std::string RTCStatsMember<T>::ValueToJson() const { \
156 template class RTC_EXPORT_TEMPLATE_DEFINE(RTC_EXPORT) RTCStatsMember<T>
Drtc_stats_report_unittest.cc26 RTCStatsMember<int32_t> integer;
38 RTCStatsMember<double> number;
50 RTCStatsMember<std::string> string;
Drtc_stats_unittest.cc49 RTCStatsMember<int32_t> child_int;
61 RTCStatsMember<int32_t> grandchild_int;
209 sum += *member->cast_to<const RTCStatsMember<int32_t>>(); in TEST()
336 RTCStatsMember<int32_t> standardized("standardized"); in TEST()
/external/webrtc/pc/
Drtc_stats_traversal.cc45 void AddIdIfDefined(const RTCStatsMember<std::string>& id, in AddIdIfDefined()
51 void AddIdsIfDefined(const RTCStatsMember<std::vector<std::string>>& ids, in AddIdsIfDefined()
Drtc_stats_integrationtest.cc244 bool is_positive = *member.cast_to<RTCStatsMember<T>>() > T(0); in TestMemberIsPositive()
260 bool is_non_negative = *member.cast_to<RTCStatsMember<T>>() >= T(0); in TestMemberIsNonNegative()
299 const RTCStatsMember<std::string>& id = in TestMemberIsIDReference()
300 member.cast_to<RTCStatsMember<std::string>>(); in TestMemberIsIDReference()
307 const RTCStatsMember<std::vector<std::string>>& ids = in TestMemberIsIDReference()
308 member.cast_to<RTCStatsMember<std::vector<std::string>>>(); in TestMemberIsIDReference()
1232 const auto& id = member->cast_to<const RTCStatsMember<std::string>>(); in TEST_F()
1238 member->cast_to<const RTCStatsMember<std::vector<std::string>>>(); in TEST_F()
Drtc_stats_collector_unittest.cc3013 RTCStatsMember<int32_t> dummy_stat;