Searched refs:mConnManager (Results 1 – 2 of 2) sorted by relevance
47 @Mock private ConnectivityManager mConnManager; field in NetworkMonitorTest53 doReturn(mConnManager).when(mContext).getSystemService(Context.CONNECTIVITY_SERVICE); in setUp()87 verify(mConnManager).unregisterNetworkCallback(cb); in testStopListening()200 verify(mConnManager).registerDefaultNetworkCallback(cbCaptor.capture()); in verifyCallbackRegistered()
82 private ConnectivityManager mConnManager; field in PMCMainActivity97 mConnManager = (ConnectivityManager) in onCreate()315 mConnManager.startTethering(ConnectivityManager.TETHERING_USB, true, tetherCallback); in startUSBTethering()331 mConnManager.stopTethering(ConnectivityManager.TETHERING_USB); in stopUSBTethering()