Home
last modified time | relevance | path

Searched refs:isConnected (Results 1 – 25 of 54) 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);
39 isConnected = isConnected(context); in register()
54 private boolean isConnected(Context context) { in isConnected() method in DefaultConnectivityMonitor
57 return networkInfo != null && networkInfo.isConnected(); in isConnected()
DConnectivityMonitor.java6 public void onConnectivityChanged(boolean isConnected); in onConnectivityChanged() argument
/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/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()
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLSocketImplWrapper.java36 if (!socket.isConnected()) { in OpenSSLSocketImplWrapper()
170 public boolean isConnected() { in isConnected() method in OpenSSLSocketImplWrapper
171 return socket.isConnected(); in isConnected()
/external/chromium_org/net/android/java/src/org/chromium/net/
DNetworkChangeNotifierAutoDetect.java47 boolean isConnected() { in isConnected() method in NetworkChangeNotifierAutoDetect.ConnectivityManagerDelegate
48 return mConnectivityManager.getActiveNetworkInfo().isConnected(); in isConnected()
155 !mConnectivityManagerDelegate.isConnected()) { in getCurrentConnectionType()
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
DChannelMergerNode.cpp82 if (input->isConnected()) { in process()
115 if (input->isConnected()) in checkNumberOfChannelsForInput()
DAudioSummingJunction.h59 bool isConnected() const { return numberOfRenderingConnections() > 0; } in isConnected() function
DAudioNodeOutput.h73 bool isConnected() { return fanOutCount() > 0 || paramFanOutCount() > 0; } in isConnected() function
DGainNode.cpp61 if (!isInitialized() || !input(0)->isConnected()) in process()
DAudioBasicInspectorNode.cpp98 if (output(0)->isConnected()) { in updatePullStatus()
DAnalyserNode.cpp61 if (!isInitialized() || !input(0)->isConnected()) { in process()
DAudioBasicProcessorNode.cpp97 if (!input(0)->isConnected()) in process()
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
Dmacdevicemanagermm.mm121 @"modelUniqueID: \"%@\", uniqueID \"%@\", isConnected: %d, "
128 [qt_capture_device isConnected],
163 @"modelID: \"%@\", uniqueID \"%@\", isConnected: %d, "
170 [capture_device isConnected],
/external/smack/src/org/jivesoftware/smack/
DBOSHConnection.java290 public boolean isConnected() { in isConnected() method in BOSHConnection
306 if (!isConnected()) { in login()
374 if (!isConnected()) { in loginAnonymously()
418 if (!isConnected()) { in sendPacket()
706 if (connEvent.isConnected()) { in connectionEvent()
DXMPPConnection.java191 if (!isConnected()) { in getConnectionID()
206 if (!isConnected()) { in login()
286 if (!isConnected()) { in loginAnonymously()
375 public boolean isConnected() { in isConnected() method in XMPPConnection
482 if (!isConnected()) { in disconnect()
501 if (!isConnected()) { in sendPacket()
DReconnectionManager.java68 return !done && !connection.isConnected() in isReconnectionAllowed()
DConnection.java292 public abstract boolean isConnected(); in isConnected() method in Connection
549 if (!isConnected()) { in addConnectionListener()
/external/guava/guava-tests/test/com/google/common/collect/
DRangeTest.java119 assertTrue(Ranges.closed(3, 5).isConnected(Ranges.open(5, 6))); in testIsConnected()
120 assertTrue(Ranges.closed(3, 5).isConnected(Ranges.openClosed(5, 5))); in testIsConnected()
121 assertTrue(Ranges.open(3, 5).isConnected(Ranges.closed(5, 6))); in testIsConnected()
122 assertTrue(Ranges.closed(3, 7).isConnected(Ranges.open(6, 8))); in testIsConnected()
123 assertTrue(Ranges.open(3, 7).isConnected(Ranges.closed(5, 6))); in testIsConnected()
124 assertFalse(Ranges.closed(3, 5).isConnected(Ranges.closed(7, 8))); in testIsConnected()
125 assertFalse(Ranges.closed(3, 5).isConnected(Ranges.closedOpen(7, 7))); in testIsConnected()
/external/smack/src/com/kenai/jbosh/
DBOSHClientConnEvent.java148 public boolean isConnected() { in isConnected() method in BOSHClientConnEvent
/external/chromium_org/third_party/skia/experimental/Networking/
DSkSockets.h43 bool isConnected() { return fConnected; } in isConnected() function
/external/skia/experimental/Networking/
DSkSockets.h43 bool isConnected() { return fConnected; } in isConnected() function
/external/deqp/framework/delibs/decpp/
DdeSocket.hpp81 bool isConnected (void) const { return getState() == DE_SOCKETSTATE_CONNECTED; } in isConnected() function in de::Socket
/external/chromium_org/device/bluetooth/
Dbluetooth_device_mac.mm95 if (![device_ isConnected]) {
123 return [device_ isConnected];

123