Lines Matching refs:constraints

27 bool GetConstraintValueAsBoolean(const blink::WebMediaConstraints& constraints,
30 return GetMandatoryConstraintValueAsBoolean(constraints, name, value) ||
31 GetOptionalConstraintValueAsBoolean(constraints, name, value);
34 bool GetConstraintValueAsInteger(const blink::WebMediaConstraints& constraints,
37 return GetMandatoryConstraintValueAsInteger(constraints, name, value) ||
38 GetOptionalConstraintValueAsInteger(constraints, name, value);
41 bool GetConstraintValueAsDouble(const blink::WebMediaConstraints& constraints,
44 return GetMandatoryConstraintValueAsDouble(constraints, name, value) ||
45 GetOptionalConstraintValueAsDouble(constraints, name, value);
48 bool GetConstraintValueAsString(const blink::WebMediaConstraints& constraints,
53 if (!constraints.getMandatoryConstraintValue(name_16, value_str) &&
54 !constraints.getOptionalConstraintValue(name_16, value_str)) {
63 const blink::WebMediaConstraints& constraints,
67 if (!constraints.getMandatoryConstraintValue(base::UTF8ToUTF16(name),
76 const blink::WebMediaConstraints& constraints,
80 if (!constraints.getMandatoryConstraintValue(base::UTF8ToUTF16(name),
89 const blink::WebMediaConstraints& constraints,
93 if (!constraints.getMandatoryConstraintValue(base::UTF8ToUTF16(name),
101 const blink::WebMediaConstraints& constraints,
105 if (!constraints.getOptionalConstraintValue(base::UTF8ToUTF16(name),
114 const blink::WebMediaConstraints& constraints,
118 if (!constraints.getOptionalConstraintValue(base::UTF8ToUTF16(name),
127 const blink::WebMediaConstraints& constraints,
131 if (!constraints.getOptionalConstraintValue(base::UTF8ToUTF16(name),