/packages/modules/NetworkStack/common/moduleutils/src/android/net/util/ |
D | InterfaceParams.java | 36 public class InterfaceParams { class 48 public static InterfaceParams getByName(String name) { in getByName() 56 return new InterfaceParams(name, netif.getIndex(), macAddr, netif.getMTU()); in getByName() 62 public InterfaceParams(String name, int index, MacAddress macAddr) { in InterfaceParams() method in InterfaceParams 66 public InterfaceParams(String name, int index, MacAddress macAddr, int defaultMtu) { in InterfaceParams() method in InterfaceParams
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | BpfUtils.java | 21 import android.net.util.InterfaceParams; 76 final InterfaceParams params = InterfaceParams.getByName(iface); in attachProgram() 115 final InterfaceParams params = InterfaceParams.getByName(iface); in detachProgram()
|
D | BpfCoordinator.java | 49 import android.net.util.InterfaceParams; 283 @NonNull public InterfaceParams getInterfaceParams(String ifName) { in getInterfaceParams() 284 return InterfaceParams.getByName(ifName); in getInterfaceParams() 840 final InterfaceParams params = mDeps.getInterfaceParams(ifaceName); in updateUpstreamNetworkState()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/util/ |
D | InterfaceParamsTest.java | 38 assertNull(InterfaceParams.getByName(null)); in testNullInterfaceReturnsNull() 43 assertNull(InterfaceParams.getByName("doesnotexist0")); in testNonExistentInterfaceReturnsNull() 48 final InterfaceParams ifParams = InterfaceParams.getByName("lo"); in testLoopback()
|
/packages/modules/Connectivity/Tethering/src/android/net/ip/ |
D | NeighborPacketForwarder.java | 27 import android.net.util.InterfaceParams; 65 private InterfaceParams mListenIfaceParams, mSendIfaceParams; 71 public NeighborPacketForwarder(Handler h, InterfaceParams tetheredInterface, int type) { in NeighborPacketForwarder() 85 public void setUpstreamIface(InterfaceParams upstreamParams) { in setUpstreamIface() 86 final InterfaceParams oldUpstreamParams; in setUpstreamIface()
|
D | DadProxy.java | 19 import android.net.util.InterfaceParams; 36 public DadProxy(Handler h, InterfaceParams tetheredIface) { in DadProxy() 50 public void setUpstreamIface(InterfaceParams upstreamIface) { in setUpstreamIface()
|
D | IpServer.java | 51 import android.net.util.InterfaceParams; 169 public DadProxy getDadProxy(Handler handler, InterfaceParams ifParams) { in getDadProxy() 180 public RouterAdvertisementDaemon getRouterAdvertisementDaemon(InterfaceParams ifParams) { in getRouterAdvertisementDaemon() 185 public InterfaceParams getInterfaceParams(String ifName) { in getInterfaceParams() 186 return InterfaceParams.getByName(ifName); in getInterfaceParams() 250 private InterfaceParams mInterfaceParams; 720 InterfaceParams upstreamIfaceParams = null; in updateUpstreamIPv6LinkProperties() 1377 final InterfaceParams upstreamIfaceParams = in processMessage()
|
D | RouterAdvertisementDaemon.java | 40 import android.net.util.InterfaceParams; 106 private final InterfaceParams mInterface; 250 public RouterAdvertisementDaemon(InterfaceParams ifParams) { in RouterAdvertisementDaemon()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | ConnectivityPacketTracker.java | 27 import android.net.util.InterfaceParams; 80 public ConnectivityPacketTracker(Handler h, InterfaceParams ifParams, LocalLog log) { in ConnectivityPacketTracker() 101 private final InterfaceParams mInterface; 103 PacketListener(Handler h, InterfaceParams ifParams) { in PacketListener()
|
D | IpReachabilityMonitor.java | 34 import android.net.util.InterfaceParams; 183 private final InterfaceParams mInterfaceParams; 201 Context context, InterfaceParams ifParams, Handler h, SharedLog log, Callback callback, 208 IpReachabilityMonitor(Context context, InterfaceParams ifParams, Handler h, SharedLog log,
|
D | IpClient.java | 67 import android.net.util.InterfaceParams; 515 private InterfaceParams mInterfaceParams; 547 public InterfaceParams getInterfaceParams(String ifname) { in getInterfaceParams() 548 return InterfaceParams.getByName(ifname); in getInterfaceParams() 570 InterfaceParams ifParams, DhcpClient.Dependencies deps) { in makeDhcpClient() 617 InterfaceParams ifParams, IpClientCallbacksWrapper cb) { in maybeCreateApfFilter() 1814 InterfaceParams params = mDependencies.getInterfaceParams(mInterfaceName); in maybeRestoreInterfaceMtu()
|
D | IpClientLinkObserver.java | 34 import android.net.util.InterfaceParams; 292 public void setInterfaceParams(InterfaceParams params) { in setInterfaceParams()
|
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/ |
D | DadProxyTest.java | 32 import android.net.util.InterfaceParams; 71 private InterfaceParams mUpstreamParams, mTetheredParams; 126 mUpstreamParams = InterfaceParams.getByName(upstreamIface); in setupTapInterfaces() 133 mTetheredParams = InterfaceParams.getByName(tetheredIface); in setupTapInterfaces() 239 private void updateSrcMac(ByteBuffer buf, InterfaceParams ifaceParams) { in updateSrcMac()
|
D | RouterAdvertisementDaemonTest.java | 48 import android.net.util.InterfaceParams; 96 private InterfaceParams mTetheredParams; 145 mTetheredParams = InterfaceParams.getByName(mTetheredReader.iface.getInterfaceName()); in setupTapInterfaces()
|
/packages/modules/NetworkStack/common/moduleutils/ |
D | Android.bp | 31 "src/android/net/util/InterfaceParams.java", 59 "src/android/net/util/InterfaceParams.java",
|
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 87 import android.net.util.InterfaceParams; 158 private static final InterfaceParams TEST_IFACE_PARAMS = new InterfaceParams( 160 private static final InterfaceParams UPSTREAM_IFACE_PARAMS = new InterfaceParams( 162 private static final InterfaceParams UPSTREAM_IFACE_PARAMS2 = new InterfaceParams( 165 private static final InterfaceParams IPSEC_IFACE_PARAMS = new InterfaceParams(
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpReachabilityMonitorTest.kt | 29 import android.net.util.InterfaceParams in <lambda>() 76 private val TEST_IFACE = InterfaceParams("fake0", 21, null) in <lambda>()
|
D | IpClientTest.java | 59 import android.net.util.InterfaceParams; 136 @Mock private InterfaceParams mInterfaceParams; 140 private InterfaceParams mIfParams; 164 ? new InterfaceParams(ifname, TEST_IFINDEX, TEST_MAC) in setTestInterfaceParams()
|
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 120 import android.net.util.InterfaceParams; 378 public InterfaceParams getInterfaceParams(String ifname) { in getInterfaceParams() 380 ? new InterfaceParams(ifname, 1 /* index */, in getInterfaceParams() 398 InterfaceParams ifParams, DhcpClient.Dependencies deps) { in makeDhcpClient() 1205 InterfaceParams params = InterfaceParams.getByName(mIfaceName); 1213 params = InterfaceParams.getByName("lo"); 1451 assertNull(InterfaceParams.getByName(mIfaceName));
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 76 import android.net.util.InterfaceParams; 343 private InterfaceParams mIface; 531 Context context, StateMachine controller, InterfaceParams ifParams, in makeDhcpClient() 595 if (mIface == null) mIface = InterfaceParams.getByName(mIfaceName); in initInterface()
|
/packages/modules/NetworkStack/src/android/net/apf/ |
D | ApfFilter.java | 52 import android.net.util.InterfaceParams; 347 private final InterfaceParams mInterfaceParams; 389 ApfFilter(Context context, ApfConfiguration config, InterfaceParams ifParams, in ApfFilter() 1790 InterfaceParams ifParams, IpClientCallbacksWrapper ipClientCallback) { in maybeCreate()
|
/packages/modules/NetworkStack/tests/integration/src/android/net/util/ |
D | NetworkStackUtilsIntegrationTest.kt | 148 val ifParams = InterfaceParams.getByName(iface.interfaceName) in testAttachRaFilter()
|
/packages/modules/Connectivity/service/ |
D | jarjar-rules.txt | 81 rule android.net.util.InterfaceParams* com.android.connectivity.@0
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | BpfCoordinatorTest.java | 88 import android.net.util.InterfaceParams; 152 private static final InterfaceParams UPSTREAM_IFACE_PARAMS = new InterfaceParams(
|
D | TetheringTest.java | 152 import android.net.util.InterfaceParams; 343 Handler handler, InterfaceParams ifParams) { in getDadProxy() 349 InterfaceParams ifParams) { in getRouterAdvertisementDaemon() 354 public InterfaceParams getInterfaceParams(String ifName) { in getInterfaceParams() 368 return new InterfaceParams(ifName, ArrayUtils.indexOf(ifaces, ifName) + IFINDEX_OFFSET, in getInterfaceParams()
|