Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java204 when(mDependencies.getInterfaceParams(IFACE_NAME)).thenReturn(TEST_IFACE_PARAMS); in initStateMachine()
205 when(mDependencies.getInterfaceParams(UPSTREAM_IFACE)).thenReturn(UPSTREAM_IFACE_PARAMS); in initStateMachine()
206 when(mDependencies.getInterfaceParams(UPSTREAM_IFACE2)).thenReturn(UPSTREAM_IFACE_PARAMS2); in initStateMachine()
207 when(mDependencies.getInterfaceParams(IPSEC_IFACE)).thenReturn(IPSEC_IFACE_PARAMS); in initStateMachine()
246 InterfaceParams interfaceParams = mDependencies.getInterfaceParams(upstreamIface); in initTetheredStateMachine()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java204 public InterfaceParams getInterfaceParams(String ifName) { in getInterfaceParams() method in IpServer.Dependencies
729 mInterfaceParams = mDeps.getInterfaceParams(mIfaceName); in startIPv6()
786 upstreamIfaceParams = mDeps.getInterfaceParams(upstreamIface); in updateUpstreamIPv6LinkProperties()
1457 mDeps.getInterfaceParams(ifname); in processMessage()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java611 when(mIpServerDeps.getInterfaceParams(DOWNSTREAM_IFACE)).thenReturn( in makeAndStartIpServer()
613 when(mIpServerDeps.getInterfaceParams(UPSTREAM_IFACE)).thenReturn(UPSTREAM_IFACE_PARAMS); in makeAndStartIpServer()
614 when(mIpServerDeps.getInterfaceParams(UPSTREAM_IFACE2)).thenReturn(UPSTREAM_IFACE_PARAMS2); in makeAndStartIpServer()
615 when(mIpServerDeps.getInterfaceParams(IPSEC_IFACE)).thenReturn(IPSEC_IFACE_PARAMS); in makeAndStartIpServer()
1892 doReturn(upstreamInfo.interfaceParams).when(mDeps).getInterfaceParams( in setUpstreamInformationTo()
2744 doReturn(UPSTREAM_IFACE_PARAMS).when(mDeps).getInterfaceParams(UPSTREAM_IFACE); in verifyUpdateUpstreamNetworkState()
2781 doReturn(UPSTREAM_XLAT_IFACE_PARAMS).when(mDeps).getInterfaceParams( in verifyUpdateUpstreamNetworkState()
2811 doReturn(UPSTREAM_IFACE_PARAMS2).when(mDeps).getInterfaceParams(UPSTREAM_IFACE2); in verifyUpdateUpstreamNetworkState()
DTetheringTest.java395 public InterfaceParams getInterfaceParams(String ifName) { in getInterfaceParams() method in TetheringTest.MockIpServerDependencies
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java195 when(mDependencies.getInterfaceParams(any())).thenReturn(mInterfaceParams); in setUp()
212 when(mDependencies.getInterfaceParams(anyString())).thenReturn(mIfParams); in setTestInterfaceParams()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java778 public InterfaceParams getInterfaceParams(String ifname) { in getInterfaceParams() method in IpClient.Dependencies
2477 InterfaceParams params = mDependencies.getInterfaceParams(mInterfaceName); in maybeRestoreInterfaceMtu()
2899 mInterfaceParams = mDependencies.getInterfaceParams(mInterfaceName); in enter()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java342 @NonNull public InterfaceParams getInterfaceParams(String ifName) { in getInterfaceParams() method in BpfCoordinator.Dependencies
1009 final InterfaceParams params = mDeps.getInterfaceParams(ifaceName); in updateUpstreamNetworkState()
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java504 public InterfaceParams getInterfaceParams(String ifname) { in getInterfaceParams() method in IpClientIntegrationTestCommon.Dependencies
508 : super.getInterfaceParams(ifname); in getInterfaceParams()