Searched refs:saturatedCast (Results 1 – 3 of 3) sorted by relevance
198 int latencyUs = NetworkStackUtils.saturatedCast(durationUs); in addProbeEvent()209 .setRemainingTtlSecs(NetworkStackUtils.saturatedCast(secondsRemaining)) in addProbeEvent()212 NetworkStackUtils.saturatedCast(capportData.getByteLimit() / 1000)) in addProbeEvent()237 mStatsBuilder.setLatencyMicros(NetworkStackUtils.saturatedCast(mWatch.stop())); in maybeStopCollectionAndSend()
73 mStatsBuilder.setIpv4LatencyMicros(NetworkStackUtils.saturatedCast(mIpv4Watch.stop())); in setIPv4ProvisionedLatencyOnFirstTime()82 mStatsBuilder.setIpv6LatencyMicros(NetworkStackUtils.saturatedCast(mIpv6Watch.stop())); in setIPv6ProvisionedLatencyOnFirstTime()
465 public static int saturatedCast(long value) { in saturatedCast() method in NetworkStackUtils