Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DLingerMonitor.java19 import static android.net.ConnectivityManager.NETID_UNSET;
125 return NETID_UNSET; in getNotificationSource()
175 if (fromNetId != NETID_UNSET) { in maybeStopNotifying()
/packages/modules/Connectivity/framework/src/android/net/
DDnsResolver.java111 private static final int NETID_UNSET = 0; field in DnsResolver
198 ? network.getNetIdForResolv() : NETID_UNSET, query, query.length, flags); in rawQuery()
239 ? network.getNetIdForResolv() : NETID_UNSET, domain, nsClass, nsType, flags); in rawQuery()
DNetworkUtils.java19 import static android.net.ConnectivityManager.NETID_UNSET;
85 return netHandle == 0L ? NETID_UNSET : Network.fromNetworkHandle(netHandle).getNetId(); in getBoundNetworkForProcess()
DConnectivityManager.java816 public static final int NETID_UNSET = 0; field in ConnectivityManager
4930 int netId = (network == null) ? NETID_UNSET : network.netId; in setProcessDefaultNetwork()
4933 if (netId != NETID_UNSET) { in setProcessDefaultNetwork()
4986 if (netId == NETID_UNSET) return null; in getProcessDefaultNetwork()
5028 (network == null) ? NETID_UNSET : network.getNetIdForResolv()); in setProcessDefaultNetworkForHostResolution()
/packages/modules/DnsResolver/include/netd_resolv/
Dresolv.h38 #define NETID_UNSET 0u macro
/packages/modules/DnsResolver/
Dgetaddrinfo.cpp265 .app_netid = NETID_UNSET, in getaddrinfo_numeric()
267 .dns_netid = NETID_UNSET, in getaddrinfo_numeric()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java178 private static final int NETID_UNSET = 0; field in Tethering
1723 final int netId = (network != null) ? network.getNetId() : NETID_UNSET; in setDnsForwarders()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp2181 ASSERT_EQ(0, setNetworkForResolv(NETID_UNSET)); in TEST_F()
4129 ~ScopedSetNetworkForResolv() { EXPECT_EQ(0, setNetworkForResolv(NETID_UNSET)); } in ~ScopedSetNetworkForResolv()
4213 setNetworkForProcess(NETID_UNSET); in TEST_F()
6565 ScopedSetNetworkForProcess scopedSetNetworkForProcess(NETID_UNSET); in TEST_F()
6577 ScopedPhysicalNetwork defaultNetwork{NETID_UNSET, "Default"}; in TEST_F()
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt113 Landroid/net/ConnectivityManager;->NETID_UNSET:I