Home
last modified time | relevance | path

Searched refs:image_props_ (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/cros/
Domaha_request_params.cc68 image_props_ = LoadImageProperties(); in Init()
72 if (!IsValidChannel(image_props_.current_channel)) in Init()
73 image_props_.current_channel = "stable-channel"; in Init()
75 mutable_image_props_.target_channel = image_props_.current_channel; in Init()
78 LOG(INFO) << "Running from channel " << image_props_.current_channel; in Init()
83 image_props_.version = app_version; in Init()
85 os_sp_ = image_props_.version + "_" + GetMachineType(); in Init()
90 if (image_props_.current_channel == mutable_image_props_.target_channel) { in Init()
110 update_url_ = image_props_.omaha_url; in Init()
161 update_url_ == image_props_.omaha_url); in IsUpdateUrlOfficial()
[all …]
Domaha_request_params.h85 inline std::string os_board() const { return image_props_.board; } in os_board()
87 return image_props_.build_fingerprint; in os_build_fingerprint()
89 inline std::string os_build_type() const { return image_props_.build_type; } in os_build_type()
90 inline std::string board_app_id() const { return image_props_.product_id; } in board_app_id()
92 return image_props_.canary_product_id; in canary_app_id()
95 image_props_.product_id = app_id; in set_app_id()
96 image_props_.canary_product_id = app_id; in set_app_id()
103 image_props_.version = version; in set_app_version()
105 inline std::string app_version() const { return image_props_.version; } in app_version()
107 return image_props_.product_components; in product_components()
[all …]
Domaha_request_params_unittest.cc141 params.image_props_.allow_arbitrary_channels = false; in TEST_F()
164 params_.image_props_.allow_arbitrary_channels = true; in TEST_F()
226 params_.image_props_.current_channel = "canary-channel"; in TEST_F()
229 params_.image_props_.current_channel = "stable-channel"; in TEST_F()
246 params_.image_props_.allow_arbitrary_channels = true; in TEST_F()
247 params_.image_props_.current_channel = "foo-channel"; in TEST_F()
250 params_.image_props_.allow_arbitrary_channels = false; in TEST_F()
251 params_.image_props_.current_channel = "canary-channel"; in TEST_F()