Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DPrivateAddressCoordinatorTest.java101 when(mPrivateAddressCoordinator.getRandomSubAddr()).thenReturn(fakeSubAddr); in testRequestDownstreamAddress()
108 when(mPrivateAddressCoordinator.getRandomSubAddr()).thenReturn(fakeSubAddr); in testRequestDownstreamAddress()
115 when(mPrivateAddressCoordinator.getRandomSubAddr()).thenReturn(fakeSubAddr); in testRequestDownstreamAddress()
123 when(mPrivateAddressCoordinator.getRandomSubAddr()).thenReturn(fakeSubAddr); in testRequestDownstreamAddress()
133 when(mPrivateAddressCoordinator.getRandomSubAddr()).thenReturn(fakeSubAddr); in testReserveBluetoothPrefix()
145 when(mPrivateAddressCoordinator.getRandomSubAddr()).thenReturn(fakeHotspotSubAddr); in testNoConflictDownstreamPrefix()
200 when(mPrivateAddressCoordinator.getRandomSubAddr()).thenReturn(fakeHotspotSubAddr); in testNoConflictUpstreamPrefix()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DPrivateAddressCoordinator.java150 final int subAddress = getRandomSubAddr(); in requestDownstreamAddress()
181 public int getRandomSubAddr() { in getRandomSubAddr() method in PrivateAddressCoordinator