Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/android/net/ip/
DConnectivityPacketTracker.java73 public ConnectivityPacketTracker(Handler h, InterfaceParams ifParams, LocalLog log) { in ConnectivityPacketTracker() argument
74 if (ifParams == null) throw new IllegalArgumentException("null InterfaceParams"); in ConnectivityPacketTracker()
76 mTag = TAG + "." + ifParams.name; in ConnectivityPacketTracker()
78 mPacketListener = new PacketListener(h, ifParams); in ConnectivityPacketTracker()
96 PacketListener(Handler h, InterfaceParams ifParams) { in PacketListener() argument
97 super(h, ifParams.defaultMtu); in PacketListener()
98 mInterface = ifParams; in PacketListener()
DIpReachabilityMonitor.java177 Context context, InterfaceParams ifParams, Handler h, SharedLog log, Callback callback,
179 this(context, ifParams, h, log, callback, usingMultinetworkPolicyTracker,
180 Dependencies.makeDefault(context, ifParams.name));
184 IpReachabilityMonitor(Context context, InterfaceParams ifParams, Handler h, SharedLog log,
186 if (ifParams == null) throw new IllegalArgumentException("null InterfaceParams");
188 mInterfaceParams = ifParams;
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpReachabilityMonitorTest.java58 final InterfaceParams ifParams = new InterfaceParams("fake0", 1, null); in makeMonitor() local
60 mContext, ifParams, mHandler, mLog, mCallback, false, mDependencies); in makeMonitor()
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java383 ApfFilter(Context context, ApfConfiguration config, InterfaceParams ifParams, in ApfFilter() argument
387 mInterfaceParams = ifParams; in ApfFilter()
1699 InterfaceParams ifParams, IpClientCallbacksWrapper ipClientCallback) { in maybeCreate() argument
1700 if (context == null || config == null || ifParams == null) return null; in maybeCreate()
1718 return new ApfFilter(context, config, ifParams, ipClientCallback, new IpConnectivityLog()); in maybeCreate()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpClient.java293 Context context, StateMachine controller, InterfaceParams ifParams) { in makeDhcpClient() argument
294 DhcpClient client = new DhcpClient(context, controller, ifParams.name); in makeDhcpClient()
295 client.mIface = ifParams; in makeDhcpClient()