Home
last modified time | relevance | path

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

/system/update_engine/
Domaha_request_params.cc67 image_props_ = LoadImageProperties(system_state_); in Init()
71 if (!IsValidChannel(image_props_.current_channel)) in Init()
72 image_props_.current_channel = "stable-channel"; in Init()
74 mutable_image_props_.target_channel = image_props_.current_channel; in Init()
77 LOG(INFO) << "Running from channel " << image_props_.current_channel; in Init()
80 if (!image_props_.system_version.empty()) { in Init()
82 image_props_.system_version = in_app_version; in Init()
84 os_version_ = image_props_.system_version; in Init()
89 image_props_.version = in_app_version; in Init()
91 os_sp_ = image_props_.version + "_" + GetMachineType(); in Init()
[all …]
Domaha_request_params.h66 inline std::string os_board() const { return image_props_.board; } in os_board()
68 return image_props_.build_fingerprint; in os_build_fingerprint()
70 inline std::string os_build_type() const { return image_props_.build_type; } in os_build_type()
71 inline std::string board_app_id() const { return image_props_.product_id; } in board_app_id()
73 return image_props_.canary_product_id; in canary_app_id()
75 inline std::string system_app_id() const { return image_props_.system_id; } in system_app_id()
77 image_props_.system_id = system_app_id; in set_system_app_id()
80 image_props_.product_id = app_id; in set_app_id()
81 image_props_.canary_product_id = app_id; in set_app_id()
89 image_props_.version = version; in set_app_version()
[all …]
Domaha_request_params_unittest.cc145 params.image_props_.allow_arbitrary_channels = false; in TEST_F()
168 params_.image_props_.allow_arbitrary_channels = true; in TEST_F()
230 params_.image_props_.current_channel = "canary-channel"; in TEST_F()
233 params_.image_props_.current_channel = "stable-channel"; in TEST_F()
243 params_.image_props_.allow_arbitrary_channels = true; in TEST_F()
244 params_.image_props_.current_channel = "foo-channel"; in TEST_F()
247 params_.image_props_.allow_arbitrary_channels = false; in TEST_F()
248 params_.image_props_.current_channel = "canary-channel"; in TEST_F()