Home
last modified time | relevance | path

Searched refs:eol_date (Results 1 – 11 of 11) sorted by relevance

/system/update_engine/
Domaha_utils.cc26 std::string EolDateToString(EolDate eol_date) { in EolDateToString() argument
27 return base::NumberToString(eol_date); in EolDateToString()
30 EolDate StringToEolDate(const std::string& eol_date) { in StringToEolDate() argument
32 if (!base::StringToInt64(eol_date, &date)) in StringToEolDate()
Domaha_utils_unittest.cc29 for (EolDate eol_date : tests) { in TEST() local
30 EXPECT_EQ(eol_date, StringToEolDate(EolDateToString(eol_date))) in TEST()
31 << "The StringToEolDate() was " << EolDateToString(eol_date); in TEST()
Domaha_utils.h30 std::string EolDateToString(EolDate eol_date);
35 EolDate StringToEolDate(const std::string& eol_date);
Ddbus_service.cc49 out_status->set_eol_date(ue_status.eol_date); in ConvertToStatusResult()
Dupdate_attempter_unittest.cc2346 EolDate eol_date = std::numeric_limits<int64_t>::max(); in TEST_F() local
2350 DoAll(SetArgPointee<1>(EolDateToString(eol_date)), Return(true))); in TEST_F()
2354 EXPECT_EQ(eol_date, status.eol_date); in TEST_F()
2358 EolDate eol_date = 1; in TEST_F() local
2362 DoAll(SetArgPointee<1>(EolDateToString(eol_date)), Return(true))); in TEST_F()
2366 EXPECT_EQ(eol_date, status.eol_date); in TEST_F()
2376 EXPECT_EQ(kEolDateInvalid, status.eol_date); in TEST_F()
2384 EXPECT_EQ(kEolDateInvalid, status.eol_date); in TEST_F()
Domaha_request_action_unittest.cc2933 string eol_date; in TEST_F() local
2935 fake_system_state_.prefs()->GetString(kPrefsOmahaEolDate, &eol_date)); in TEST_F()
2936 EXPECT_EQ("200", eol_date); in TEST_F()
2953 string eol_date; in TEST_F() local
2955 fake_system_state_.prefs()->GetString(kPrefsOmahaEolDate, &eol_date)); in TEST_F()
2956 EXPECT_EQ(kDate, eol_date); in TEST_F()
2970 string eol_date; in TEST_F() local
2972 fake_system_state_.prefs()->GetString(kPrefsOmahaEolDate, &eol_date)); in TEST_F()
2973 EXPECT_EQ(kEolDateInvalid, StringToEolDate(eol_date)); in TEST_F()
Dupdate_engine_client.cc579 EolDate eol_date_code = status.eol_date; in ProcessFlags()
Domaha_request_action.cc1417 const auto& eol_date = eol_date_attr->second; in PersistEolInfo() local
1418 if (!system_state_->prefs()->SetString(kPrefsOmahaEolDate, eol_date)) { in PersistEolInfo()
1422 LOG(INFO) << "Set EOL date to " << eol_date; in PersistEolInfo()
Dupdate_attempter.cc1511 out_status->eol_date = StringToEolDate(str_eol_date); in GetStatus()
/system/update_engine/client_library/include/update_engine/
Dupdate_status.h93 int64_t eol_date; member
/system/update_engine/client_library/
Dclient_dbus.cc58 out_status->eol_date = status.eol_date(); in ConvertToUpdateEngineStatus()