Home
last modified time | relevance | path

Searched refs:mPrivateAddressCoordinator (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DPrivateAddressCoordinatorTest.java60 private PrivateAddressCoordinator mPrivateAddressCoordinator; field in PrivateAddressCoordinatorTest
72 mPrivateAddressCoordinator = spy(new PrivateAddressCoordinator(mContext)); in setUp()
77 LinkAddress address = mPrivateAddressCoordinator.requestDownstreamAddress( in testDownstreamPrefixRequest()
82 address = mPrivateAddressCoordinator.requestDownstreamAddress( in testDownstreamPrefixRequest()
87 mPrivateAddressCoordinator.releaseDownstream(mHotspotIpServer); in testDownstreamPrefixRequest()
89 address = mPrivateAddressCoordinator.requestDownstreamAddress( in testDownstreamPrefixRequest()
94 mPrivateAddressCoordinator.releaseDownstream(mUsbIpServer); in testDownstreamPrefixRequest()
101 when(mPrivateAddressCoordinator.getRandomSubAddr()).thenReturn(fakeSubAddr); in testRequestDownstreamAddress()
102 LinkAddress actualAddress = mPrivateAddressCoordinator.requestDownstreamAddress( in testRequestDownstreamAddress()
105 mPrivateAddressCoordinator.releaseDownstream(mHotspotIpServer); in testRequestDownstreamAddress()
[all …]
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java236 private final PrivateAddressCoordinator mPrivateAddressCoordinator; field in IpServer
300 mPrivateAddressCoordinator = addressCoordinator; in IpServer()
597 mPrivateAddressCoordinator.releaseDownstream(this); in stopIPv4()
659 return mPrivateAddressCoordinator.requestDownstreamAddress(this); in requestIpv4Address()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java239 private final PrivateAddressCoordinator mPrivateAddressCoordinator; field in Tethering
323 mPrivateAddressCoordinator = new PrivateAddressCoordinator(mContext); in Tethering()
1679 mPrivateAddressCoordinator.updateUpstreamPrefix(ns.network, ns.linkProperties); in addUpstreamPrefixes()
1683 mPrivateAddressCoordinator.removeUpstreamPrefix(ns.network); in removeUpstreamPrefixes()
1754 mPrivateAddressCoordinator.maybeRemoveDeprecatedUpstreams(); in enter()
2280 mPrivateAddressCoordinator.dump(pw); in dump()
2412 mConfig.isBpfOffloadEnabled(), mPrivateAddressCoordinator,