Searched refs:secondsRemaining (Results 1 – 4 of 4) sorted by relevance
63 final long secondsRemaining = getLongOrDefault(obj, "seconds-remaining", -1L); in fromJson() local64 final long millisRemaining = secondsRemaining <= Long.MAX_VALUE / 1000 in fromJson()65 ? secondsRemaining * 1000 in fromJson()67 final long expiryTimeMs = secondsRemaining == -1L ? -1L : in fromJson()
159 final long secondsRemaining = 3000L; in testNetworkValidationMetrics_VerifyCollectMetrics() local164 + "'seconds-remaining': " + secondsRemaining + "}"; in testNetworkValidationMetrics_VerifyCollectMetrics()212 assertTrue(capportData.getRemainingTtlSecs() <= secondsRemaining); in testNetworkValidationMetrics_VerifyCollectMetrics()213 assertTrue(capportData.getRemainingTtlSecs() + TTL_TOLERANCE_SECS > secondsRemaining); in testNetworkValidationMetrics_VerifyCollectMetrics()
206 final long secondsRemaining = in addProbeEvent() local209 .setRemainingTtlSecs(ConnectivityUtils.saturatedCast(secondsRemaining)) in addProbeEvent()
1237 final long secondsRemaining = 500L;1242 + "'seconds-remaining': " + secondsRemaining + "}");1259 final long secondsRemaining = 500L;1265 + "'seconds-remaining': " + secondsRemaining + "}");1281 final long expectedExpiry = currentTimeMillis() + secondsRemaining * 1000;