Searched refs:dnsNetId (Results 1 – 5 of 5) sorted by relevance
/system/netd/client/ |
D | NetdClientTest.cpp | 55 unsigned dnsNetId = 0; in TEST() local 57 EXPECT_EQ(-EBADF, getNetworkForDnsInternal(invalidFd, &dnsNetId)); in TEST() 65 EXPECT_EQ(-EOPNOTSUPP, getNetworkForDnsInternal(clientFd.get(), &dnsNetId)); in TEST()
|
D | netdclient_priv.h | 20 int getNetworkForDnsInternal(int fd, unsigned* dnsNetId);
|
D | NetdClient.cpp | 501 extern "C" int getNetworkForDns(unsigned* dnsNetId) { in getNetworkForDns() argument 502 if (dnsNetId == nullptr) return -EFAULT; in getNetworkForDns() 508 return getNetworkForDnsInternal(fd, dnsNetId); in getNetworkForDns() 511 int getNetworkForDnsInternal(int fd, unsigned* dnsNetId) { in getNetworkForDnsInternal() argument 542 *dnsNetId = result; in getNetworkForDnsInternal()
|
/system/netd/include/ |
D | NetdClient.h | 61 int getNetworkForDns(unsigned* dnsNetId);
|
/system/netd/resolv/ |
D | resolver_test.cpp | 3388 unsigned dnsNetId = 0; in expectNetIdWithLocalNameserversFlag() local 3389 EXPECT_EQ(0, getNetworkForDns(&dnsNetId)); in expectNetIdWithLocalNameserversFlag() 3390 EXPECT_TRUE(checkAndClearUseLocalNameserversFlag(&dnsNetId)); in expectNetIdWithLocalNameserversFlag() 3391 EXPECT_EQ(netId, static_cast<unsigned>(dnsNetId)); in expectNetIdWithLocalNameserversFlag() 3395 unsigned dnsNetId = 0; in expectDnsNetIdEquals() local 3396 EXPECT_EQ(0, getNetworkForDns(&dnsNetId)); in expectDnsNetIdEquals() 3397 EXPECT_EQ(netId, static_cast<unsigned>(dnsNetId)); in expectDnsNetIdEquals()
|