Home
last modified time | relevance | path

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

/packages/modules/Connectivity/framework-t/src/android/net/nsd/
DMDnsManager.java42 private static final int NETID_UNSET = 0; field in MDnsManager
105 registrationType, "" /* domainName */, interfaceIdx, NETID_UNSET); in discover()
149 "" /* address */, interfaceIdx, NETID_UNSET); in getServiceAddress()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DLingerMonitor.java19 import static android.net.ConnectivityManager.NETID_UNSET;
124 return NETID_UNSET; in getNotificationSource()
174 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.java821 public static final int NETID_UNSET = 0; field in ConnectivityManager
5328 int netId = (network == null) ? NETID_UNSET : network.netId; in setProcessDefaultNetwork()
5331 if (netId != NETID_UNSET) { in setProcessDefaultNetwork()
5384 if (netId == NETID_UNSET) return null; in getProcessDefaultNetwork()
5426 (network == null) ? NETID_UNSET : network.getNetIdForResolv()); in setProcessDefaultNetworkForHostResolution()
/packages/modules/DnsResolver/include/netd_resolv/
Dresolv.h39 #define NETID_UNSET 0u macro
/packages/modules/Connectivity/service-t/src/com/android/server/
DNsdService.java19 import static android.net.ConnectivityManager.NETID_UNSET;
1107 if (netId != NETID_UNSET && serviceHost != null) { in handleMDnsServiceEvent()
1290 case NETID_UNSET: in setServiceNetworkForCallback()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp2384 ASSERT_EQ(0, setNetworkForResolv(NETID_UNSET)); in TEST_F()
4305 ~ScopedSetNetworkForResolv() { EXPECT_EQ(0, setNetworkForResolv(NETID_UNSET)); } in ~ScopedSetNetworkForResolv()
4389 setNetworkForProcess(NETID_UNSET); in TEST_F()
7598 ScopedSetNetworkForProcess scopedSetNetworkForProcess(NETID_UNSET); in TEST_F()
7601 ScopedPhysicalNetwork defaultNetwork{NETID_UNSET, "Default"}; in TEST_F()
7723 ScopedSetNetworkForProcess scopedSetNetworkForProcess(NETID_UNSET); in TEST_F()
7726 expectDnsWorksForUid(host_name, NETID_UNSET, TEST_UID, expectedDnsReply); in TEST_F()
7731 expectDnsWorksForUid(host_name, NETID_UNSET, TEST_UID, expectedDnsReply); in TEST_F()
7946 ScopedDefaultNetwork scopedDefaultNetwork(mDnsClient.netdService(), NETID_UNSET); in TEST_F()
7947 ScopedSetNetworkForProcess scopedSetNetworkForProcess(NETID_UNSET); in TEST_F()
[all …]
/packages/modules/DnsResolver/
Dgetaddrinfo.cpp250 .app_netid = NETID_UNSET, in getaddrinfo_numeric()
252 .dns_netid = NETID_UNSET, in getaddrinfo_numeric()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java187 private static final int NETID_UNSET = 0; field in Tethering
1897 final int netId = (network != null) ? network.getNetId() : NETID_UNSET; in setDnsForwarders()
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt113 Landroid/net/ConnectivityManager;->NETID_UNSET:I