Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitorTest.java380 assertEquals(cellAgent.networkId, mUNM.getCurrentPreferredUpstream().network); in testGetCurrentPreferredUpstream()
384 assertEquals(null, mUNM.getCurrentPreferredUpstream()); in testGetCurrentPreferredUpstream()
390 assertEquals(cellAgent.networkId, mUNM.getCurrentPreferredUpstream().network); in testGetCurrentPreferredUpstream()
394 assertEquals(wifiAgent.networkId, mUNM.getCurrentPreferredUpstream().network); in testGetCurrentPreferredUpstream()
398 assertEquals(wifiAgent.networkId, mUNM.getCurrentPreferredUpstream().network); in testGetCurrentPreferredUpstream()
402 assertEquals(null, mUNM.getCurrentPreferredUpstream()); in testGetCurrentPreferredUpstream()
412 assertEquals(dunAgent.networkId, mUNM.getCurrentPreferredUpstream().network); in testGetCurrentPreferredUpstream()
416 assertEquals(null, mUNM.getCurrentPreferredUpstream()); in testGetCurrentPreferredUpstream()
DTetheringTest.java573 when(mUpstreamNetworkMonitor.getCurrentPreferredUpstream()).thenReturn(upstreamState); in initTetheringUpstream()
739 verify(mUpstreamNetworkMonitor, times(1)).getCurrentPreferredUpstream(); in testUsbConfiguredBroadcastStartsTethering()
943 verify(mUpstreamNetworkMonitor, times(1)).getCurrentPreferredUpstream(); in configTetherUpstreamAutomaticIgnoresConfigTetherUpstreamTypes()
1532 verify(mUpstreamNetworkMonitor, never()).getCurrentPreferredUpstream(); in workingWifiP2pGroupOwner()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitor.java304 public UpstreamNetworkState getCurrentPreferredUpstream() { in getCurrentPreferredUpstream() method in UpstreamNetworkMonitor
DTethering.java1540 ? mUpstreamNetworkMonitor.getCurrentPreferredUpstream() in chooseUpstreamType()