Home
last modified time | relevance | path

Searched refs:age (Results 1 – 3 of 3) sorted by relevance

/system/security/keystore2/src/
Doperation.rs670 age: Duration, in prune() field
677 let age = now in prune() localVariable
683 if let Some(CandidateInfo { age: a, .. }) = oldest_caller_op { in prune()
684 if age > a { in prune()
686 Some(CandidateInfo { index, malus: 0, last_usage, age }); in prune()
690 Some(CandidateInfo { index, malus: 0, last_usage, age }); in prune()
704 ) + ((age.as_secs() + 1) as f64).log(6.0).floor() as u64 in prune()
713 Some(CandidateInfo { index, malus, last_usage, age }) in prune()
720 Some(CandidateInfo { index: i, malus: m, last_usage: l, age: a }) => { in prune()
721 if malus > m || (malus == m && age > a) { in prune()
[all …]
/system/update_engine/cros/
Dmetrics_reporter_omaha_unittest.cc55 TimeDelta age = TimeDelta::FromDays(10); in TEST_F() local
60 reporter_.ReportDailyMetrics(age); in TEST_F()
Dupdate_attempter.cc263 TimeDelta age = now - lsb_release_timestamp; in ReportOSAge() local
264 if (age.InSeconds() < 0) { in ReportOSAge()
265 LOG(ERROR) << "The OS age (" << utils::FormatTimeDelta(age) in ReportOSAge()
271 SystemState::Get()->metrics_reporter()->ReportDailyMetrics(age); in ReportOSAge()