Home
last modified time | relevance | path

Searched refs:netd (Results 1 – 12 of 12) sorted by relevance

/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/
DNetdUtils.java42 public static void tetherStart(final INetd netd, final boolean usingLegacyDnsProxy, in tetherStart() argument
47 netd.tetherStartWithConfiguration(config); in tetherStart()
51 public static void tetherInterface(final INetd netd, final String iface, final IpPrefix dest) in tetherInterface() argument
53 tetherInterface(netd, iface, dest, 20 /* maxAttempts */, 50 /* pollingIntervalMs */); in tetherInterface()
57 public static void tetherInterface(final INetd netd, final String iface, final IpPrefix dest, in tetherInterface() argument
60 netd.tetherInterfaceAdd(iface); in tetherInterface()
61 networkAddInterface(netd, iface, maxAttempts, pollingIntervalMs); in tetherInterface()
64 RouteUtils.addRoutesToLocalNetwork(netd, iface, routes); in tetherInterface()
74 private static void networkAddInterface(final INetd netd, final String iface, in networkAddInterface() argument
79 netd.networkAddInterface(INetd.LOCAL_NET_ID, iface); in networkAddInterface()
[all …]
DRouteUtils.java63 public static void addRoutesToLocalNetwork(final INetd netd, final String iface, in addRoutesToLocalNetwork() argument
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() argument
83 modifyRoute(netd, ModifyOperation.REMOVE, INetd.LOCAL_NET_ID, route); in removeRoutesFromLocalNetwork()
93 public static void modifyRoute(final INetd netd, final ModifyOperation op, final int netId, in modifyRoute() argument
102 netd.networkAddRoute(netId, ifName, dst, nextHop); in modifyRoute()
105 netd.networkRemoveRoute(netId, ifName, dst, nextHop); in modifyRoute()
/packages/modules/NetworkStack/src/android/net/ip/
DIpReachabilityMonitor.java202 boolean usingMultinetworkPolicyTracker, final INetd netd) {
204 Dependencies.makeDefault(context, ifParams.name), new IpConnectivityLog(), netd);
210 final IpConnectivityLog metricsLog, final INetd netd) {
221 mNetd = netd;
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/
DInterfaceController.java48 public InterfaceController(String ifname, INetd netd, SharedLog log) { in InterfaceController() argument
50 mNetd = netd; in InterfaceController()
/packages/modules/NetworkStack/src/com/android/server/
DNetworkObserverRegistry.java52 public void register(@NonNull INetd netd) throws RemoteException { in register() argument
53 netd.registerUnsolicitedEventListener(this); in register()
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpReachabilityMonitorTest.kt104 private val netd = mock(INetd::class.java) constant
187 netd)) in setUp()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/
DNetworkStackServiceTest.kt86 private val netd = mock(INetd::class.java).apply { in <lambda>() constant
91 doReturn(netd).`when`(this).queryLocalInterface(any()) in <lambda>()
/packages/modules/DnsResolver/
DOWNERS1 include platform/system/netd:/OWNERS
Dstats.proto30 // system/netd/resolv/include/netd_resolv/resolv.h
/packages/modules/Cronet/
DOWNERS1 include platform/system/netd:/OWNERS
/packages/services/Car/car_product/sepolicy/test/
Dhal_vehicle_default.te3 unix_socket_connect(hal_vehicle_default, fwmarkd, netd)
/packages/modules/DnsResolver/tests/
Dgolddata.proto123 // Values from system/netd/resolv/include/netd_resolv/resolv.h