Searched refs:prev_version (Results 1 – 8 of 8) sorted by relevance
266 DEFINE_bool(prev_version, false, in ProcessFlags()490 string prev_version; in ProcessFlags() local492 if (!client_->GetPrevVersion(&prev_version)) { in ProcessFlags()495 LOG(INFO) << "Previous version = " << prev_version; in ProcessFlags()
131 string prev_version; in GetAppBody() local132 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()
1923 string prev_version; in TEST_F() local1924 EXPECT_TRUE(fake_prefs_.GetString(kPrefsPreviousVersion, &prev_version)); in TEST_F()1925 EXPECT_TRUE(prev_version.empty()); in TEST_F()
108 bool BinderUpdateEngineClient::GetPrevVersion(string* prev_version) const { in GetPrevVersion()114 *prev_version = String8{out_as_string16}.string(); in GetPrevVersion()
101 bool DBusUpdateEngineClient::GetPrevVersion(string* prev_version) const { in GetPrevVersion()102 return proxy_->GetPrevVersion(prev_version, nullptr); in GetPrevVersion()
62 bool GetPrevVersion(std::string* prev_version) const override;
69 bool GetPrevVersion(std::string* prev_version) const override;
89 virtual bool GetPrevVersion(std::string* prev_version) const = 0;