Home
last modified time | relevance | path

Searched refs:NETID_UNSET (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/net/metrics/
DDefaultNetworkEvent.java19 import static android.net.ConnectivityManager.NETID_UNSET;
36 public int netId = NETID_UNSET;
/frameworks/base/services/core/java/com/android/server/connectivity/
DLingerMonitor.java41 import static android.net.ConnectivityManager.NETID_UNSET;
119 return NETID_UNSET; in getNotificationSource()
167 if (fromNetId != NETID_UNSET) { in maybeStopNotifying()
DVpn.java20 import static android.net.ConnectivityManager.NETID_UNSET;
844 return mNetworkAgent != null ? mNetworkAgent.netId : NETID_UNSET; in getNetId()
/frameworks/base/core/java/android/net/
DDnsResolver.java109 private static final int NETID_UNSET = 0; field in DnsResolver
196 ? network.getNetIdForResolv() : NETID_UNSET, query, query.length, flags); in rawQuery()
237 ? network.getNetIdForResolv() : NETID_UNSET, domain, nsClass, nsType, flags); in rawQuery()
DConnectivityManager.java747 public static final int NETID_UNSET = 0; field in ConnectivityManager
4291 int netId = (network == null) ? NETID_UNSET : network.netId; in setProcessDefaultNetwork()
4294 if (netId != NETID_UNSET) { in setProcessDefaultNetwork()
4347 if (netId == NETID_UNSET) return null; in getProcessDefaultNetwork()
4389 (network == null) ? NETID_UNSET : network.getNetIdForResolv()); in setProcessDefaultNetworkForHostResolution()
/frameworks/base/core/tests/coretests/src/android/net/
DSntpClientTest.java77 mNetwork = new Network(ConnectivityManager.NETID_UNSET); in setUp()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1089 int netId = (network != null) ? network.netId : ConnectivityManager.NETID_UNSET; in setDnsForwarders()
DConnectivityService.java22 import static android.net.ConnectivityManager.NETID_UNSET;
1343 int vpnNetId = NETID_UNSET; in getActiveNetworkForUidInternal()
1351 if (vpnNetId != NETID_UNSET) { in getActiveNetworkForUidInternal()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java23 import static android.net.ConnectivityManager.NETID_UNSET;
1018 return NETID_UNSET; in getNetId()