Searched refs:mUpstreamNetworkMonitor (Results 1 – 2 of 2) sorted by relevance
153 @Mock private UpstreamNetworkMonitor mUpstreamNetworkMonitor; field in TetheringTest257 return mUpstreamNetworkMonitor; in getUpstreamNetworkMonitor()454 when(mUpstreamNetworkMonitor.getCurrentPreferredUpstream()).thenReturn(upstreamState); in prepareUsbTethering()455 when(mUpstreamNetworkMonitor.selectPreferredUpstreamType(any())) in prepareUsbTethering()482 verify(mUpstreamNetworkMonitor, times(1)).selectPreferredUpstreamType(any()); in testUsbConfiguredBroadcastStartsTethering()483 verify(mUpstreamNetworkMonitor, times(1)).setCurrentUpstream(upstreamState.network); in testUsbConfiguredBroadcastStartsTethering()516 verify(mUpstreamNetworkMonitor, times(1)).startObserveAllNetworks(); in workingLocalOnlyHotspotEnrichedApBroadcast()647 when(mUpstreamNetworkMonitor.selectPreferredUpstreamType(any())) in workingMobileUsbTethering_v6Then464xlat()681 verify(mUpstreamNetworkMonitor, times(1)).getCurrentPreferredUpstream(); in configTetherUpstreamAutomaticIgnoresConfigTetherUpstreamTypes()682 verify(mUpstreamNetworkMonitor, never()).selectPreferredUpstreamType(any()); in configTetherUpstreamAutomaticIgnoresConfigTetherUpstreamTypes()[all …]
180 private final UpstreamNetworkMonitor mUpstreamNetworkMonitor; field in Tethering226 mUpstreamNetworkMonitor = deps.getUpstreamNetworkMonitor(mContext, mTetherMasterSM, mLog, in Tethering()313 mUpstreamNetworkMonitor.updateMobileRequiresDun(mConfig.isDunRequired); in updateConfiguration()1203 ? mUpstreamNetworkMonitor.getCurrentPreferredUpstream() in chooseUpstreamType()1204 : mUpstreamNetworkMonitor.selectPreferredUpstreamType( in chooseUpstreamType()1208 mUpstreamNetworkMonitor.registerMobileNetworkRequest(); in chooseUpstreamType()1218 mUpstreamNetworkMonitor.setCurrentUpstream(mTetherUpstream); in chooseUpstreamType()1386 mUpstreamNetworkMonitor.startObserveAllNetworks(); in enter()1400 mUpstreamNetworkMonitor.stop(); in exit()1464 mUpstreamNetworkMonitor.releaseMobileNetworkRequest(); in processMessage()[all …]