Home
last modified time | relevance | path

Searched refs:saturatedCast (Results 1 – 3 of 3) sorted by relevance

/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DNetworkValidationMetrics.java198 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()
DIpProvisioningMetrics.java73 mStatsBuilder.setIpv4LatencyMicros(NetworkStackUtils.saturatedCast(mIpv4Watch.stop())); in setIPv4ProvisionedLatencyOnFirstTime()
82 mStatsBuilder.setIpv6LatencyMicros(NetworkStackUtils.saturatedCast(mIpv6Watch.stop())); in setIPv6ProvisionedLatencyOnFirstTime()
/packages/modules/NetworkStack/src/android/net/util/
DNetworkStackUtils.java465 public static int saturatedCast(long value) { in saturatedCast() method in NetworkStackUtils