Searched refs:updateAgeMillis (Results 1 – 2 of 2) sorted by relevance
137 long updateAgeMillis = calculateTruncatedUpdateAge(mSnapshotTime); in updateState() local138 if (updateAgeMillis <= WARNING_AGE) { in updateState()202 long updateAgeMillis = calculateTruncatedUpdateAge(mSnapshotTime); in getCarrierInfoText() local206 if (updateAgeMillis == 0) { in getCarrierInfoText()219 updateAgeMillis, /* withSeconds= */ false, /* collapseTimeUnit= */ false); in getCarrierInfoText()335 long updateAgeMillis = System.currentTimeMillis() - snapshotTime; in calculateTruncatedUpdateAge() local338 if (updateAgeMillis >= MILLIS_IN_A_DAY) { in calculateTruncatedUpdateAge()339 return (updateAgeMillis / MILLIS_IN_A_DAY) * MILLIS_IN_A_DAY; in calculateTruncatedUpdateAge()340 } else if (updateAgeMillis >= MILLIS_IN_AN_HOUR) { in calculateTruncatedUpdateAge()341 return (updateAgeMillis / MILLIS_IN_AN_HOUR) * MILLIS_IN_AN_HOUR; in calculateTruncatedUpdateAge()[all …]
305 long updateAgeMillis = calculateTruncatedUpdateAge(); local309 if (updateAgeMillis == 0) {323 updateAgeMillis,332 if (updateAgeMillis <= WARNING_AGE) {348 long updateAgeMillis = System.currentTimeMillis() - mSnapshotTimeMs; in calculateTruncatedUpdateAge() local351 if (updateAgeMillis >= TimeUnit.DAYS.toMillis(1)) { in calculateTruncatedUpdateAge()352 return (updateAgeMillis / TimeUnit.DAYS.toMillis(1)) * TimeUnit.DAYS.toMillis(1); in calculateTruncatedUpdateAge()353 } else if (updateAgeMillis >= TimeUnit.HOURS.toMillis(1)) { in calculateTruncatedUpdateAge()354 return (updateAgeMillis / TimeUnit.HOURS.toMillis(1)) * TimeUnit.HOURS.toMillis(1); in calculateTruncatedUpdateAge()355 } else if (updateAgeMillis >= TimeUnit.MINUTES.toMillis(1)) { in calculateTruncatedUpdateAge()[all …]