Searched refs:getCurrentPreferredUpstream (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | UpstreamNetworkMonitorTest.java | 380 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()
|
D | TetheringTest.java | 573 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/ |
D | UpstreamNetworkMonitor.java | 304 public UpstreamNetworkState getCurrentPreferredUpstream() { in getCurrentPreferredUpstream() method in UpstreamNetworkMonitor
|
D | Tethering.java | 1540 ? mUpstreamNetworkMonitor.getCurrentPreferredUpstream() in chooseUpstreamType()
|