Home
last modified time | relevance | path

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

/system/update_engine/
Domaha_request_params.cc66 image_props_ = LoadImageProperties(system_state_); in Init()
70 if (!IsValidChannel(image_props_.current_channel)) in Init()
71 image_props_.current_channel = "stable-channel"; in Init()
73 mutable_image_props_.target_channel = image_props_.current_channel; in Init()
76 LOG(INFO) << "Running from channel " << image_props_.current_channel; in Init()
79 if (!image_props_.system_version.empty()) { in Init()
81 image_props_.system_version = in_app_version; in Init()
83 os_version_ = image_props_.system_version; in Init()
88 image_props_.version = in_app_version; in Init()
90 os_sp_ = image_props_.version + "_" + GetMachineType(); in Init()
[all …]
Domaha_request_params.h87 inline std::string os_board() const { return image_props_.board; } in os_board()
89 return image_props_.build_fingerprint; in os_build_fingerprint()
91 inline std::string os_build_type() const { return image_props_.build_type; } in os_build_type()
92 inline std::string board_app_id() const { return image_props_.product_id; } in board_app_id()
94 return image_props_.canary_product_id; in canary_app_id()
96 inline std::string system_app_id() const { return image_props_.system_id; } in system_app_id()
98 image_props_.system_id = system_app_id; in set_system_app_id()
101 image_props_.product_id = app_id; in set_app_id()
102 image_props_.canary_product_id = app_id; in set_app_id()
111 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()