Searched refs:getCurrentPreferredUpstream (Results 1 – 4 of 4) sorted by relevance
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()
454 when(mUpstreamNetworkMonitor.getCurrentPreferredUpstream()).thenReturn(upstreamState); in prepareUsbTethering()681 verify(mUpstreamNetworkMonitor, times(1)).getCurrentPreferredUpstream(); in configTetherUpstreamAutomaticIgnoresConfigTetherUpstreamTypes()972 when(mUpstreamNetworkMonitor.getCurrentPreferredUpstream()).thenReturn(upstreamState); in testRegisterTetheringEventCallback()
258 public NetworkState getCurrentPreferredUpstream() { in getCurrentPreferredUpstream() method in UpstreamNetworkMonitor
1203 ? mUpstreamNetworkMonitor.getCurrentPreferredUpstream() in chooseUpstreamType()