Home
last modified time | relevance | path

Searched refs:prev_version (Results 1 – 8 of 8) sorted by relevance

/system/update_engine/
Dupdate_engine_client.cc266 DEFINE_bool(prev_version, false, in ProcessFlags()
490 string prev_version; in ProcessFlags() local
492 if (!client_->GetPrevVersion(&prev_version)) { in ProcessFlags()
495 LOG(INFO) << "Previous version = " << prev_version; in ProcessFlags()
Domaha_request_action.cc131 string prev_version; in GetAppBody() local
132 if (!prefs->GetString(kPrefsPreviousVersion, &prev_version)) { in GetAppBody()
133 prev_version = "0.0.0.0"; in GetAppBody()
138 if (!prev_version.empty()) { in GetAppBody()
144 XmlEncodeWithDefault(prev_version, "0.0.0.0").c_str()); in GetAppBody()
Domaha_request_action_unittest.cc1923 string prev_version; in TEST_F() local
1924 EXPECT_TRUE(fake_prefs_.GetString(kPrefsPreviousVersion, &prev_version)); in TEST_F()
1925 EXPECT_TRUE(prev_version.empty()); in TEST_F()
/system/update_engine/client_library/
Dclient_binder.cc108 bool BinderUpdateEngineClient::GetPrevVersion(string* prev_version) const { in GetPrevVersion()
114 *prev_version = String8{out_as_string16}.string(); in GetPrevVersion()
Dclient_dbus.cc101 bool DBusUpdateEngineClient::GetPrevVersion(string* prev_version) const { in GetPrevVersion()
102 return proxy_->GetPrevVersion(prev_version, nullptr); in GetPrevVersion()
Dclient_dbus.h62 bool GetPrevVersion(std::string* prev_version) const override;
Dclient_binder.h69 bool GetPrevVersion(std::string* prev_version) const override;
/system/update_engine/client_library/include/update_engine/
Dclient.h89 virtual bool GetPrevVersion(std::string* prev_version) const = 0;