Home
last modified time | relevance | path

Searched defs:netid (Results 1 – 16 of 16) sorted by relevance

/aosp12/frameworks/base/native/android/
H A Dnet.c30 static int getnetidfromhandle(net_handle_t handle, unsigned *netid) { in getnetidfromhandle()
45 static net_handle_t gethandlefromnetid(unsigned netid) { in gethandlefromnetid()
53 unsigned netid; in android_setsocknetwork() local
68 unsigned netid; in android_setprocnetwork() local
88 unsigned netid = getNetworkForProcess(); in android_getprocnetwork() local
94 unsigned netid; in android_setprocdns() local
114 unsigned netid; in android_getprocdns() local
128 unsigned netid; in android_getaddrinfofornetwork() local
139 unsigned netid; in android_res_nquery() local
153 unsigned netid; in android_res_nsend() local
/aosp12/packages/modules/DnsResolver/
H A Dres_cache.cpp1024 const unsigned netid; member
1482 bool resolv_has_nameservers(unsigned netid) { in resolv_has_nameservers()
1488 int resolv_create_cache_for_net(unsigned netid) { in resolv_create_cache_for_net()
1499 void resolv_delete_cache_for_net(unsigned netid) { in resolv_delete_cache_for_net()
1504 int resolv_flush_cache_for_net(unsigned netid) { in resolv_flush_cache_for_net()
1528 static Cache* find_named_cache_locked(unsigned netid) { in find_named_cache_locked()
1534 static NetConfig* find_netconfig_locked(unsigned netid) { in find_netconfig_locked()
1552 android::net::NetworkType resolv_get_network_types_for_net(unsigned netid) { in resolv_get_network_types_for_net()
1758 int android_net_res_stats_get_info_for_net(unsigned netid, int* nscount, in android_net_res_stats_get_info_for_net()
1875 bool has_named_cache(unsigned netid) { in has_named_cache()
[all …]
H A Dresolv_private.h130 unsigned netid; // NetId: cache key and socket mark member
H A DDnsProxyListener.cpp89 bool checkAndClearUseLocalNameserversFlag(unsigned* netid) { in checkAndClearUseLocalNameserversFlag()
309 uint32_t getDnsEventSubsamplingRate(int netid, int returnCode) { in getDnsEventSubsamplingRate()
H A Dgetaddrinfo.cpp1536 static struct addrinfo* getCustomHosts(const size_t netid, const char* _Nonnull name, in getCustomHosts()
1553 static bool files_getaddrinfo(const size_t netid, const char* name, const addrinfo* pai, in files_getaddrinfo()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DConfigurationMap.java109 public WifiConfiguration getForAllUsers(int netid) { in getForAllUsers()
113 public WifiConfiguration getForCurrentUser(int netid) { in getForCurrentUser()
/aosp12/bionic/libc/dns/resolv/
H A Dres_cache.c1289 unsigned netid; member
1404 _resolv_cache_query_failed( unsigned netid, in _resolv_cache_query_failed()
1674 _resolv_cache_lookup( unsigned netid, in _resolv_cache_lookup()
1764 _resolv_cache_add( unsigned netid, in _resolv_cache_add()
1878 _get_res_cache_for_net_locked(unsigned netid) in _get_res_cache_for_net_locked()
1898 _resolv_flush_cache_for_net(unsigned netid) in _resolv_flush_cache_for_net()
1909 _flush_cache_for_net_locked(unsigned netid) in _flush_cache_for_net_locked()
1921 void _resolv_delete_cache_for_net(unsigned netid) in _resolv_delete_cache_for_net()
1968 _find_named_cache_locked(unsigned netid) { in _find_named_cache_locked()
1978 _find_cache_info_locked(unsigned netid) in _find_cache_info_locked()
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/
H A DWifiAPITest.java42 private int netid; field in WifiAPITest
/aosp12/bionic/libc/dns/net/
H A Dgetnameinfo.c124 size_t hostlen, char* serv, size_t servlen, int flags, unsigned netid, in android_getnameinfofornet()
175 int flags, unsigned netid, unsigned mark) in getnameinfo_inet()
H A Dgethnamaddr.c800 unsigned netid = __netdClientDispatch.netIdForResolv(netcontext->app_netid); in gethostbyname_internal() local
909 unsigned netid = __netdClientDispatch.netIdForResolv(netcontext->app_netid); in android_gethostbyaddrfornetcontext_proxy_internal() local
1562 static struct android_net_context make_context(unsigned netid, unsigned mark) { in make_context()
1572 android_gethostbynamefornet(const char *name, int af, unsigned netid, unsigned mark) in android_gethostbynamefornet()
1601 android_gethostbyaddrfornet(const void *addr, socklen_t len, int af, unsigned netid, unsigned mark) in android_gethostbyaddrfornet()
H A Dgetaddrinfo.c408 const struct addrinfo *hints, struct addrinfo **res, unsigned netid) in android_getaddrinfo_proxy()
572 const struct addrinfo *hints, unsigned netid, unsigned mark, struct addrinfo **res) in android_getaddrinfofornet()
/aosp12/frameworks/base/core/java/android/net/metrics/
H A DIpConnectivityLog.java155 public boolean log(int netid, @NonNull int[] transports, @NonNull Event data) { in log()
/aosp12/bionic/libc/dns/include/
H A Dresolv_private.h143 unsigned netid; /* NetId: cache key and socket mark */ member
/aosp12/packages/modules/DnsResolver/tests/
H A Dresolv_cache_unit_test.cpp917 explicit ScopedCacheCreate(unsigned netid, const char* subsampling_map, in ScopedCacheCreate()
H A Dresolv_integration_test.cpp4155 bool checkAndClearUseLocalNameserversFlag(unsigned* netid) { in checkAndClearUseLocalNameserversFlag()
/aosp12/packages/modules/Connectivity/service/src/com/android/server/
H A DConnectivityService.java5128 int netid = nai.network.getNetId(); in handleReportNetworkConnectivity() local