Home
last modified time | relevance | path

Searched defs:netId (Results 1 – 25 of 35) sorted by relevance

12

/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/1/android/net/
DIDnsResolver.aidl6 …void getResolverInfo(int netId, out @utf8InCpp String[] servers, out @utf8InCpp String[] domains, … in getResolverInfo()
7 void startPrefix64Discovery(int netId); in startPrefix64Discovery()
8 void stopPrefix64Discovery(int netId); in stopPrefix64Discovery()
9 @utf8InCpp String getPrefix64(int netId); in getPrefix64()
10 void createNetworkCache(int netId); in createNetworkCache()
11 void destroyNetworkCache(int netId); in destroyNetworkCache()
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/5/android/net/
DIDnsResolver.aidl24 …void getResolverInfo(int netId, out @utf8InCpp String[] servers, out @utf8InCpp String[] domains, … in getResolverInfo()
25 void startPrefix64Discovery(int netId); in startPrefix64Discovery()
26 void stopPrefix64Discovery(int netId); in stopPrefix64Discovery()
27 @utf8InCpp String getPrefix64(int netId); in getPrefix64()
28 void createNetworkCache(int netId); in createNetworkCache()
29 void destroyNetworkCache(int netId); in destroyNetworkCache()
31 void flushNetworkCache(int netId); in flushNetworkCache()
32 void setPrefix64(int netId, @utf8InCpp String prefix); in setPrefix64()
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/current/android/net/
DIDnsResolver.aidl24 …void getResolverInfo(int netId, out @utf8InCpp String[] servers, out @utf8InCpp String[] domains, … in getResolverInfo()
25 void startPrefix64Discovery(int netId); in startPrefix64Discovery()
26 void stopPrefix64Discovery(int netId); in stopPrefix64Discovery()
27 @utf8InCpp String getPrefix64(int netId); in getPrefix64()
28 void createNetworkCache(int netId); in createNetworkCache()
29 void destroyNetworkCache(int netId); in destroyNetworkCache()
31 void flushNetworkCache(int netId); in flushNetworkCache()
32 void setPrefix64(int netId, @utf8InCpp String prefix); in setPrefix64()
/packages/modules/DnsResolver/binder/android/net/
DIDnsResolver.aidl100 void getResolverInfo(int netId, out @utf8InCpp String[] servers, in getResolverInfo()
109 void startPrefix64Discovery(int netId); in startPrefix64Discovery()
116 void stopPrefix64Discovery(int netId); in stopPrefix64Discovery()
130 @utf8InCpp String getPrefix64(int netId); in getPrefix64()
139 void createNetworkCache(int netId); in createNetworkCache()
146 void destroyNetworkCache(int netId); in destroyNetworkCache()
172 void flushNetworkCache(int netId); in flushNetworkCache()
216 void setPrefix64(int netId, @utf8InCpp String prefix); in setPrefix64()
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/6/android/net/
DIDnsResolver.aidl24 …void getResolverInfo(int netId, out @utf8InCpp String[] servers, out @utf8InCpp String[] domains, … in getResolverInfo()
25 void startPrefix64Discovery(int netId); in startPrefix64Discovery()
26 void stopPrefix64Discovery(int netId); in stopPrefix64Discovery()
27 @utf8InCpp String getPrefix64(int netId); in getPrefix64()
28 void createNetworkCache(int netId); in createNetworkCache()
29 void destroyNetworkCache(int netId); in destroyNetworkCache()
31 void flushNetworkCache(int netId); in flushNetworkCache()
32 void setPrefix64(int netId, @utf8InCpp String prefix); in setPrefix64()
/packages/modules/DnsResolver/
DDnsResolverService.cpp115 for (auto netId : resolv_list_caches()) { in dump() local
207 int32_t netId, std::vector<std::string>* servers, std::vector<std::string>* domains, in getResolverInfo()
219 ::ndk::ScopedAStatus DnsResolverService::startPrefix64Discovery(int32_t netId) { in startPrefix64Discovery()
228 ::ndk::ScopedAStatus DnsResolverService::stopPrefix64Discovery(int32_t netId) { in stopPrefix64Discovery()
237 ::ndk::ScopedAStatus DnsResolverService::getPrefix64(int netId, std::string* stringPrefix) { in getPrefix64()
247 ::ndk::ScopedAStatus DnsResolverService::setPrefix64(int netId, const std::string& stringPrefix) { in setPrefix64()
270 ::ndk::ScopedAStatus DnsResolverService::destroyNetworkCache(int netId) { in destroyNetworkCache()
279 ::ndk::ScopedAStatus DnsResolverService::createNetworkCache(int netId) { in createNetworkCache()
288 ::ndk::ScopedAStatus DnsResolverService::flushNetworkCache(int netId) { in flushNetworkCache()
DResolverController.h57 int setPrefix64(unsigned netId, const netdutils::IPPrefix& prefix) { in setPrefix64()
61 int clearPrefix64(unsigned netId) { return mDns64Configuration.clearPrefix64(netId); } in clearPrefix64()
DResolverController.cpp95 int getDnsInfo(unsigned netId, std::vector<std::string>* servers, std::vector<std::string>* domains, in getDnsInfo()
177 [](uint32_t netId, uint32_t uid, android_net_context* netcontext) { in ResolverController()
182 void ResolverController::destroyNetworkCache(unsigned netId) { in destroyNetworkCache()
190 int ResolverController::createNetworkCache(unsigned netId) { in createNetworkCache()
196 int ResolverController::flushNetworkCache(unsigned netId) { in flushNetworkCache()
239 int ResolverController::getResolverInfo(int32_t netId, std::vector<std::string>* servers, in getResolverInfo()
272 void ResolverController::startPrefix64Discovery(int32_t netId) { in startPrefix64Discovery()
276 void ResolverController::stopPrefix64Discovery(int32_t netId) { in stopPrefix64Discovery()
281 int ResolverController::getPrefix64(unsigned netId, netdutils::IPPrefix* prefix) { in getPrefix64()
292 void ResolverController::dump(DumpWriter& dw, unsigned netId) { in dump()
DDns64Configuration.cpp53 void Dns64Configuration::startPrefixDiscovery(unsigned netId) { in startPrefixDiscovery()
108 void Dns64Configuration::stopPrefixDiscovery(unsigned netId) { in stopPrefixDiscovery()
126 void Dns64Configuration::dump(DumpWriter& dw, unsigned netId) { in dump()
202 bool Dns64Configuration::reportNat64PrefixStatus(unsigned netId, bool added, const IPPrefix& pfx) { in reportNat64PrefixStatus()
218 void Dns64Configuration::removeDns64Config(unsigned netId) REQUIRES(mMutex) { in removeDns64Config()
241 int Dns64Configuration::setPrefix64(unsigned netId, const IPPrefix& pfx) { in setPrefix64()
265 int Dns64Configuration::clearPrefix64(unsigned netId) { in clearPrefix64()
DPrivateDnsConfiguration.cpp75 int PrivateDnsConfiguration::set(int32_t netId, uint32_t mark, in set()
146 PrivateDnsStatus PrivateDnsConfiguration::getStatus(unsigned netId) { in getStatus()
164 void PrivateDnsConfiguration::clear(unsigned netId) { in clear()
173 PrivateDnsTracker& tracker, unsigned netId, in validatePrivateDnsProvider()
229 bool PrivateDnsConfiguration::recordPrivateDnsValidation(const DnsTlsServer& server, unsigned netId, in recordPrivateDnsValidation()
299 bool PrivateDnsConfiguration::needValidateThread(const DnsTlsServer& server, unsigned netId) in needValidateThread()
328 unsigned netId) { in cleanValidateThreadTracker()
DDns64Configuration.h55 unsigned netId; member
98 const unsigned int netId; member
Dresolv_cache_unit_test.cpp157 [[nodiscard]] bool cacheLookup(ResolvCacheStatus expectedCacheStatus, uint32_t netId, in cacheLookup()
179 int cacheCreate(uint32_t netId) { in cacheCreate()
183 void cacheDelete(uint32_t netId) { in cacheDelete()
187 int cacheAdd(uint32_t netId, const CacheEntry& ce) { in cacheAdd()
192 int cacheAdd(uint32_t netId, const std::vector<char>& query, const std::vector<char>& answer) { in cacheAdd()
196 int cacheGetExpiration(uint32_t netId, const std::vector<char>& query, time_t* expiration) { in cacheGetExpiration()
200 void cacheQueryFailed(uint32_t netId, const CacheEntry& ce, uint32_t flags) { in cacheQueryFailed()
204 int cacheSetupResolver(uint32_t netId, const SetupParams& setup) { in cacheSetupResolver()
209 void cacheAddStats(uint32_t netId, int revision_id, const IPSockAddr& ipsa, in cacheAddStats()
214 int cacheFlush(uint32_t netId) { return resolv_flush_cache_for_net(netId); } in cacheFlush()
[all …]
DDnsQueryLog.h43 const uint32_t netId; member
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/2/android/net/
DIDnsResolver.aidl23 …void getResolverInfo(int netId, out @utf8InCpp String[] servers, out @utf8InCpp String[] domains, … in getResolverInfo()
24 void startPrefix64Discovery(int netId); in startPrefix64Discovery()
25 void stopPrefix64Discovery(int netId); in stopPrefix64Discovery()
26 @utf8InCpp String getPrefix64(int netId); in getPrefix64()
27 void createNetworkCache(int netId); in createNetworkCache()
28 void destroyNetworkCache(int netId); in destroyNetworkCache()
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/3/android/net/
DIDnsResolver.aidl6 …void getResolverInfo(int netId, out @utf8InCpp String[] servers, out @utf8InCpp String[] domains, … in getResolverInfo()
7 void startPrefix64Discovery(int netId); in startPrefix64Discovery()
8 void stopPrefix64Discovery(int netId); in stopPrefix64Discovery()
9 @utf8InCpp String getPrefix64(int netId); in getPrefix64()
10 void createNetworkCache(int netId); in createNetworkCache()
11 void destroyNetworkCache(int netId); in destroyNetworkCache()
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/4/android/net/
DIDnsResolver.aidl24 …void getResolverInfo(int netId, out @utf8InCpp String[] servers, out @utf8InCpp String[] domains, … in getResolverInfo()
25 void startPrefix64Discovery(int netId); in startPrefix64Discovery()
26 void stopPrefix64Discovery(int netId); in stopPrefix64Discovery()
27 @utf8InCpp String getPrefix64(int netId); in getPrefix64()
28 void createNetworkCache(int netId); in createNetworkCache()
29 void destroyNetworkCache(int netId); in destroyNetworkCache()
31 void flushNetworkCache(int netId); in flushNetworkCache()
/packages/modules/DnsResolver/tests/dns_metrics_listener/
Ddns_metrics_listener.h43 int32_t netId; member
57 DnsMetricsListener(int32_t netId) : mNetId(netId){}; in DnsMetricsListener()
Ddns_metrics_listener.cpp46 ::ndk::ScopedAStatus DnsMetricsListener::onNat64PrefixEvent(int32_t netId, bool added, in onNat64PrefixEvent() argument
56 int32_t netId, const std::string& ipAddress, const std::string& /*hostname*/, in onPrivateDnsValidationEvent()
67 ::ndk::ScopedAStatus DnsMetricsListener::onDnsEvent(int32_t netId, int32_t eventType, in onDnsEvent() argument
Dtest_metrics.cpp36 ::ndk::ScopedAStatus TestOnDnsEvent::onDnsEvent(int32_t netId, int32_t eventType, in onDnsEvent() argument
Dtest_metrics.h71 int netId; member
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DAddWifiNetworkTask.java133 int netId = tryAddingNetwork(wifiConf); in connectToProvidedNetwork() local
159 int netId = mWifiManager.addNetwork(wifiConf); in tryAddingNetwork() local
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DNetworkPasswordPreferenceController.java100 int netId = WifiUtil.connectToAccessPoint(getContext(), mNetworkName, mSecurityType, in handlePreferenceChanged() local
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowWifiManager.java61 protected void forget(int netId, WifiManager.ActionListener listener) { in forget()
/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/
DRouteUtils.java93 public static void modifyRoute(final INetd netd, final ModifyOperation op, final int netId, in modifyRoute()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.cpp58 int netId, const std::vector<int>& params, const std::vector<std::string>& servers, in makeResolverParamsParcel()
94 unsigned netId, std::vector<std::string>* servers, in GetResolverInfo()

12