Searched refs:mUpstreamNetworkMonitor (Results 1 – 2 of 2) sorted by relevance
197 @Mock private UpstreamNetworkMonitor mUpstreamNetworkMonitor; field in TetheringTest372 return mUpstreamNetworkMonitor; in getUpstreamNetworkMonitor()573 when(mUpstreamNetworkMonitor.getCurrentPreferredUpstream()).thenReturn(upstreamState); in initTetheringUpstream()574 when(mUpstreamNetworkMonitor.selectPreferredUpstreamType(any())).thenReturn(upstreamState); in initTetheringUpstream()739 verify(mUpstreamNetworkMonitor, times(1)).getCurrentPreferredUpstream(); in testUsbConfiguredBroadcastStartsTethering()740 verify(mUpstreamNetworkMonitor, times(1)).setCurrentUpstream(upstreamState.network); in testUsbConfiguredBroadcastStartsTethering()775 verify(mUpstreamNetworkMonitor, times(1)).startObserveAllNetworks(); in workingLocalOnlyHotspotEnrichedApBroadcast()943 verify(mUpstreamNetworkMonitor, times(1)).getCurrentPreferredUpstream(); in configTetherUpstreamAutomaticIgnoresConfigTetherUpstreamTypes()944 verify(mUpstreamNetworkMonitor, never()).selectPreferredUpstreamType(any()); in configTetherUpstreamAutomaticIgnoresConfigTetherUpstreamTypes()946 verify(mUpstreamNetworkMonitor, times(1)).setCurrentUpstream(upstreamState.network); in configTetherUpstreamAutomaticIgnoresConfigTetherUpstreamTypes()[all …]
221 private final UpstreamNetworkMonitor mUpstreamNetworkMonitor; field in Tethering288 mUpstreamNetworkMonitor = mDeps.getUpstreamNetworkMonitor(mContext, mTetherMainSM, mLog, in Tethering()443 mUpstreamNetworkMonitor.updateMobileRequiresDun(mConfig.isDunRequired); in updateConfiguration()1540 ? mUpstreamNetworkMonitor.getCurrentPreferredUpstream() in chooseUpstreamType()1541 : mUpstreamNetworkMonitor.selectPreferredUpstreamType( in chooseUpstreamType()1545 mUpstreamNetworkMonitor.registerMobileNetworkRequest(); in chooseUpstreamType()1555 mUpstreamNetworkMonitor.setCurrentUpstream(mTetherUpstream); in chooseUpstreamType()1755 mUpstreamNetworkMonitor.startObserveAllNetworks(); in enter()1772 mUpstreamNetworkMonitor.stop(); in exit()1837 mUpstreamNetworkMonitor.releaseMobileNetworkRequest(); in processMessage()[all …]