Searched refs:secondsRemaining (Results 1 – 4 of 4) sorted by relevance
59 final long secondsRemaining = getLongOrDefault(obj, "seconds-remaining", -1L); in fromJson() local60 final long millisRemaining = secondsRemaining <= Long.MAX_VALUE / 1000 in fromJson()61 ? secondsRemaining * 1000 in fromJson()63 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(NetworkStackUtils.saturatedCast(secondsRemaining)) in addProbeEvent()
1180 final long secondsRemaining = 500L;1185 + "'seconds-remaining': " + secondsRemaining + "}");1202 final long secondsRemaining = 500L;1208 + "'seconds-remaining': " + secondsRemaining + "}");1224 final long expectedExpiry = currentTimeMillis() + secondsRemaining * 1000;