Home
last modified time | relevance | path

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

/external/webrtc/rtc_base/experiments/
Dfield_trial_parser_unittest.cc142 EXPECT_FALSE(max_count.GetOptional().has_value()); in TEST()
144 EXPECT_EQ(max_count.GetOptional().value(), 10); in TEST()
146 EXPECT_FALSE(max_count.GetOptional().has_value()); in TEST()
148 EXPECT_EQ(max_count.GetOptional().value(), 20); in TEST()
150 EXPECT_EQ(max_count.GetOptional().value(), 20); in TEST()
154 EXPECT_FALSE(max_size.GetOptional().has_value()); in TEST()
156 EXPECT_EQ(max_size.GetOptional().value(), 10u); in TEST()
158 EXPECT_FALSE(max_size.GetOptional().has_value()); in TEST()
160 EXPECT_EQ(max_size.GetOptional().value(), 20u); in TEST()
164 EXPECT_EQ(optional_string.GetOptional().value(), ""); in TEST()
[all …]
Dquality_scaler_settings.cc45 return min_frames_.GetOptional(); in MinFrames()
54 return initial_scale_factor_.GetOptional(); in InitialScaleFactor()
62 return scale_factor_.GetOptional(); in ScaleFactor()
71 return initial_bitrate_interval_ms_.GetOptional(); in InitialBitrateIntervalMs()
80 return initial_bitrate_factor_.GetOptional(); in InitialBitrateFactor()
Dmin_video_bitrate_experiment.cc96 return min_bitrate_vp8.GetOptional(); in GetExperimentalMinVideoBitrate()
98 return min_bitrate_vp9.GetOptional(); in GetExperimentalMinVideoBitrate()
100 return min_bitrate_av1.GetOptional(); in GetExperimentalMinVideoBitrate()
102 return min_bitrate_h264.GetOptional(); in GetExperimentalMinVideoBitrate()
Dkeyframe_interval_settings.cc40 return min_keyframe_send_interval_ms_.GetOptional(); in MinKeyframeSendIntervalMs()
44 return max_wait_for_keyframe_ms_.GetOptional(); in MaxWaitForKeyframeMs()
48 return max_wait_for_frame_ms_.GetOptional(); in MaxWaitForFrameMs()
Dquality_rampup_experiment.cc36 return min_pixels_.GetOptional(); in MinPixels()
40 return min_duration_ms_.GetOptional(); in MinDurationMs()
44 return max_bitrate_factor_.GetOptional(); in MaxBitrateFactor()
Dfield_trial_units_unittest.cc37 EXPECT_FALSE(exp.max_buffer.GetOptional().has_value()); in TEST()
43 EXPECT_EQ(*exp.max_buffer.GetOptional(), DataSize::Bytes(5)); in TEST()
49 EXPECT_EQ(*exp.max_buffer.GetOptional(), DataSize::Bytes(5)); in TEST()
60 EXPECT_EQ(*exp.max_buffer.GetOptional(), DataSize::Bytes(8)); in TEST()
Dfield_trial_parser.h191 absl::optional<T> GetOptional() const { return value_; } in GetOptional() function
/external/webrtc/sdk/
Dmedia_constraints.h115 const Constraints& GetOptional() const { return optional_; } in GetOptional() function
Dmedia_constraints.cc56 if (constraints->GetOptional().FindFirst(key, value)) { in FindConstraint()
/external/webrtc/sdk/objc/unittests/
DRTCMediaConstraintsTest.mm40 webrtc::MediaConstraints::Constraints nativeOptional = nativeConstraints->GetOptional();
/external/webrtc/video/
Dvideo_stream_encoder.cc1940 result.to_param = to_param.GetOptional(); in ParseEncoderSwitchFieldTrial()
1941 result.to_value = to_value.GetOptional(); in ParseEncoderSwitchFieldTrial()