/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | InterfaceParamsTest.java | 46 final InterfaceParams ifParams = InterfaceParams.getByName("lo"); in testLoopback() local 47 assertNotNull(ifParams); in testLoopback() 48 assertEquals("lo", ifParams.name); in testLoopback() 49 assertTrue(ifParams.index > 0); in testLoopback() 50 assertNotNull(ifParams.macAddr); in testLoopback() 51 assertFalse(ifParams.hasMacAddress); in testLoopback() 52 assertTrue(ifParams.defaultMtu >= NetworkStackConstants.ETHER_MTU); in testLoopback()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | ConnectivityPacketTracker.java | 79 public ConnectivityPacketTracker(Handler h, InterfaceParams ifParams, LocalLog log) { in ConnectivityPacketTracker() argument 80 if (ifParams == null) throw new IllegalArgumentException("null InterfaceParams"); in ConnectivityPacketTracker() 82 mTag = TAG + "." + ifParams.name; in ConnectivityPacketTracker() 84 mPacketListener = new PacketListener(h, ifParams); in ConnectivityPacketTracker() 102 PacketListener(Handler h, InterfaceParams ifParams) { in PacketListener() argument 103 super(h, ifParams.defaultMtu); in PacketListener() 104 mInterface = ifParams; in PacketListener()
|
D | IpReachabilityMonitor.java | 254 Context context, InterfaceParams ifParams, Handler h, SharedLog log, Callback callback, 256 this(context, ifParams, h, log, callback, usingMultinetworkPolicyTracker, dependencies, 261 public IpReachabilityMonitor(Context context, InterfaceParams ifParams, Handler h, 264 if (ifParams == null) throw new IllegalArgumentException("null InterfaceParams"); 267 mInterfaceParams = ifParams;
|
D | IpClient.java | 801 InterfaceParams ifParams, DhcpClient.Dependencies deps) { in makeDhcpClient() argument 802 return DhcpClient.makeDhcpClient(context, controller, ifParams, deps); in makeDhcpClient() 809 InterfaceParams ifParams, Dhcp6Client.Dependencies deps) { in makeDhcp6Client() argument 810 return Dhcp6Client.makeDhcp6Client(context, controller, ifParams, deps); in makeDhcp6Client() 854 InterfaceParams ifParams, Handler h, SharedLog log, in getIpReachabilityMonitor() argument 857 return new IpReachabilityMonitor(context, ifParams, h, log, callback, in getIpReachabilityMonitor() 891 ApfFilter.ApfConfiguration config, InterfaceParams ifParams, in maybeCreateApfFilter() argument 895 return ApfFilter.maybeCreate(context, config, ifParams, cb, networkQuirkMetrics); in maybeCreateApfFilter() 897 return LegacyApfFilter.maybeCreate(context, config, ifParams, cb, in maybeCreateApfFilter()
|
/packages/modules/NetworkStack/src/android/net/apf/ |
D | ApfFilter.java | 368 public ApfFilter(Context context, ApfConfiguration config, InterfaceParams ifParams, in ApfFilter() argument 370 this(context, config, ifParams, ipClientCallback, networkQuirkMetrics, in ApfFilter() 375 public ApfFilter(Context context, ApfConfiguration config, InterfaceParams ifParams, in ApfFilter() argument 378 this(context, config, ifParams, ipClientCallback, networkQuirkMetrics, dependencies, in ApfFilter() 383 public ApfFilter(Context context, ApfConfiguration config, InterfaceParams ifParams, in ApfFilter() argument 389 mInterfaceParams = ifParams; in ApfFilter() 2509 InterfaceParams ifParams, IpClientCallbacksWrapper ipClientCallback, in maybeCreate() argument 2511 if (context == null || config == null || ifParams == null) return null; in maybeCreate() 2527 return new ApfFilter(context, config, ifParams, ipClientCallback, networkQuirkMetrics); in maybeCreate()
|
D | LegacyApfFilter.java | 385 InterfaceParams ifParams, IpClientCallbacksWrapper ipClientCallback, in LegacyApfFilter() argument 387 this(context, config, ifParams, ipClientCallback, log, networkQuirkMetrics, in LegacyApfFilter() 393 InterfaceParams ifParams, IpClientCallbacksWrapper ipClientCallback, in LegacyApfFilter() argument 398 mInterfaceParams = ifParams; in LegacyApfFilter() 2071 InterfaceParams ifParams, IpClientCallbacksWrapper ipClientCallback, in maybeCreate() argument 2073 if (context == null || config == null || ifParams == null) return null; in maybeCreate() 2091 return new LegacyApfFilter(context, config, ifParams, ipClientCallback, in maybeCreate()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | ApfNewTest.kt | 121 private val ifParams = constant in android.net.apf.ApfNewTest 1350 ifParams, in doTestEtherTypeAllowListFilter() 1791 ifParams, in testIPv4PacketFilterOnV6OnlyNetwork() 1876 ifParams, in testArpTransmit() 1927 ifParams, in testArpOffloadDisabled() 1962 ifParams, in testNsFilterNoIPv6() 1998 ifParams, in testNsFilter() 2262 ifParams, in testApfProgramUpdate()
|
/packages/modules/NetworkStack/tests/integration/signature/android/net/util/ |
D | NetworkStackUtilsIntegrationTest.kt | 164 val ifParams = InterfaceParams.getByName(iface.interfaceName) in doTestAttachRaFilter() constant 166 val socketAddr = SocketUtils.makePacketSocketAddress(ETH_P_IPV6, ifParams.index) in doTestAttachRaFilter()
|
/packages/modules/Connectivity/Tethering/src/android/net/ip/ |
D | RouterAdvertisementDaemon.java | 248 public RouterAdvertisementDaemon(InterfaceParams ifParams) { in RouterAdvertisementDaemon() argument 249 mInterface = ifParams; in RouterAdvertisementDaemon()
|
D | IpServer.java | 188 public DadProxy getDadProxy(Handler handler, InterfaceParams ifParams) { in getDadProxy() argument 189 return new DadProxy(handler, ifParams); in getDadProxy() 199 public RouterAdvertisementDaemon getRouterAdvertisementDaemon(InterfaceParams ifParams) { in getRouterAdvertisementDaemon() argument 200 return new RouterAdvertisementDaemon(ifParams); in getRouterAdvertisementDaemon()
|
/packages/modules/NetworkStack/src/android/net/dhcp6/ |
D | Dhcp6Client.java | 198 @NonNull final StateMachine controller, @NonNull final InterfaceParams ifParams, in makeDhcp6Client() argument 200 final Dhcp6Client client = new Dhcp6Client(context, controller, ifParams, deps); in makeDhcp6Client()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 567 Context context, StateMachine controller, InterfaceParams ifParams, in makeDhcpClient() argument 569 DhcpClient client = new DhcpClient(context, controller, ifParams.name, deps); in makeDhcpClient() 570 client.mIface = ifParams; in makeDhcpClient()
|
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 524 InterfaceParams ifParams, DhcpClient.Dependencies deps) { in makeDhcpClient() argument 525 mDhcpClient = DhcpClient.makeDhcpClient(context, controller, ifParams, deps); in makeDhcpClient() 531 InterfaceParams ifParams, Dhcp6Client.Dependencies deps) { in makeDhcp6Client() argument 532 mDhcp6Client = Dhcp6Client.makeDhcp6Client(context, controller, ifParams, deps); in makeDhcp6Client() 538 InterfaceParams ifParams, Handler h, SharedLog log, in getIpReachabilityMonitor() argument 541 return new IpReachabilityMonitor(context, ifParams, h, log, callback, in getIpReachabilityMonitor()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringTest.java | 384 Handler handler, InterfaceParams ifParams) { in getDadProxy() argument 390 InterfaceParams ifParams) { in getRouterAdvertisementDaemon() argument
|