Home
last modified time | relevance | path

Searched refs:mStatsBuilder (Results 1 – 2 of 2) sorted by relevance

/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DIpProvisioningMetrics.java39 private final NetworkIpProvisioningReported.Builder mStatsBuilder = field in IpProvisioningMetrics
54 mStatsBuilder.clear(); in reset()
72 if (isIpv4Provisioned && !mStatsBuilder.hasIpv4LatencyMicros()) { in setIPv4ProvisionedLatencyOnFirstTime()
73 mStatsBuilder.setIpv4LatencyMicros(NetworkStackUtils.saturatedCast(mIpv4Watch.stop())); in setIPv4ProvisionedLatencyOnFirstTime()
81 if (isIpv6Provisioned && !mStatsBuilder.hasIpv6LatencyMicros()) { in setIPv6ProvisionedLatencyOnFirstTime()
82 mStatsBuilder.setIpv6LatencyMicros(NetworkStackUtils.saturatedCast(mIpv6Watch.stop())); in setIPv6ProvisionedLatencyOnFirstTime()
144 if (mStatsBuilder.hasDisconnectCode()) return; in setDisconnectCode()
145 mStatsBuilder.setDisconnectCode(disconnectCode); in setDisconnectCode()
156 mStatsBuilder.setDhcpSession(mDhcpSessionBuilder); in statsWrite()
157 mStatsBuilder.setProvisioningDurationMicros(mWatch.stop()); in statsWrite()
[all …]
DNetworkValidationMetrics.java53 private final NetworkValidationReported.Builder mStatsBuilder = field in NetworkValidationMetrics
68 mStatsBuilder.clear(); in startCollection()
72 mStatsBuilder.setTransportType(getTransportTypeFromNC(nc)); in startCollection()
225 mStatsBuilder.setValidationResult(validationResultToEnum(result, redirectUrl)); in setValidationResult()
236 mStatsBuilder.setProbeEvents(mProbeEventsBuilder); in maybeStopCollectionAndSend()
237 mStatsBuilder.setLatencyMicros(NetworkStackUtils.saturatedCast(mWatch.stop())); in maybeStopCollectionAndSend()
238 mStatsBuilder.setValidationIndex(mValidationIndex); in maybeStopCollectionAndSend()
240 mStatsBuilder.setRandomNumber((int) (Math.random() * 1000)); in maybeStopCollectionAndSend()
241 final NetworkValidationReported stats = mStatsBuilder.build(); in maybeStopCollectionAndSend()