Lines Matching refs:result

71   string result;  in GetStringWithDefault()  local
72 if (osrelease.GetString(key, &result)) in GetStringWithDefault()
73 return result; in GetStringWithDefault()
172 ImageProperties result; in LoadImageProperties() local
179 result.product_id = in LoadImageProperties()
181 result.system_id = GetStringWithDefault( in LoadImageProperties()
186 result.product_id, ":", &prefix, &not_used, false) && in LoadImageProperties()
188 result.system_id, ":", &not_used, &system_id, false)) { in LoadImageProperties()
189 result.system_id = prefix + ":" + system_id; in LoadImageProperties()
191 result.canary_product_id = result.product_id; in LoadImageProperties()
192 result.version = GetStringWithDefault(osrelease, kProductVersion, "0.0.0.0"); in LoadImageProperties()
193 result.system_version = in LoadImageProperties()
196 utils::ReadFile(kProductComponentsPath, &result.product_components); in LoadImageProperties()
198 result.board = GetProperty(kPropProductName, "brillo"); in LoadImageProperties()
199 result.build_fingerprint = GetProperty(kPropBuildFingerprint, "none"); in LoadImageProperties()
200 result.build_type = GetProperty(kPropBuildType, ""); in LoadImageProperties()
212 result.current_channel = current_channel; in LoadImageProperties()
213 result.allow_arbitrary_channels = true; in LoadImageProperties()
216 result.omaha_url = constants::kOmahaDefaultProductionURL; in LoadImageProperties()
218 return result; in LoadImageProperties()
222 MutableImageProperties result; in LoadMutableImageProperties() local
223 result.target_channel = GetTargetChannel(); in LoadMutableImageProperties()
225 &result.is_powerwash_allowed)) { in LoadMutableImageProperties()
226 result.is_powerwash_allowed = false; in LoadMutableImageProperties()
228 return result; in LoadMutableImageProperties()