Home
last modified time | relevance | path

Searched refs:num_days (Results 1 – 2 of 2) sorted by relevance

/system/update_engine/cros/
Dpayload_state.cc552 int num_days = 1; // the value to be shifted. in UpdateBackoffExpiryTime() local
553 const int kMaxShifts = (sizeof(num_days) * 8) - 2; in UpdateBackoffExpiryTime()
561 num_days = min(num_days << power, kMaxBackoffDays); in UpdateBackoffExpiryTime()
567 TimeDelta::FromDays(num_days) + TimeDelta::FromMinutes(fuzz_minutes); in UpdateBackoffExpiryTime()
Domaha_request_action.cc450 int num_days; in GetInstallDate() local
451 if (!utils::ConvertToOmahaInstallDate(time_of_oobe, &num_days)) { in GetInstallDate()
459 if (!OmahaRequestAction::PersistInstallDate(num_days, in GetInstallDate()
463 LOG(INFO) << "Set the Omaha InstallDate from OOBE time-stamp to " << num_days in GetInstallDate()
466 return num_days; in GetInstallDate()