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.java120 private static final int NETID_UNSET = 0; field in DnsResolver
207 ? network.getNetIdForResolv() : NETID_UNSET, query, query.length, flags); in rawQuery()
248 ? 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.java843 public static final int NETID_UNSET = 0; field in ConnectivityManager
5531 int netId = (network == null) ? NETID_UNSET : network.netId; in setProcessDefaultNetwork()
5534 if (netId != NETID_UNSET) { in setProcessDefaultNetwork()
5587 if (netId == NETID_UNSET) return null; in getProcessDefaultNetwork()
5629 (network == null) ? NETID_UNSET : network.getNetIdForResolv()); in setProcessDefaultNetworkForHostResolution()
/packages/modules/DnsResolver/include/netd_resolv/
Dresolv.h40 #define NETID_UNSET 0u macro
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp2395 ASSERT_EQ(0, setNetworkForResolv(NETID_UNSET)); in TEST_F()
4308 ~ScopedSetNetworkForResolv() { EXPECT_EQ(0, setNetworkForResolv(NETID_UNSET)); } in ~ScopedSetNetworkForResolv()
4392 setNetworkForProcess(NETID_UNSET); in TEST_F()
7602 ScopedSetNetworkForProcess scopedSetNetworkForProcess(NETID_UNSET); in TEST_F()
7605 ScopedPhysicalNetwork defaultNetwork{NETID_UNSET, "Default"}; in TEST_F()
7727 ScopedSetNetworkForProcess scopedSetNetworkForProcess(NETID_UNSET); in TEST_F()
7730 expectDnsWorksForUid(host_name, NETID_UNSET, TEST_UID, expectedDnsReply); in TEST_F()
7735 expectDnsWorksForUid(host_name, NETID_UNSET, TEST_UID, expectedDnsReply); in TEST_F()
7901 ScopedDefaultNetwork scopedDefaultNetwork(mDnsClient.netdService(), NETID_UNSET); in TEST_F()
7902 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/service-t/src/com/android/server/
DNsdService.java22 import static android.net.ConnectivityManager.NETID_UNSET;
1535 if (netId != NETID_UNSET && serviceHost != null) { in handleMDnsServiceEvent()
1757 case NETID_UNSET: in setServiceNetworkForCallback()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java188 private static final int NETID_UNSET = 0; field in Tethering
1896 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