Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java149 private static final String UPSTREAM_IFACE = "upstream0"; field in IpServerTest
165 UPSTREAM_IFACE, UPSTREAM_IFINDEX, MacAddress.ALL_ZEROS_ADDRESS, 1500 /* defaultMtu */);
217 when(mDependencies.getInterfaceParams(UPSTREAM_IFACE)).thenReturn(UPSTREAM_IFACE_PARAMS); in initStateMachine()
505 dispatchTetherConnectionChanged(UPSTREAM_IFACE); in handlesFirstUpstreamChange()
510 UPSTREAM_IFACE); in handlesFirstUpstreamChange()
511 inOrder.verify(mBpfCoordinator).maybeAttachProgram(IFACE_NAME, UPSTREAM_IFACE); in handlesFirstUpstreamChange()
512 inOrder.verify(mNetd).tetherAddForward(IFACE_NAME, UPSTREAM_IFACE); in handlesFirstUpstreamChange()
513 inOrder.verify(mNetd).ipfwdAddInterfaceForward(IFACE_NAME, UPSTREAM_IFACE); in handlesFirstUpstreamChange()
520 initTetheredStateMachine(TETHERING_BLUETOOTH, UPSTREAM_IFACE); in handlesChangingUpstream()
526 inOrder.verify(mBpfCoordinator).maybeDetachProgram(IFACE_NAME, UPSTREAM_IFACE); in handlesChangingUpstream()
[all …]
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java153 private static final String UPSTREAM_IFACE = "rmnet0"; field in BpfCoordinatorTest
185 UPSTREAM_IFACE, UPSTREAM_IFINDEX, null /* macAddr, rawip */,
1525 mTetherStatsProvider.onSetLimit(UPSTREAM_IFACE, limit); in testSetDataLimitOnRule4Change()
1599 coordinator.addUpstreamNameToLookupTable(UPSTREAM_IFINDEX, UPSTREAM_IFACE); in testAddDevMapRule6()