Home
last modified time | relevance | path

Searched refs:ifParams (Results 1 – 7 of 7) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/util/
DInterfaceParamsTest.java48 final InterfaceParams ifParams = InterfaceParams.getByName("lo"); in testLoopback() local
49 assertNotNull(ifParams); in testLoopback()
50 assertEquals("lo", ifParams.name); in testLoopback()
51 assertTrue(ifParams.index > 0); in testLoopback()
52 assertNotNull(ifParams.macAddr); in testLoopback()
53 assertFalse(ifParams.hasMacAddress); in testLoopback()
54 assertTrue(ifParams.defaultMtu >= NetworkStackConstants.ETHER_MTU); in testLoopback()
/packages/modules/NetworkStack/src/android/net/ip/
DConnectivityPacketTracker.java80 public ConnectivityPacketTracker(Handler h, InterfaceParams ifParams, LocalLog log) { in ConnectivityPacketTracker() argument
81 if (ifParams == null) throw new IllegalArgumentException("null InterfaceParams"); in ConnectivityPacketTracker()
83 mTag = TAG + "." + ifParams.name; in ConnectivityPacketTracker()
85 mPacketListener = new PacketListener(h, ifParams); in ConnectivityPacketTracker()
103 PacketListener(Handler h, InterfaceParams ifParams) { in PacketListener() argument
104 super(h, ifParams.defaultMtu); in PacketListener()
105 mInterface = ifParams; in PacketListener()
DIpReachabilityMonitor.java201 Context context, InterfaceParams ifParams, Handler h, SharedLog log, Callback callback,
203 this(context, ifParams, h, log, callback, usingMultinetworkPolicyTracker,
204 Dependencies.makeDefault(context, ifParams.name), new IpConnectivityLog(), netd);
208 IpReachabilityMonitor(Context context, InterfaceParams ifParams, Handler h, SharedLog log,
211 if (ifParams == null) throw new IllegalArgumentException("null InterfaceParams");
214 mInterfaceParams = ifParams;
DIpClient.java528 InterfaceParams ifParams, DhcpClient.Dependencies deps) { in makeDhcpClient() argument
529 return DhcpClient.makeDhcpClient(context, controller, ifParams, deps); in makeDhcpClient()
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java388 ApfFilter(Context context, ApfConfiguration config, InterfaceParams ifParams, in ApfFilter() argument
392 mInterfaceParams = ifParams; in ApfFilter()
1786 InterfaceParams ifParams, IpClientCallbacksWrapper ipClientCallback) { in maybeCreate() argument
1787 if (context == null || config == null || ifParams == null) return null; in maybeCreate()
1805 return new ApfFilter(context, config, ifParams, ipClientCallback, new IpConnectivityLog()); in maybeCreate()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpClient.java509 Context context, StateMachine controller, InterfaceParams ifParams, in makeDhcpClient() argument
511 DhcpClient client = new DhcpClient(context, controller, ifParams.name, deps); in makeDhcpClient()
512 client.mIface = ifParams; in makeDhcpClient()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java316 InterfaceParams ifParams, DhcpClient.Dependencies deps) { in makeDhcpClient() argument
317 mDhcpClient = DhcpClient.makeDhcpClient(context, controller, ifParams, deps); in makeDhcpClient()