Searched refs:linger (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/java/android/net/
H A DLocalSocketImpl.java468 StructLinger linger=
470 if (!linger.isOn()) {
473 toReturn = linger.l_linger;
515 StructLinger linger = new StructLinger(boolValue, intValue);
516 Os.setsockoptLinger(fd, OsConstants.SOL_SOCKET, OsConstants.SO_LINGER, linger);
/frameworks/base/libs/common_time/
H A Ddiag_thread.cpp134 struct linger l;
149 struct linger l;
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkAgentInfo.java114 // the network is no longer considered "lingering". After the linger timer expires, if the network
161 // either the linger timeout expiring and the network being taken down, or the network
197 // All linger timers for this network, sorted by expiry time. A linger timer is added whenever
209 // When the timer fires, all linger state is cleared, and if the network has no requests, it is
213 // Linger expiry. Holds the expiry time of the linger timer, or 0 if the timer is not armed.
218 // (Example: we don't linger a network if it would become the best for a NetworkRequest if it
465 * Sets the specified request to linger on this network for the specified time. Called by
471 // re-linger it unless that network becomes the best for that request again, in which
527 public void linger() { method in class:NetworkAgentInfo
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DConnectivityService.java199 // Default to 30s linger time-out. Modifiable only for testing.
200 private static final String LINGER_DELAY_PROPERTY = "persist.netmon.linger";
2195 // 1. Update the linger timer. If it's changed, reschedule or cancel the alarm.
2207 nai.linger();
4703 // If we get here it means that the last linger timeout for this network expired. So there
4704 // must be no other active linger timers, and we must stop lingering.
5010 // This network has active linger timers and no requests, but is not

Completed in 105 milliseconds