Lines Matching refs:prop_name
137 std::string prop_name = prop.prop_name(); in ValidateProp() local
138 if (prop_name.empty()) prop_name = GenerateDefaultPropName(props, prop); in ValidateProp()
140 if (!IsCorrectPropertyName(prop_name)) { in ValidateProp()
141 return Errorf("Invalid prop name \"{}\"", prop.prop_name()); in ValidateProp()
151 prop.prop_name()); in ValidateProp()
162 if (std::regex_match(prop_name, vendor_regex) || in ValidateProp()
163 std::regex_match(prop_name, odm_regex)) { in ValidateProp()
167 prop_name); in ValidateProp()
171 if (!std::regex_match(prop_name, vendor_regex)) { in ValidateProp()
174 prop_name); in ValidateProp()
178 if (!std::regex_match(prop_name, odm_regex)) { in ValidateProp()
180 prop_name); in ValidateProp()
188 android::base::StartsWith(prop_name, "ro.")) { in ValidateProp()
190 prop_name); in ValidateProp()
196 prop_name); in ValidateProp()
234 std::vector<std::string> prop_names{prop.prop_name()}; in ValidateProps()
257 if (prop.prop_name().empty()) in SetDefaultValues()