Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java572 private void initTetheringUpstream(UpstreamNetworkState upstreamState) { in initTetheringUpstream() argument
573 when(mUpstreamNetworkMonitor.getCurrentPreferredUpstream()).thenReturn(upstreamState); in initTetheringUpstream()
574 when(mUpstreamNetworkMonitor.selectPreferredUpstreamType(any())).thenReturn(upstreamState); in initTetheringUpstream()
712 private void prepareUsbTethering(UpstreamNetworkState upstreamState) { in prepareUsbTethering() argument
713 initTetheringUpstream(upstreamState); in prepareUsbTethering()
725 UpstreamNetworkState upstreamState = buildMobileIPv4UpstreamState(); in testUsbConfiguredBroadcastStartsTethering() local
726 prepareUsbTethering(upstreamState); in testUsbConfiguredBroadcastStartsTethering()
740 verify(mUpstreamNetworkMonitor, times(1)).setCurrentUpstream(upstreamState.network); in testUsbConfiguredBroadcastStartsTethering()
804 private void sendIPv6TetherUpdates(UpstreamNetworkState upstreamState) { in sendIPv6TetherUpdates() argument
813 upstreamState.linkProperties.isIpv6Provisioned() in sendIPv6TetherUpdates()
[all …]