Home
last modified time | relevance | path

Searched refs:app_version (Results 1 – 15 of 15) sorted by relevance

/system/update_engine/
Domaha_request_params_unittest.cc45 bool DoTest(OmahaRequestParams* out, const string& app_version,
82 const string& app_version, in DoTest() argument
84 bool success = params_.Init(app_version, omaha_url, false); in DoTest()
117 EXPECT_EQ("0.2.2.3", out.app_version()); in TEST_F()
140 EXPECT_EQ("0.2.2.3", out.app_version()); in TEST_F()
159 EXPECT_EQ("0.2.2.3", out.app_version()); in TEST_F()
176 EXPECT_EQ("0.2.2.3", out.app_version()); in TEST_F()
193 EXPECT_EQ("", out.app_version()); in TEST_F()
211 EXPECT_EQ("ForcedVersion", out.app_version()); in TEST_F()
230 EXPECT_EQ("0.2.2.3", out.app_version()); in TEST_F()
[all …]
Dmock_update_attempter.h32 MOCK_METHOD6(Update, void(const std::string& app_version,
49 MOCK_METHOD3(CheckForUpdate, void(const std::string& app_version,
Dupdate_engine_client.cc221 DEFINE_string(app_version, "", "Force the current app version."); in ProcessFlags()
434 string app_version = FLAGS_app_version; in ProcessFlags() local
435 if (FLAGS_update && app_version.empty()) { in ProcessFlags()
436 app_version = "ForcedUpdate"; in ProcessFlags()
440 if (!client_->AttemptUpdate(app_version, FLAGS_omaha_url, in ProcessFlags()
Dupdate_attempter.h88 virtual void Update(const std::string& app_version,
148 virtual void CheckForUpdate(const std::string& app_version,
337 bool CalculateUpdateParams(const std::string& app_version,
Dupdate_attempter.cc252 void UpdateAttempter::Update(const string& app_version, in Update() argument
289 if (!CalculateUpdateParams(app_version, in Update()
365 bool UpdateAttempter::CalculateUpdateParams(const string& app_version, in CalculateUpdateParams() argument
396 if (!omaha_request_params_->Init(app_version, in CalculateUpdateParams()
789 void UpdateAttempter::CheckForUpdate(const string& app_version, in CheckForUpdate() argument
800 forced_app_version_ = app_version; in CheckForUpdate()
890 string app_version, omaha_url; in OnUpdateScheduled() local
892 app_version = forced_app_version_; in OnUpdateScheduled()
896 Update(app_version, omaha_url, params.target_channel, in OnUpdateScheduled()
943 omaha_request_params_->app_version()); in ProcessingDone()
Dbinder_service_brillo.cc61 const String16& app_version, const String16& omaha_url, int flags) { in AttemptUpdate() argument
63 NormalString(app_version), in AttemptUpdate()
Dbinder_service_brillo.h58 android::binder::Status AttemptUpdate(const android::String16& app_version,
Domaha_request_params.h117 inline std::string app_version() const { return image_props_.version; } in app_version() function
Domaha_request_action.cc221 XmlEncodeWithDefault(params->app_version(), "0.0.0.0") + "\" "; in GetAppXml()
224 XmlEncodeWithDefault(params->app_version(), "0.0.0.0") + "\" "; in GetAppXml()
Dpayload_state.cc423 SetRollbackVersion(system_state_->request_params()->app_version()); in Rollback()
/system/update_engine/binder_bindings/android/brillo/
DIUpdateEngine.aidl23 void AttemptUpdate(in String app_version, in String omaha_url, in int flags); in AttemptUpdate() argument
/system/update_engine/client_library/include/update_engine/
Dclient.h46 virtual bool AttemptUpdate(const std::string& app_version,
/system/update_engine/client_library/
Dclient_dbus.h40 bool AttemptUpdate(const std::string& app_version,
Dclient_binder.h47 bool AttemptUpdate(const std::string& app_version,
/system/core/metricsd/uploader/proto/
Dsystem_profile.proto55 optional string app_version = 2; field