/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/ |
D | RouteUtils.java | 22 import android.net.INetd; 46 nextHop = INetd.NEXTHOP_NONE; in findNextHop() 50 nextHop = INetd.NEXTHOP_UNREACHABLE; in findNextHop() 53 nextHop = INetd.NEXTHOP_THROW; in findNextHop() 56 nextHop = INetd.NEXTHOP_NONE; in findNextHop() 63 public static void addRoutesToLocalNetwork(final INetd netd, final String iface, in addRoutesToLocalNetwork() 68 modifyRoute(netd, ModifyOperation.ADD, INetd.LOCAL_NET_ID, route); in addRoutesToLocalNetwork() 73 modifyRoute(netd, ModifyOperation.ADD, INetd.LOCAL_NET_ID, in addRoutesToLocalNetwork() 78 public static int removeRoutesFromLocalNetwork(final INetd netd, final List<RouteInfo> routes) { in removeRoutesFromLocalNetwork() 83 modifyRoute(netd, ModifyOperation.REMOVE, INetd.LOCAL_NET_ID, route); in removeRoutesFromLocalNetwork() [all …]
|
D | NetdUtils.java | 22 import android.net.INetd; 42 public static void tetherStart(final INetd netd, final boolean usingLegacyDnsProxy, in tetherStart() 51 public static void tetherInterface(final INetd netd, final String iface, final IpPrefix dest) in tetherInterface() 57 public static void tetherInterface(final INetd netd, final String iface, final IpPrefix dest, in tetherInterface() 74 private static void networkAddInterface(final INetd netd, final String iface, in networkAddInterface() 79 netd.networkAddInterface(INetd.LOCAL_NET_ID, iface); in networkAddInterface() 94 public static void untetherInterface(final INetd netd, String iface) in untetherInterface() 99 netd.networkRemoveInterface(INetd.LOCAL_NET_ID, iface); in untetherInterface()
|
D | ProvisioningConfiguration.java | 24 import android.net.INetd; 182 mConfig.mIPv6AddrGenMode = INetd.IPV6_ADDR_GEN_MODE_EUI64; in withRandomMacAddress() 190 mConfig.mIPv6AddrGenMode = INetd.IPV6_ADDR_GEN_MODE_STABLE_PRIVACY; in withStableMacAddress() 428 public int mIPv6AddrGenMode = INetd.IPV6_ADDR_GEN_MODE_STABLE_PRIVACY;
|
/packages/modules/DnsResolver/tests/ |
D | resolv_test_utils.h | 33 using INetd = aidl::android::net::INetd; variable 36 ScopeBlockedUIDRule(INetd* netSrv, uid_t testUid) in ScopeBlockedUIDRule() 43 EXPECT_TRUE(mNetSrv->firewallEnableChildChain(INetd::FIREWALL_CHAIN_STANDBY, true).isOk()); in ScopeBlockedUIDRule() 44 EXPECT_TRUE(mNetSrv->firewallSetUidRule(INetd::FIREWALL_CHAIN_STANDBY, mTestUid, in ScopeBlockedUIDRule() 45 INetd::FIREWALL_RULE_DENY) in ScopeBlockedUIDRule() 53 EXPECT_TRUE(mNetSrv->firewallSetUidRule(INetd::FIREWALL_CHAIN_STANDBY, mTestUid, in ~ScopeBlockedUIDRule() 54 INetd::FIREWALL_RULE_ALLOW) in ~ScopeBlockedUIDRule() 56 EXPECT_TRUE(mNetSrv->firewallEnableChildChain(INetd::FIREWALL_CHAIN_STANDBY, false).isOk()); in ~ScopeBlockedUIDRule() 60 INetd* mNetSrv;
|
D | resolv_integration_test.cpp | 87 using aidl::android::net::INetd; 4019 void expectDnsNetIdIsDefaultNetwork(INetd* netdService) { in expectDnsNetIdIsDefaultNetwork() 4025 void expectDnsNetIdWithVpn(INetd* netdService, unsigned vpnNetId, unsigned expectedNetId) { in expectDnsNetIdWithVpn() 4103 INetd* netdService = mDnsClient.netdService(); in TEST_F() 4145 INetd* netdService = mDnsClient.netdService(); in TEST_F() 5219 ScopedNetwork(unsigned netId, ConnectivityType type, INetd* netdSrv, in ScopedNetwork() 5247 INetd* mNetdSrv; 5288 if (auto r = mNetdSrv->networkCreatePhysical(mNetId, INetd::PERMISSION_SYSTEM); !r.isOk()) { in init()
|
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/ |
D | InterfaceController.java | 19 import static android.net.INetd.IF_STATE_DOWN; 20 import static android.net.INetd.IF_STATE_UP; 22 import android.net.INetd; 45 private final INetd mNetd; 48 public InterfaceController(String ifname, INetd netd, SharedLog log) { in InterfaceController()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpReachabilityMonitor.java | 26 import android.net.INetd; 192 private final INetd mNetd; 202 boolean usingMultinetworkPolicyTracker, final INetd netd) { 210 final IpConnectivityLog metricsLog, final INetd netd) { 462 for (int family : new Integer[]{INetd.IPV4, INetd.IPV6}) { 463 mNetd.setProcSysNet(family, INetd.NEIGH, mInterfaceParams.name, "retrans_time_ms", 465 mNetd.setProcSysNet(family, INetd.NEIGH, mInterfaceParams.name, "ucast_solicit",
|
D | IpClient.java | 29 import android.net.INetd; 459 private final INetd mNetd; 512 public INetd getNetd(Context context) { in getNetd() 513 return INetd.Stub.asInterface((IBinder) context.getSystemService(Context.NETD_SERVICE)); in getNetd()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/shared/ |
D | NetdUtilsTest.java | 19 import static android.net.INetd.LOCAL_NET_ID; 35 import android.net.INetd; 55 @Mock private INetd mNetd;
|
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/ |
D | TcpSocketTracker.java | 42 import android.net.INetd; 120 private final INetd mNetd; 599 public INetd getNetd() { in getNetd() 600 return INetd.Stub.asInterface( in getNetd()
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder_client_ndk.cpp | 35 using aidl::android::net::INetd; 194 auto ret = mNetdSrv->networkCreatePhysical(TEST_NETID, INetd::PERMISSION_NONE); in SetupOemNetwork() 221 mNetdSrv = INetd::fromBinder(netdBinder); in SetUp()
|
D | dns_responder_client_ndk.h | 118 aidl::android::net::INetd* netdService() const { return mNetdSrv.get(); } in netdService() 121 std::shared_ptr<aidl::android::net::INetd> mNetdSrv;
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | InterfaceControllerTest.java | 26 import android.net.INetd; 52 @Mock private INetd mNetd;
|
D | IpReachabilityMonitorTest.kt | 19 import android.net.INetd in <lambda>() 104 private val netd = mock(INetd::class.java)
|
D | IpClientTest.java | 43 import android.net.INetd; 114 @Mock private INetd mNetd;
|
/packages/modules/NetworkStack/src/com/android/server/ |
D | NetworkObserverRegistry.java | 20 import android.net.INetd; 52 public void register(@NonNull INetd netd) throws RemoteException { in register()
|
D | NetworkStackService.java | 31 import android.net.INetd; 189 private final INetd mNetd; 286 mNetd = INetd.Stub.asInterface( in NetworkStackConnector()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/ |
D | NetworkStackServiceTest.kt | 21 import android.net.INetd 86 private val netd = mock(INetd::class.java).apply { in <lambda>()
|
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
D | IpClientIntegrationTest.java | 90 import android.net.INetd; 212 @Spy private INetd mNetd; 304 public INetd getNetd(Context context) { in getNetd() 455 mNetd = spy(INetd.Stub.asInterface(netdIBinder)); 1394 mNetd.setProcSysNet(INetd.IPV6, INetd.CONF, mIfaceName, "router_solicitation_delay", "0"); 1395 mNetd.setProcSysNet(INetd.IPV6, INetd.CONF, mIfaceName, "dad_transmits", "0");
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/netlink/ |
D | TcpSocketTrackerTest.java | 43 import android.net.INetd; 211 @Mock private INetd mNetd;
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 105 import android.net.INetd; 239 private @Mock INetd mNetd;
|