Searched refs:isConnectedToNetwork (Results 1 – 7 of 7) sorted by relevance
80 when(mUtils.isConnectedToNetwork(mContext)).thenReturn(false); in test_NetworkNotConnected()92 when(mUtils.isConnectedToNetwork(mContext)).thenReturn(true); in test_NetworkTypeWifi()
157 assertTrue(mUtils.isConnectedToNetwork(mockContext)); in testIsConnectedToNetwork()163 assertTrue(mUtils.isConnectedToNetwork(mockContext)); in testIsConnectedToNetwork()169 assertFalse(mUtils.isConnectedToNetwork(mockContext)); in testIsConnectedToNetwork()
117 doReturn(false).when(mUtils).isConnectedToNetwork(mContext); in testNotConnected()187 doReturn(true).when(mUtils).isConnectedToNetwork(any(Context.class)); in mockSuccessfulDownload()
58 if (mUtils.isConnectedToNetwork(mContext)) { in log()
102 if (!mUtils.isConnectedToNetwork(mContext)) { in run()
504 public boolean isConnectedToNetwork(Context context) { in isConnectedToNetwork() method in Utils
241 if (!mUtils.isConnectedToNetwork(mContext) && mParams.wifiInfo == null in initiateProvisioning()