HomeSort by relevance Sort by last modified time
    Searched refs:EolStatus (Results 1 - 5 of 5) sorted by null

  /system/update_engine/
omaha_utils.cc 32 const char* EolStatusToString(EolStatus eol_status) {
34 case EolStatus::kSupported:
36 case EolStatus::kSecurityOnly:
38 case EolStatus::kEol:
41 // Only reached if an invalid number is casted to |EolStatus|.
42 LOG(WARNING) << "Invalid EolStatus value: " << static_cast<int>(eol_status);
46 EolStatus StringToEolStatus(const std::string& eol_status) {
48 return EolStatus::kSupported;
50 return EolStatus::kSecurityOnly;
52 return EolStatus::kEol
    [all...]
omaha_utils.h 25 enum class EolStatus {
32 const char* EolStatusToString(EolStatus eol_status);
34 // Converts the end-of-life status string to an EolStatus numeric value. In case
36 EolStatus StringToEolStatus(const std::string& eol_status);
omaha_utils_unittest.cc 27 EXPECT_EQ(EolStatus::kEol, StringToEolStatus("eol"));
30 const std::vector<EolStatus> tests = {
31 EolStatus::kSupported, EolStatus::kSecurityOnly, EolStatus::kEol};
32 for (EolStatus eol_status : tests) {
38 EXPECT_EQ(EolStatus::kSupported, StringToEolStatus(""));
39 EXPECT_EQ(EolStatus::kSupported, StringToEolStatus("hello, world!"));
common_service_unittest.cc 140 int32_t eol_status = static_cast<int32_t>(EolStatus::kEol);
143 EXPECT_EQ(EolStatus::kSupported, static_cast<EolStatus>(eol_status));
148 EXPECT_EQ(EolStatus::kSecurityOnly, static_cast<EolStatus>(eol_status));
update_engine_client.cc 40 using chromeos_update_engine::EolStatus;
569 EolStatus eol_status_code = static_cast<EolStatus>(eol_status);

Completed in 488 milliseconds