Searched refs:updateAgeMillis (Results 1 – 2 of 2) sorted by relevance
135 long updateAgeMillis = calculateTruncatedUpdateAge(mSnapshotTime); in updateState() local136 if (updateAgeMillis <= WARNING_AGE) { in updateState()169 long updateAgeMillis = calculateTruncatedUpdateAge(mSnapshotTime); in getCarrierInfoText() local173 if (updateAgeMillis == 0) { in getCarrierInfoText()186 updateAgeMillis, /* withSeconds= */ false, /* collapseTimeUnit= */ false); in getCarrierInfoText()301 long updateAgeMillis = System.currentTimeMillis() - snapshotTime; in calculateTruncatedUpdateAge() local304 if (updateAgeMillis >= MILLIS_IN_A_DAY) { in calculateTruncatedUpdateAge()305 return (updateAgeMillis / MILLIS_IN_A_DAY) * MILLIS_IN_A_DAY; in calculateTruncatedUpdateAge()306 } else if (updateAgeMillis >= MILLIS_IN_AN_HOUR) { in calculateTruncatedUpdateAge()307 return (updateAgeMillis / MILLIS_IN_AN_HOUR) * MILLIS_IN_AN_HOUR; in calculateTruncatedUpdateAge()[all …]
237 long updateAgeMillis = calculateTruncatedUpdateAge(); local241 if (updateAgeMillis == 0) {255 updateAgeMillis,264 if (updateAgeMillis <= WARNING_AGE) {280 long updateAgeMillis = System.currentTimeMillis() - mSnapshotTimeMs; in calculateTruncatedUpdateAge() local283 if (updateAgeMillis >= TimeUnit.DAYS.toMillis(1)) { in calculateTruncatedUpdateAge()284 return (updateAgeMillis / TimeUnit.DAYS.toMillis(1)) * TimeUnit.DAYS.toMillis(1); in calculateTruncatedUpdateAge()285 } else if (updateAgeMillis >= TimeUnit.HOURS.toMillis(1)) { in calculateTruncatedUpdateAge()286 return (updateAgeMillis / TimeUnit.HOURS.toMillis(1)) * TimeUnit.HOURS.toMillis(1); in calculateTruncatedUpdateAge()287 } else if (updateAgeMillis >= TimeUnit.MINUTES.toMillis(1)) { in calculateTruncatedUpdateAge()[all …]