Searched refs:days (Results 1 - 3 of 3) sorted by relevance

/system/update_engine/common/
H A Dutils.cc965 // Canonicalize into days, hours, minutes, seconds and microseconds.
966 unsigned days = delta.InDays(); local
967 delta -= TimeDelta::FromDays(days);
976 if (days)
977 base::StringAppendF(&str, "%ud", days);
978 if (days || hours)
980 if (days || hours || mins)
/system/update_engine/
H A Domaha_request_action.cc91 // Returns an XML ping element if any of the elapsed days need to be
514 // Calculates the value to use for the ping days parameter.
516 int days = kNeverPinged; local
519 days = (Time::Now() - Time::FromInternalValue(last_ping)).InDays();
520 if (days < 0) {
521 // If |days| is negative, then the system clock must have jumped
526 days = kPingTimeJump;
531 return days;
619 << num_days << " days";
724 // element. This is the number of days sinc
[all...]
/system/connectivity/shill/wifi/
H A Dwifi_provider_unittest.cc1694 time_t days = WiFiProvider::StringListToFrequencyMap(strings, local
1700 EXPECT_EQ(days, kTestDays);
1707 time_t days = WiFiProvider::StringListToFrequencyMap(strings, local
1710 EXPECT_EQ(days, 50);

Completed in 117 milliseconds