Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/connectivity/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()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java454 when(mUpstreamNetworkMonitor.getCurrentPreferredUpstream()).thenReturn(upstreamState); in prepareUsbTethering()
681 verify(mUpstreamNetworkMonitor, times(1)).getCurrentPreferredUpstream(); in configTetherUpstreamAutomaticIgnoresConfigTetherUpstreamTypes()
972 when(mUpstreamNetworkMonitor.getCurrentPreferredUpstream()).thenReturn(upstreamState); in testRegisterTetheringEventCallback()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitor.java258 public NetworkState getCurrentPreferredUpstream() { in getCurrentPreferredUpstream() method in UpstreamNetworkMonitor
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java1203 ? mUpstreamNetworkMonitor.getCurrentPreferredUpstream() in chooseUpstreamType()