Home
last modified time | relevance | path

Searched refs:mBpfCoordinator (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java205 private BpfCoordinator mBpfCoordinator; field in IpServerTest
237 IFACE_NAME, mLooper.getLooper(), interfaceType, mSharedLog, mNetd, mBpfCoordinator, in initStateMachine()
265 reset(mNetd, mCallback, mAddressCoordinator, mBpfCoordinator); in initTetheredStateMachine()
359 mBpfCoordinator = spy(new BpfCoordinator(mBpfDeps)); in setUp()
369 mNetd, mBpfCoordinator, mCallback, mTetherConfig, mAddressCoordinator, in startsOutAvailable()
506 InOrder inOrder = inOrder(mNetd, mBpfCoordinator); in handlesFirstUpstreamChange()
509 inOrder.verify(mBpfCoordinator).addUpstreamNameToLookupTable(UPSTREAM_IFINDEX, in handlesFirstUpstreamChange()
511 inOrder.verify(mBpfCoordinator).maybeAttachProgram(IFACE_NAME, UPSTREAM_IFACE); in handlesFirstUpstreamChange()
515 verifyNoMoreInteractions(mNetd, mCallback, mBpfCoordinator); in handlesFirstUpstreamChange()
523 InOrder inOrder = inOrder(mNetd, mBpfCoordinator); in handlesChangingUpstream()
[all …]
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java234 private final BpfCoordinator mBpfCoordinator; field in IpServer
295 mBpfCoordinator = coordinator; in IpServer()
606 mBpfCoordinator.tetherOffloadClientClear(this); in stopIPv4()
758 mBpfCoordinator.addUpstreamNameToLookupTable(upstreamIfIndex, upstreamIface); in updateUpstreamIPv6LinkProperties()
879 mBpfCoordinator.tetherOffloadRuleAdd(this, rule); in addIpv6ForwardingRule()
887 mBpfCoordinator.tetherOffloadRuleRemove(this, rule); in removeIpv6ForwardingRule()
893 mBpfCoordinator.tetherOffloadRuleClear(this); in clearIpv6ForwardingRules()
901 mBpfCoordinator.tetherOffloadRuleUpdate(this, newIfindex); in updateIpv6ForwardingRule()
968 mBpfCoordinator.tetherOffloadClientAdd(this, clientInfo); in updateClientInfoIpv4()
970 mBpfCoordinator.tetherOffloadClientRemove(this, clientInfo); in updateClientInfoIpv4()
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java255 private final BpfCoordinator mBpfCoordinator; field in Tethering
365 mBpfCoordinator = mDeps.getBpfCoordinator( in Tethering()
1885 mBpfCoordinator.updateUpstreamNetworkState(ns); in handleNewUpstreamNetworkState()
2030 mBpfCoordinator.startPolling(); in enter()
2043 mBpfCoordinator.stopPolling(); in exit()
2532 mBpfCoordinator.dump(pw); in dumpBpf()
2543 mBpfCoordinator.dumpRawMap(pw, args); in doDump()
2780 new IpServer(iface, mLooper, interfaceType, mLog, mNetd, mBpfCoordinator,
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java271 @Mock private BpfCoordinator mBpfCoordinator; field in TetheringTest
417 return mBpfCoordinator; in getBpfCoordinator()