/system/netd/server/ |
D | NetdHwService.cpp | 39 static INetd::StatusCode toHalStatus(int ret) { in toHalStatus() 42 return INetd::StatusCode::OK; in toHalStatus() 44 return INetd::StatusCode::INVALID_ARGUMENTS; in toHalStatus() 46 return INetd::StatusCode::ALREADY_EXISTS; in toHalStatus() 48 return INetd::StatusCode::NO_NETWORK; in toHalStatus() 50 return INetd::StatusCode::PERMISSION_DENIED; in toHalStatus() 53 return INetd::StatusCode::UNKNOWN_ERROR; in toHalStatus() 63 return INetd::registerAsService(); in start() 83 Return<INetd::StatusCode> NetdHwService::destroyOemNetwork(uint64_t netHandle) { in destroyOemNetwork() 87 return INetd::StatusCode::INVALID_ARGUMENTS; in destroyOemNetwork()
|
D | ResolverController.cpp | 256 using android::net::INetd; in getDnsInfo() 257 static_assert(ResolverStats::STATS_SUCCESSES == INetd::RESOLVER_STATS_SUCCESSES && in getDnsInfo() 258 ResolverStats::STATS_ERRORS == INetd::RESOLVER_STATS_ERRORS && in getDnsInfo() 259 ResolverStats::STATS_TIMEOUTS == INetd::RESOLVER_STATS_TIMEOUTS && in getDnsInfo() 260 ResolverStats::STATS_INTERNAL_ERRORS == INetd::RESOLVER_STATS_INTERNAL_ERRORS && in getDnsInfo() 261 ResolverStats::STATS_RTT_AVG == INetd::RESOLVER_STATS_RTT_AVG && in getDnsInfo() 262 ResolverStats::STATS_LAST_SAMPLE_TIME == INetd::RESOLVER_STATS_LAST_SAMPLE_TIME && in getDnsInfo() 263 ResolverStats::STATS_USABLE == INetd::RESOLVER_STATS_USABLE && in getDnsInfo() 264 ResolverStats::STATS_COUNT == INetd::RESOLVER_STATS_COUNT, in getDnsInfo() 326 using android::net::INetd; in setResolverConfiguration() [all …]
|
D | NetdHwService.h | 23 using android::system::net::netd::V1_0::INetd; 28 class NetdHwService : public INetd { 32 Return<INetd::StatusCode> destroyOemNetwork(uint64_t netHandle) override;
|
D | NetdNativeService.cpp | 246 return binder::Status::fromServiceSpecificError(INetd::PRIVATE_DNS_BAD_FINGERPRINT, in addPrivateDnsServer() 256 return binder::Status::fromServiceSpecificError(INetd::PRIVATE_DNS_BAD_FINGERPRINT, in addPrivateDnsServer() 263 if (err != INetd::PRIVATE_DNS_SUCCESS) { in addPrivateDnsServer() 273 if (err != INetd::PRIVATE_DNS_SUCCESS) { in removePrivateDnsServer() 320 case INetd::IPV4: in setProcSysNet() 323 case INetd::IPV6: in setProcSysNet() 332 case INetd::CONF: in setProcSysNet() 335 case INetd::NEIGH: in setProcSysNet()
|
D | InterfaceController.cpp | 43 using android::net::INetd; 272 case INetd::IPV6_ADDR_GEN_MODE_EUI64: in setIPv6AddrGenMode() 277 case INetd::IPV6_ADDR_GEN_MODE_STABLE_PRIVACY: { in setIPv6AddrGenMode() 280 case INetd::IPV6_ADDR_GEN_MODE_NONE: in setIPv6AddrGenMode() 281 case INetd::IPV6_ADDR_GEN_MODE_RANDOM: in setIPv6AddrGenMode()
|
D | Android.mk | 33 binder/android/net/INetd.aidl \
|
/system/hardware/interfaces/net/netd/1.0/vts/functional/ |
D | VtsHalNetNetdV1_0TargetTest.cpp | 23 using ::android::system::net::netd::V1_0::INetd; 30 netd = ::testing::VtsHalHidlTargetTestBase::getService<INetd>(); in SetUp() 34 sp<INetd> netd; 39 auto cb = [this](uint64_t netHandle, uint32_t packetMark, INetd::StatusCode status) { in TEST_F() 40 ASSERT_EQ(INetd::StatusCode::OK, status); in TEST_F() 44 Return<INetd::StatusCode> retStatus = netd->destroyOemNetwork(netHandle); in TEST_F() 45 ASSERT_EQ(INetd::StatusCode::OK, retStatus); in TEST_F() 56 Return<INetd::StatusCode> retStatus = netd->destroyOemNetwork(nh); in TEST_F() 57 ASSERT_EQ(INetd::StatusCode::INVALID_ARGUMENTS, retStatus); in TEST_F()
|
/system/netd/tests/ |
D | binder_test.cpp | 61 using android::net::INetd; 75 mNetd = interface_cast<INetd>(binder); in BinderTest() 97 sp<INetd> mNetd; 241 bool enableDataSaver(sp<INetd>& netd, bool enable) { in enableDataSaver() 602 { INetd::IPV4, INetd::CONF, sTun.name().c_str(), "arp_ignore", "1", 0 }, in TEST_F() 603 { -1, INetd::CONF, sTun.name().c_str(), "arp_ignore", "1", EAFNOSUPPORT }, in TEST_F() 604 { INetd::IPV4, -1, sTun.name().c_str(), "arp_ignore", "1", EINVAL }, in TEST_F() 605 { INetd::IPV4, INetd::CONF, "..", "conf/lo/arp_ignore", "1", EINVAL }, in TEST_F() 606 { INetd::IPV4, INetd::CONF, ".", "lo/arp_ignore", "1", EINVAL }, in TEST_F() 607 { INetd::IPV4, INetd::CONF, sTun.name().c_str(), "../all/arp_ignore", "1", EINVAL }, in TEST_F() [all …]
|
D | netd_test.cpp | 159 using android::net::INetd; in GetResolverInfo() 163 if (!rv.isOk() || params32.size() != INetd::RESOLVER_PARAMS_COUNT) { in GetResolverInfo() 168 params32[INetd::RESOLVER_PARAMS_SAMPLE_VALIDITY]), in GetResolverInfo() 170 params32[INetd::RESOLVER_PARAMS_SUCCESS_THRESHOLD]), in GetResolverInfo() 172 params32[INetd::RESOLVER_PARAMS_MIN_SAMPLES]), in GetResolverInfo() 174 params32[INetd::RESOLVER_PARAMS_MAX_SAMPLES]) in GetResolverInfo() 307 using android::net::INetd; in TEST_F() 309 INetd::RESOLVER_PARAMS_SAMPLE_VALIDITY, in TEST_F() 310 INetd::RESOLVER_PARAMS_SUCCESS_THRESHOLD, in TEST_F() 311 INetd::RESOLVER_PARAMS_MIN_SAMPLES, in TEST_F() [all …]
|
/system/hardware/interfaces/net/netd/1.0/ |
D | INetd.hal | 21 * loading an implementation of the INetd HAL. 23 interface INetd { 25 * Return values for INetd requests
|
D | Android.bp | 6 "INetd.hal", 30 "android/system/net/netd/1.0/INetd.h",
|
/system/hardware/interfaces/ |
D | current.txt | 10 2cfd7918acf09462fe8fe3f5608be2956c9f737c78d3bb3f176cc5531c09f5d6 android.system.net.netd@1.0::INetd
|
/system/netd/tests/dns_responder/ |
D | Android.mk | 40 ../../server/binder/android/net/INetd.aidl \
|
D | dns_responder_client.h | 50 android::sp<android::net::INetd> mNetdSrv = nullptr;
|
D | dns_responder_client.cpp | 183 mNetdSrv = android::interface_cast<android::net::INetd>(binder); in SetUp()
|
/system/netd/tests/benchmarks/ |
D | dns_benchmark.cpp | 116 android::sp<android::net::INetd> getNetd() const { in getNetd()
|
/system/netd/server/binder/android/net/ |
D | INetd.aidl | 22 interface INetd { interface
|
/system/sepolicy/private/ |
D | hwservice_contexts | 55 android.system.net.netd::INetd u:object_r:system_net_netd_hwservic…
|