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.java185 @Mock private BpfCoordinator mBpfCoordinator; field in IpServerTest
221 when(mBpfCoordinator.isUsingBpfOffload()).thenReturn(usingBpfOffload); in initStateMachine()
253 verify(mBpfCoordinator).updateAllIpv6Rules( in initTetheredStateMachine()
256 reset(mNetd, mBpfCoordinator, mCallback, mAddressCoordinator); in initTetheredStateMachine()
309 return new IpServer(IFACE_NAME, mHandler, interfaceType, mSharedLog, mNetd, mBpfCoordinator, in createIpServer()
461 InOrder inOrder = inOrder(mNetd, mBpfCoordinator); in handlesFirstUpstreamChange()
464 inOrder.verify(mBpfCoordinator).maybeAddUpstreamToLookupTable(UPSTREAM_IFINDEX, in handlesFirstUpstreamChange()
466 inOrder.verify(mBpfCoordinator).maybeAttachProgram(IFACE_NAME, UPSTREAM_IFACE); in handlesFirstUpstreamChange()
470 verifyNoMoreInteractions(mNetd, mCallback, mBpfCoordinator); in handlesFirstUpstreamChange()
478 InOrder inOrder = inOrder(mNetd, mBpfCoordinator); in handlesChangingUpstream()
[all …]
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java254 private final BpfCoordinator mBpfCoordinator; field in IpServer
333 mBpfCoordinator = bpfCoordinator; in IpServer()
354 if (mBpfCoordinator.isUsingBpfOffload() && !mIpNeighborMonitor.start()) { in IpServer()
662 mBpfCoordinator.tetherOffloadClientClear(this); in stopIPv4()
809 mBpfCoordinator.maybeAddUpstreamToLookupTable(upstreamIfIndex, upstreamIface); in updateUpstreamIPv6LinkProperties()
979 mBpfCoordinator.updateAllIpv6Rules(this, this.mInterfaceParams, in updateIpv6ForwardingRules()
1002 mBpfCoordinator.addIpv6DownstreamRule(this, rule); in addOrRemoveIpv6Downstream()
1004 mBpfCoordinator.removeIpv6DownstreamRule(this, rule); in addOrRemoveIpv6Downstream()
1023 mBpfCoordinator.tetherOffloadClientAdd(this, clientInfo); in updateClientInfoIpv4()
1025 mBpfCoordinator.tetherOffloadClientRemove(this, clientInfo); in updateClientInfoIpv4()
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java260 private final BpfCoordinator mBpfCoordinator; field in Tethering
373 mBpfCoordinator = mDeps.makeBpfCoordinator( in Tethering()
1920 mBpfCoordinator.updateUpstreamNetworkState(ns); in handleNewUpstreamNetworkState()
2074 mBpfCoordinator.startPolling(); in enter()
2088 mBpfCoordinator.stopPolling(); in exit()
2585 mBpfCoordinator.dump(pw); in dumpBpf()
2596 mBpfCoordinator.dumpRawMap(pw, args); in doDump()
2816 new IpServer(iface, mHandler, interfaceType, mLog, mNetd, mBpfCoordinator, in ensureIpServerStarted()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java288 @Mock private BpfCoordinator mBpfCoordinator; field in TetheringTest
441 return mBpfCoordinator; in makeBpfCoordinator()