Searched refs:updateAgeMillis (Results 1 – 3 of 3) sorted by relevance
132 long updateAgeMillis = calculateTruncatedUpdateAge(mSnapshotTime); in updateState() local133 if (updateAgeMillis <= WARNING_AGE) { in updateState()197 long updateAgeMillis = calculateTruncatedUpdateAge(mSnapshotTime); in getCarrierInfoText() local201 if (updateAgeMillis == 0) { in getCarrierInfoText()214 updateAgeMillis, /* withSeconds= */ false); in getCarrierInfoText()291 long updateAgeMillis = System.currentTimeMillis() - snapshotTime; in calculateTruncatedUpdateAge() local294 if (updateAgeMillis >= MILLIS_IN_A_DAY) { in calculateTruncatedUpdateAge()295 return (updateAgeMillis / MILLIS_IN_A_DAY) * MILLIS_IN_A_DAY; in calculateTruncatedUpdateAge()296 } else if (updateAgeMillis >= MILLIS_IN_AN_HOUR) { in calculateTruncatedUpdateAge()297 return (updateAgeMillis / MILLIS_IN_AN_HOUR) * MILLIS_IN_AN_HOUR; in calculateTruncatedUpdateAge()[all …]
304 long updateAgeMillis = calculateTruncatedUpdateAge(); local308 if (updateAgeMillis == 0) {321 getContext(), updateAgeMillis, false /* withSeconds */);328 if (updateAgeMillis <= WARNING_AGE) {344 long updateAgeMillis = System.currentTimeMillis() - mSnapshotTimeMs; in calculateTruncatedUpdateAge() local347 if (updateAgeMillis >= TimeUnit.DAYS.toMillis(1)) { in calculateTruncatedUpdateAge()348 return (updateAgeMillis / TimeUnit.DAYS.toMillis(1)) * TimeUnit.DAYS.toMillis(1); in calculateTruncatedUpdateAge()349 } else if (updateAgeMillis >= TimeUnit.HOURS.toMillis(1)) { in calculateTruncatedUpdateAge()350 return (updateAgeMillis / TimeUnit.HOURS.toMillis(1)) * TimeUnit.HOURS.toMillis(1); in calculateTruncatedUpdateAge()351 } else if (updateAgeMillis >= TimeUnit.MINUTES.toMillis(1)) { in calculateTruncatedUpdateAge()[all …]