Searched refs:isConnectedToNetwork (Results 1 – 7 of 7) sorted by relevance
84 when(mUtils.isConnectedToNetwork(mContext)).thenReturn(false); in test_NetworkNotConnected()96 when(mUtils.isConnectedToNetwork(mContext)).thenReturn(true); in test_NetworkTypeWifi()
171 assertTrue(mUtils.isConnectedToNetwork(mockContext)); in testIsConnectedToNetwork()177 assertTrue(mUtils.isConnectedToNetwork(mockContext)); in testIsConnectedToNetwork()183 assertFalse(mUtils.isConnectedToNetwork(mockContext)); in testIsConnectedToNetwork()
121 doReturn(false).when(mUtils).isConnectedToNetwork(mContext); in testNotConnected()194 doReturn(true).when(mUtils).isConnectedToNetwork(any(Context.class)); in mockSuccessfulDownload()
111 && mUtils.isConnectedToNetwork(mContext); in isLegacyConnected()
106 if (!mUtils.isConnectedToNetwork(mContext)) { in run()
69 if (mUtils.isConnectedToNetwork(mContext)) { in log()
486 public boolean isConnectedToNetwork(Context context) { in isConnectedToNetwork() method in Utils