Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/vcn/
DVcnGatewayConnectionConfig.java180 @NonNull long[] retryIntervalsMs, in VcnGatewayConnectionConfig() argument
185 mRetryIntervalsMs = retryIntervalsMs; in VcnGatewayConnectionConfig()
237 private static void validateRetryInterval(@Nullable long[] retryIntervalsMs) { in validateRetryInterval() argument
239 retryIntervalsMs != null in validateRetryInterval()
240 && retryIntervalsMs.length > 0 in validateRetryInterval()
241 && retryIntervalsMs.length <= MAX_RETRY_INTERVAL_COUNT, in validateRetryInterval()
244 final long repeatingInterval = retryIntervalsMs[retryIntervalsMs.length - 1]; in validateRetryInterval()
476 public Builder setRetryIntervalsMillis(@NonNull long[] retryIntervalsMs) { in setRetryIntervalsMillis() argument
477 validateRetryInterval(retryIntervalsMs); in setRetryIntervalsMillis()
479 mRetryIntervalsMs = retryIntervalsMs; in setRetryIntervalsMillis()
/frameworks/base/services/core/java/com/android/server/vcn/
DVcnGatewayConnection.java1960 final long[] retryIntervalsMs = mConnectionConfig.getRetryIntervalsMillis(); in getNextRetryIntervalsMs() local
1963 if (retryDelayIndex >= retryIntervalsMs.length) { in getNextRetryIntervalsMs()
1964 return retryIntervalsMs[retryIntervalsMs.length - 1]; in getNextRetryIntervalsMs()
1967 return retryIntervalsMs[retryDelayIndex]; in getNextRetryIntervalsMs()