Searched refs:oemNetId (Results 1 – 2 of 2) sorted by relevance
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder_client_ndk.cpp | 160 int DnsResponderClient::SetupOemNetwork(int oemNetId) { in SetupOemNetwork() argument 161 mNetdSrv->networkDestroy(oemNetId); in SetupOemNetwork() 162 mDnsResolvSrv->destroyNetworkCache(oemNetId); in SetupOemNetwork() 167 oemNetId, NativeNetworkType::PHYSICAL, INetd::PERMISSION_NONE, /*secure=*/false); in SetupOemNetwork() 173 ret = mNetdSrv->networkCreatePhysical(oemNetId, INetd::PERMISSION_NONE); in SetupOemNetwork() 177 fprintf(stderr, "Creating physical network %d failed, %s\n", oemNetId, ret.getMessage()); in SetupOemNetwork() 180 ret = mDnsResolvSrv->createNetworkCache(oemNetId); in SetupOemNetwork() 182 fprintf(stderr, "Creating network cache %d failed, %s\n", oemNetId, ret.getMessage()); in SetupOemNetwork() 185 setNetworkForProcess(oemNetId); in SetupOemNetwork() 186 if ((unsigned)oemNetId != getNetworkForProcess()) { in SetupOemNetwork() [all …]
|
D | dns_responder_client_ndk.h | 160 int SetupOemNetwork(int oemNetId); 161 int TearDownOemNetwork(int oemNetId);
|