Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DPrivateAddressCoordinatorTest.java75 private PrivateAddressCoordinator mPrivateAddressCoordinator; field in PrivateAddressCoordinatorTest
110 mPrivateAddressCoordinator = spy(new PrivateAddressCoordinator(mContext, mConfig)); in setUp()
115 final LinkAddress address = mPrivateAddressCoordinator.requestDownstreamAddress( in requestDownstreamAddress()
141 mPrivateAddressCoordinator.releaseDownstream(mHotspotIpServer); in testRequestDownstreamAddressWithoutUsingLastAddress()
142 mPrivateAddressCoordinator.releaseDownstream(mUsbIpServer); in testRequestDownstreamAddressWithoutUsingLastAddress()
148 when(mPrivateAddressCoordinator.getRandomInt()).thenReturn(fakeSubAddr); in testSanitizedAddress()
152 mPrivateAddressCoordinator.releaseDownstream(mHotspotIpServer); in testSanitizedAddress()
155 when(mPrivateAddressCoordinator.getRandomInt()).thenReturn(fakeSubAddr); in testSanitizedAddress()
159 mPrivateAddressCoordinator.releaseDownstream(mHotspotIpServer); in testSanitizedAddress()
162 when(mPrivateAddressCoordinator.getRandomInt()).thenReturn(fakeSubAddr); in testSanitizedAddress()
[all …]
DTetheringTest.java318 private PrivateAddressCoordinator mPrivateAddressCoordinator; field in TetheringTest
538 mPrivateAddressCoordinator = super.makePrivateAddressCoordinator(ctx, cfg); in makePrivateAddressCoordinator()
539 return mPrivateAddressCoordinator; in makePrivateAddressCoordinator()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java262 private final PrivateAddressCoordinator mPrivateAddressCoordinator; field in IpServer
342 mPrivateAddressCoordinator = addressCoordinator; in IpServer()
661 mPrivateAddressCoordinator.releaseDownstream(this); in stopIPv4()
725 return mPrivateAddressCoordinator.requestDownstreamAddress(this, scope, useLastAddress); in requestIpv4Address()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java261 private final PrivateAddressCoordinator mPrivateAddressCoordinator; field in Tethering
369 mPrivateAddressCoordinator = mDeps.makePrivateAddressCoordinator(mContext, mConfig); in Tethering()
1989 mPrivateAddressCoordinator.updateUpstreamPrefix(ns); in handleUpstreamNetworkMonitorCallback()
1992 mPrivateAddressCoordinator.removeUpstreamPrefix(ns.network); in handleUpstreamNetworkMonitorCallback()
2062 mPrivateAddressCoordinator.maybeRemoveDeprecatedUpstreams(); in enter()
2661 mPrivateAddressCoordinator.dump(pw); in doDump()
2818 mPrivateAddressCoordinator, mTetheringMetrics, in ensureIpServerStarted()