Searched refs:GetOptional (Results 1 – 11 of 11) sorted by relevance
/external/webrtc/rtc_base/experiments/ |
D | field_trial_parser_unittest.cc | 142 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 …]
|
D | quality_scaler_settings.cc | 45 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()
|
D | min_video_bitrate_experiment.cc | 96 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()
|
D | keyframe_interval_settings.cc | 40 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()
|
D | quality_rampup_experiment.cc | 36 return min_pixels_.GetOptional(); in MinPixels() 40 return min_duration_ms_.GetOptional(); in MinDurationMs() 44 return max_bitrate_factor_.GetOptional(); in MaxBitrateFactor()
|
D | field_trial_units_unittest.cc | 37 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()
|
D | field_trial_parser.h | 191 absl::optional<T> GetOptional() const { return value_; } in GetOptional() function
|
/external/webrtc/sdk/ |
D | media_constraints.h | 115 const Constraints& GetOptional() const { return optional_; } in GetOptional() function
|
D | media_constraints.cc | 56 if (constraints->GetOptional().FindFirst(key, value)) { in FindConstraint()
|
/external/webrtc/sdk/objc/unittests/ |
D | RTCMediaConstraintsTest.mm | 40 webrtc::MediaConstraints::Constraints nativeOptional = nativeConstraints->GetOptional();
|
/external/webrtc/video/ |
D | video_stream_encoder.cc | 1940 result.to_param = to_param.GetOptional(); in ParseEncoderSwitchFieldTrial() 1941 result.to_value = to_value.GetOptional(); in ParseEncoderSwitchFieldTrial()
|