Searched refs:prev_version (Results 1 – 8 of 8) sorted by relevance
278 DEFINE_bool(prev_version, false, in ProcessFlags()524 string prev_version; in ProcessFlags() local526 if (!client_->GetPrevVersion(&prev_version)) { in ProcessFlags()529 LOG(INFO) << "Previous version = " << prev_version; in ProcessFlags()
139 string prev_version; in GetAppBody() local140 if (!prefs->GetString(kPrefsPreviousVersion, &prev_version)) { in GetAppBody()141 prev_version = "0.0.0.0"; in GetAppBody()146 if (!prev_version.empty()) { in GetAppBody()152 XmlEncodeWithDefault(prev_version, "0.0.0.0").c_str()); in GetAppBody()
2227 string prev_version; in TEST_F() local2228 EXPECT_TRUE(fake_prefs_.GetString(kPrefsPreviousVersion, &prev_version)); in TEST_F()2229 EXPECT_TRUE(prev_version.empty()); in TEST_F()
109 bool DBusUpdateEngineClient::GetPrevVersion(string* prev_version) const { in GetPrevVersion()110 return proxy_->GetPrevVersion(prev_version, nullptr); in GetPrevVersion()
122 bool BinderUpdateEngineClient::GetPrevVersion(string* prev_version) const { in GetPrevVersion()128 *prev_version = String8{out_as_string16}.string(); in GetPrevVersion()
65 bool GetPrevVersion(std::string* prev_version) const override;
71 bool GetPrevVersion(std::string* prev_version) const override;
93 virtual bool GetPrevVersion(std::string* prev_version) const = 0;