Home
last modified time | relevance | path

Searched refs:upstreamInfo (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java1885 final UpstreamInformation upstreamInfo = UPSTREAM_INFORMATIONS.get(upstreamIfindex); in setUpstreamInformationTo() local
1886 if (upstreamInfo == null) { in setUpstreamInformationTo()
1892 doReturn(upstreamInfo.interfaceParams).when(mDeps).getInterfaceParams( in setUpstreamInformationTo()
1893 upstreamInfo.interfaceParams.name); in setUpstreamInformationTo()
1894 coordinator.maybeAddUpstreamToLookupTable(upstreamInfo.interfaceParams.index, in setUpstreamInformationTo()
1895 upstreamInfo.interfaceParams.name); in setUpstreamInformationTo()
1898 lp.setInterfaceName(upstreamInfo.interfaceParams.name); in setUpstreamInformationTo()
1899 lp.addLinkAddress(new LinkAddress(upstreamInfo.address, 32 /* prefix length */)); in setUpstreamInformationTo()
1902 .addTransportType(upstreamInfo.transportType); in setUpstreamInformationTo()
1904 new Network(upstreamInfo.netId))); in setUpstreamInformationTo()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java1966 @NonNull UpstreamInfo upstreamInfo) { in makeTetherUpstream4Value() argument
1967 return new Tether4Value(upstreamInfo.ifIndex, in makeTetherUpstream4Value()
1970 upstreamInfo.mtu, toIpv4MappedAddressBytes(e.tupleReply.dstIp), in makeTetherUpstream4Value()
1977 @NonNull ClientInfo c, @NonNull UpstreamInfo upstreamInfo) { in makeTetherDownstream4Value() argument
1979 c.clientMac, c.downstreamMac, ETH_P_IP, upstreamInfo.mtu, in makeTetherDownstream4Value()