Home
last modified time | relevance | path

Searched refs:getInterfaceParams (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java211 public InterfaceParams getInterfaceParams(String ifName) { in getInterfaceParams() method in IpServer.Dependencies
453 public InterfaceParams getInterfaceParams() { in getInterfaceParams() method in IpServer
792 mInterfaceParams = mDeps.getInterfaceParams(mIfaceName); in startIPv6()
850 upstreamIfaceParams = mDeps.getInterfaceParams(upstreamIface); in updateUpstreamIPv6LinkProperties()
1496 mDeps.getInterfaceParams(ifname); in processMessage()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java368 @NonNull public InterfaceParams getInterfaceParams(String ifName) { in getInterfaceParams() method in BpfCoordinator.Dependencies
967 final InterfaceParams interfaceParams = ipServer.getInterfaceParams(); in updateIpv6UpstreamInterface()
999 final InterfaceParams interfaceParams = ipServer.getInterfaceParams(); in addOrRemoveIpv6Downstream()
1021 InterfaceParams interfaceParams = ipServer.getInterfaceParams(); in updateClientInfoIpv4()
1038 InterfaceParams interfaceParams = ipServer.getInterfaceParams(); in handleNeighborEvent()
1168 final InterfaceParams params = mDeps.getInterfaceParams(ifaceName); in updateUpstreamNetworkState()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java225 when(mDependencies.getInterfaceParams(IFACE_NAME)).thenReturn(TEST_IFACE_PARAMS); in initStateMachine()
226 when(mDependencies.getInterfaceParams(UPSTREAM_IFACE)).thenReturn(UPSTREAM_IFACE_PARAMS); in initStateMachine()
227 when(mDependencies.getInterfaceParams(UPSTREAM_IFACE2)).thenReturn(UPSTREAM_IFACE_PARAMS2); in initStateMachine()
228 when(mDependencies.getInterfaceParams(IPSEC_IFACE)).thenReturn(IPSEC_IFACE_PARAMS); in initStateMachine()
280 InterfaceParams interfaceParams = mDependencies.getInterfaceParams(upstreamIface); in initTetheredStateMachine()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java590 when(mIpServer.getInterfaceParams()).thenReturn(DOWNSTREAM_IFACE_PARAMS); in setUp()
591 when(mIpServer2.getInterfaceParams()).thenReturn(DOWNSTREAM_IFACE_PARAMS2); in setUp()
1847 doReturn(upstreamInfo.interfaceParams).when(mDeps).getInterfaceParams( in setUpstreamInformationTo()
2909 doReturn(UPSTREAM_IFACE_PARAMS).when(mDeps).getInterfaceParams(UPSTREAM_IFACE); in verifyUpdateUpstreamNetworkState()
2946 doReturn(UPSTREAM_XLAT_IFACE_PARAMS).when(mDeps).getInterfaceParams( in verifyUpdateUpstreamNetworkState()
2976 doReturn(UPSTREAM_IFACE_PARAMS2).when(mDeps).getInterfaceParams(UPSTREAM_IFACE2); in verifyUpdateUpstreamNetworkState()
DTetheringTest.java435 public InterfaceParams getInterfaceParams(String ifName) { in getInterfaceParams() method in TetheringTest.MockIpServerDependencies
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java213 when(mDependencies.getInterfaceParams(any())).thenReturn(mInterfaceParams); in setUp()
232 when(mDependencies.getInterfaceParams(anyString())).thenReturn(mIfParams); in setTestInterfaceParams()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java898 public InterfaceParams getInterfaceParams(String ifname) { in getInterfaceParams() method in IpClient.Dependencies
2695 InterfaceParams params = mDependencies.getInterfaceParams(mInterfaceName); in maybeRestoreInterfaceMtu()
3152 mInterfaceParams = mDependencies.getInterfaceParams(mInterfaceName); in enter()
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java510 public InterfaceParams getInterfaceParams(String ifname) { in getInterfaceParams() method in IpClientIntegrationTestCommon.Dependencies
514 : super.getInterfaceParams(ifname); in getInterfaceParams()