Home
last modified time | relevance | path

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

1234

/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-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNetworkInfo.java29 boolean isConnected) { in newInstance() argument
35 isConnected ? NetworkInfo.State.CONNECTED : NetworkInfo.State.DISCONNECTED); in newInstance()
56 protected boolean isConnected() { in isConnected() method in ShadowNetworkInfo
62 return isConnected() || state == NetworkInfo.State.CONNECTING; in isConnectedOrConnecting()
109 public void setConnectionStatus(boolean isConnected) { in setConnectionStatus() argument
110 setConnectionStatus(isConnected ? NetworkInfo.State.CONNECTED : NetworkInfo.State.DISCONNECTED); in setConnectionStatus()
/external/robolectric-shadows/shadows/supportv4/src/main/java/org/robolectric/shadows/support/v4/
DShadowMediaBrowserCompat.java45 private boolean isConnected; field in ShadowMediaBrowserCompat
69 isConnected = true; in connect()
78 isConnected = false; in disconnect()
83 protected boolean isConnected() { in isConnected() method in ShadowMediaBrowserCompat
84 return isConnected; in isConnected()
89 if (!isConnected) { in getRoot()
100 if (isConnected && mediaItem != null) { in getItem()
115 if (isConnected) { in subscribe()
154 if (isConnected) { in search()
/external/grpc-grpc-java/android/src/main/java/io/grpc/android/
DAndroidChannelBuilder.java324 private boolean isConnected = false; field in AndroidChannelBuilder.AndroidChannel.DefaultNetworkCallback
328 if (isConnected) { in onAvailable()
333 isConnected = true; in onAvailable()
338 isConnected = false; in onLost()
344 private boolean isConnected = false; field in AndroidChannelBuilder.AndroidChannel.NetworkReceiver
351 boolean wasConnected = isConnected; in onReceive()
352 isConnected = networkInfo != null && networkInfo.isConnected(); in onReceive()
353 if (isConnected && !wasConnected) { in onReceive()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DWaltUsbConnection.java114 public boolean isConnected() { in isConnected() method in WaltUsbConnection
115 return super.isConnected() && (endpointIn != null) && (endpointOut != null); in isConnected()
121 if (!isConnected()) { in sendByte()
136 if (!isConnected()) { in syncClock()
158 if (! isConnected()) { in updateLag()
DWaltDevice.java136 public boolean isConnected() { in isConnected() method in WaltDevice
137 return connection.isConnected(); in isConnected()
213 if (!isConnected()) throw new IOException("Not connected to WALT"); in checkVersion()
240 if (! isConnected()) { in checkDrift()
395 if (!isConnected()) { in startListener()
423 if (isConnected()) { in setConnectionStateListener()
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableRangeMapTest.java87 range1.isConnected(range2) && !range1.intersection(range2).isEmpty(); in testOverlapRejection()
103 if (!range1.isConnected(range2) || range1.intersection(range2).isEmpty()) { in testGet()
141 if (!range1.isConnected(range2) || range1.intersection(range2).isEmpty()) { in testSpanTwoRanges()
153 if (!range1.isConnected(range2) || range1.intersection(range2).isEmpty()) { in testGetEntry()
186 if (!range1.isConnected(range2) || range1.intersection(range2).isEmpty()) { in testAsMapOfRanges()
206 if (!range1.isConnected(range2) || range1.intersection(range2).isEmpty()) { in testSubRangeMap()
215 if (entry.getKey().isConnected(subRange) in testSubRangeMap()
/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/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/
Dmain.js90 return {isConnected: tcpServer.isConnected(),
94 return {isConnected: false};
/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/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/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/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.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/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/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.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/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.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.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/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-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.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.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()

1234