Home
last modified time | relevance | path

Searched refs:isConnected (Results 1 – 25 of 69) sorted by relevance

123

/external/glide/library/src/main/java/com/bumptech/glide/manager/
DDefaultConnectivityMonitor.java14 private boolean isConnected; field in DefaultConnectivityMonitor
20 boolean wasConnected = isConnected;
21 isConnected = isConnected(context);
22 if (wasConnected != isConnected) {
23 listener.onConnectivityChanged(isConnected);
38 isConnected = isConnected(context); in register()
52 private boolean isConnected(Context context) { in isConnected() method in DefaultConnectivityMonitor
56 return networkInfo != null && networkInfo.isConnected(); in isConnected()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowNetworkInfo.java18 private boolean isConnected; field in ShadowNetworkInfo
33 boolean isConnected) { in newInstance() argument
40 info.setConnectionStatus(isConnected); in newInstance()
45 public boolean isConnected() { in isConnected() method in ShadowNetworkInfo
46 return isConnected; in isConnected()
51 return isConnected; in isConnectedOrConnecting()
56 return isConnected ? NetworkInfo.State.CONNECTED : in getState()
96 public void setConnectionStatus(boolean isConnected) { in setConnectionStatus() argument
97 this.isConnected = isConnected; in setConnectionStatus()
/external/apache-http/src/org/apache/http/impl/conn/
DAbstractPoolEntry.java154 if ((this.tracker != null) && this.tracker.isConnected()) { in open()
212 if ((this.tracker == null) || !this.tracker.isConnected()) { in tunnelTarget()
257 if ((this.tracker == null) || !this.tracker.isConnected()) { in tunnelProxy()
286 if ((this.tracker == null) || !this.tracker.isConnected()) { in layerProtocol()
/external/mockftpserver/tags/1.1/src/test/java/org/mockftpserver/stub/
DStubFtpServer_MultipleClientsIntegrationTest.java122 if (ftpClient1.isConnected()) { in tearDown()
125 if (ftpClient2.isConnected()) { in tearDown()
128 if (ftpClient3.isConnected()) { in tearDown()
/external/mockftpserver/tags/1.0/src/test/java/org/mockftpserver/stub/
DStubFtpServer_MultipleClientsIntegrationTest.java122 if (ftpClient1.isConnected()) { in tearDown()
125 if (ftpClient2.isConnected()) { in tearDown()
128 if (ftpClient3.isConnected()) { in tearDown()
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/java/org/mockftpserver/stub/
DStubFtpServer_MultipleClientsIntegrationTest.java124 if (ftpClient1.isConnected()) { in tearDown()
127 if (ftpClient2.isConnected()) { in tearDown()
130 if (ftpClient3.isConnected()) { in tearDown()
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/stub/
DStubFtpServer_MultipleClientsIntegrationTest.java124 if (ftpClient1.isConnected()) { in tearDown()
127 if (ftpClient2.isConnected()) { in tearDown()
130 if (ftpClient3.isConnected()) { in tearDown()
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/java/org/mockftpserver/stub/
DStubFtpServer_MultipleClientsIntegrationTest.java123 if (ftpClient1.isConnected()) { in tearDown()
126 if (ftpClient2.isConnected()) { in tearDown()
129 if (ftpClient3.isConnected()) { in tearDown()
/external/mockftpserver/tags/2.5/src/test/java/org/mockftpserver/stub/
DStubFtpServer_MultipleClientsIntegrationTest.java124 if (ftpClient1.isConnected()) { in tearDown()
127 if (ftpClient2.isConnected()) { in tearDown()
130 if (ftpClient3.isConnected()) { in tearDown()
/external/mockftpserver/tags/2.0-rc1/src/test/java/org/mockftpserver/stub/
DStubFtpServer_MultipleClientsIntegrationTest.java124 if (ftpClient1.isConnected()) { in tearDown()
127 if (ftpClient2.isConnected()) { in tearDown()
130 if (ftpClient3.isConnected()) { in tearDown()
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/stub/
DStubFtpServer_MultipleClientsIntegrationTest.java123 if (ftpClient1.isConnected()) { in tearDown()
126 if (ftpClient2.isConnected()) { in tearDown()
129 if (ftpClient3.isConnected()) { in tearDown()
/external/mockftpserver/tags/2.3/src/test/java/org/mockftpserver/stub/
DStubFtpServer_MultipleClientsIntegrationTest.java123 if (ftpClient1.isConnected()) { in tearDown()
126 if (ftpClient2.isConnected()) { in tearDown()
129 if (ftpClient3.isConnected()) { in tearDown()
/external/mockftpserver/tags/2.0.2/src/test/java/org/mockftpserver/stub/
DStubFtpServer_MultipleClientsIntegrationTest.java123 if (ftpClient1.isConnected()) { in tearDown()
126 if (ftpClient2.isConnected()) { in tearDown()
129 if (ftpClient3.isConnected()) { in tearDown()
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/java/org/mockftpserver/stub/
DStubFtpServer_MultipleClientsIntegrationTest.java123 if (ftpClient1.isConnected()) { in tearDown()
126 if (ftpClient2.isConnected()) { in tearDown()
129 if (ftpClient3.isConnected()) { in tearDown()
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/
DStubFtpServer_MultipleClientsIntegrationTest.java124 if (ftpClient1.isConnected()) { in tearDown()
127 if (ftpClient2.isConnected()) { in tearDown()
130 if (ftpClient3.isConnected()) { in tearDown()
/external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/stub/
DStubFtpServer_MultipleClientsIntegrationTest.java124 if (ftpClient1.isConnected()) { in tearDown()
127 if (ftpClient2.isConnected()) { in tearDown()
130 if (ftpClient3.isConnected()) { in tearDown()
/external/mockftpserver/tags/1.2.1/src/test/java/org/mockftpserver/stub/
DStubFtpServer_MultipleClientsIntegrationTest.java124 if (ftpClient1.isConnected()) { in tearDown()
127 if (ftpClient2.isConnected()) { in tearDown()
130 if (ftpClient3.isConnected()) { in tearDown()
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/stub/
DStubFtpServer_MultipleClientsIntegrationTest.java123 if (ftpClient1.isConnected()) { in tearDown()
126 if (ftpClient2.isConnected()) { in tearDown()
129 if (ftpClient3.isConnected()) { in tearDown()
/external/mockftpserver/tags/2.1/src/test/java/org/mockftpserver/stub/
DStubFtpServer_MultipleClientsIntegrationTest.java123 if (ftpClient1.isConnected()) { in tearDown()
126 if (ftpClient2.isConnected()) { in tearDown()
129 if (ftpClient3.isConnected()) { in tearDown()
/external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/stub/
DStubFtpServer_MultipleClientsIntegrationTest.java123 if (ftpClient1.isConnected()) { in tearDown()
126 if (ftpClient2.isConnected()) { in tearDown()
129 if (ftpClient3.isConnected()) { in tearDown()
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/stub/
DStubFtpServer_MultipleClientsIntegrationTest.java124 if (ftpClient1.isConnected()) { in tearDown()
127 if (ftpClient2.isConnected()) { in tearDown()
130 if (ftpClient3.isConnected()) { in tearDown()
/external/mockftpserver/tags/1.2.4/src/test/java/org/mockftpserver/stub/
DStubFtpServer_MultipleClientsIntegrationTest.java124 if (ftpClient1.isConnected()) { in tearDown()
127 if (ftpClient2.isConnected()) { in tearDown()
130 if (ftpClient3.isConnected()) { in tearDown()
/external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/stub/
DStubFtpServer_MultipleClientsIntegrationTest.java124 if (ftpClient1.isConnected()) { in tearDown()
127 if (ftpClient2.isConnected()) { in tearDown()
130 if (ftpClient3.isConnected()) { in tearDown()
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/
DStubFtpServer_MultipleClientsIntegrationTest.java124 if (ftpClient1.isConnected()) { in tearDown()
127 if (ftpClient2.isConnected()) { in tearDown()
130 if (ftpClient3.isConnected()) { in tearDown()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DConnectivityManagerTest.java43 assertTrue(connectivityManager.getActiveNetworkInfo().isConnected()); in networkInfoShouldReturnTrueCorrectly()
60 assertFalse(connectivityManager.getActiveNetworkInfo().isConnected()); in networkInfoShouldReturnFalseCorrectly()
92 assertFalse(info.isConnected()); in shouldSetActiveNetworkInfo()

123