OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:isconnected
(Results
1 - 25
of
643
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/glide/library/src/main/java/com/bumptech/glide/manager/
DefaultConnectivityMonitor.java
14
private boolean
isConnected
;
20
boolean wasConnected =
isConnected
;
21
isConnected
=
isConnected
(context);
22
if (wasConnected !=
isConnected
) {
23
listener.onConnectivityChanged(
isConnected
);
38
isConnected
=
isConnected
(context);
52
private boolean
isConnected
(Context context) {
56
return networkInfo != null && networkInfo.
isConnected
();
[
all
...]
ConnectivityMonitor.java
15
* @param
isConnected
True if we're currently connected to a network, false otherwise.
17
void onConnectivityChanged(boolean
isConnected
);
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowNetworkInfo.java
18
private boolean
isConnected
;
33
boolean
isConnected
) {
40
info.setConnectionStatus(
isConnected
);
45
public boolean
isConnected
() {
46
return
isConnected
;
51
return
isConnected
;
56
return
isConnected
? NetworkInfo.State.CONNECTED :
92
* Sets up the return value of {@link #isConnectedOrConnecting()} and {@link @
isConnected
()}.
94
* @param
isConnected
the value that {@link #isConnectedOrConnecting()} and {@link #
isConnected
()} will return
[
all
...]
/cts/tests/tests/car/src/android/car/cts/
CarTest.java
37
assertFalse(mCar.
isConnected
());
41
assertTrue(mServiceConnectionListener.
isConnected
());
44
assertFalse(mCar.
isConnected
());
53
public synchronized boolean
isConnected
() {
/external/libweave/src/notification/
notification_channel.h
23
virtual bool
IsConnected
() const = 0;
/packages/services/Car/tests/android_car_api_test/src/com/android/car/apitest/
CarTest.java
61
assertFalse(car.
isConnected
());
67
assertTrue(car.
isConnected
());
80
assertFalse(car.
isConnected
());
86
assertFalse(car.
isConnected
());
/packages/services/Car/tests/android_support_car_api_test/src/com/android/support/car/apitest/
CarTest.java
70
assertFalse(car.
isConnected
());
76
assertTrue(car.
isConnected
());
89
assertFalse(car.
isConnected
());
95
assertFalse(car.
isConnected
());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
UnixSelectorTest.java
80
boolean
isConnected
= socketChannel.connect(server.socket.getLocalSocketAddress());
81
if (!
isConnected
) {
85
assertEquals(true, socketChannel.
isConnected
());
88
assertEquals(true, socketChannel.
isConnected
());
101
assertEquals(false, socketChannel2.
isConnected
());
DatagramChannelTest.java
268
assertFalse(dc.
isConnected
());// not connected
273
assertFalse(s1.
isConnected
());
328
assertTrue(s.
isConnected
());
347
assertFalse(channel1.
isConnected
());// not connected
352
assertTrue(channel1.
isConnected
());
353
assertTrue(s.
isConnected
());
356
assertFalse(channel1.
isConnected
());
357
assertFalse(s.
isConnected
());
368
assertFalse(this.channel1.
isConnected
());// not connected
389
assertTrue(this.channel1.
isConnected
());
[
all
...]
/external/guava/guava-tests/test/com/google/common/collect/
ImmutableRangeMapTest.java
87
range1.
isConnected
(range2) && !range1.intersection(range2).isEmpty();
103
if (!range1.
isConnected
(range2) || range1.intersection(range2).isEmpty()) {
141
if (!range1.
isConnected
(range2) || range1.intersection(range2).isEmpty()) {
153
if (!range1.
isConnected
(range2) || range1.intersection(range2).isEmpty()) {
186
if (!range1.
isConnected
(range2) || range1.intersection(range2).isEmpty()) {
206
if (!range1.
isConnected
(range2) || range1.intersection(range2).isEmpty()) {
215
if (entry.getKey().
isConnected
(subRange)
/external/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/
main.js
90
return {
isConnected
: tcpServer.
isConnected
(),
94
return {
isConnected
: false};
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
ConnectivityManagerTest.java
43
assertTrue(connectivityManager.getActiveNetworkInfo().
isConnected
());
60
assertFalse(connectivityManager.getActiveNetworkInfo().
isConnected
());
92
assertFalse(info.
isConnected
());
/cts/tests/tests/media/src/android/media/cts/
IConnectionStatus.java
30
public boolean
isConnected
();
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/win32/extras/WiiMote/
hiddevice.h
18
bool
IsConnected
() const {return mConnected;}
/frameworks/base/core/java/android/bluetooth/
IBluetoothPbap.aidl
31
boolean
isConnected
(in BluetoothDevice device);
/frameworks/base/core/java/android/net/
LocalSocket.java
37
private boolean
isConnected
;
65
isConnected
= false;
75
isConnected
= true;
85
this.
isConnected
= false;
126
if (
isConnected
) {
132
isConnected
= true;
250
public synchronized boolean
isConnected
() {
251
return
isConnected
;
/libcore/luni/src/test/java/libcore/java/net/
DatagramSocketTest.java
32
assertFalse(ds.
isConnected
());
53
assertFalse(ds.
isConnected
());
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
BluetoothPbapObexTransport.java
79
public boolean
isConnected
() throws IOException {
81
return mSocket.
isConnected
();
/libcore/luni/src/test/java/libcore/java/nio/channels/
SocketChannelTest.java
142
assertFalse(socket.
isConnected
());
167
assertFalse(sc.
isConnected
());
188
assertFalse(socket.
isConnected
());
214
assertFalse(socket.
isConnected
());
235
assertTrue(sc.
isConnected
());
236
assertTrue(sc.socket().
isConnected
());
256
assertFalse(sc.
isConnected
());
257
assertFalse(sc.socket().
isConnected
());
262
assertTrue(sc.
isConnected
());
263
assertTrue(sc.socket().
isConnected
());
[
all
...]
/libcore/ojluni/src/main/java/sun/nio/ch/
SocketAdaptor.java
161
// Use #remoteAddress and do manual
isConnected
check. #getRemoteAddress() returns
163
if (!
isConnected
()) {
184
// Use #remoteAddress and do manual
isConnected
check. #getRemoteAddress() returns
186
if (!
isConnected
()) {
268
if (!sc.
isConnected
())
290
if (!sc.
isConnected
())
458
if (sc.
isConnected
())
465
public boolean
isConnected
() {
466
return sc.
isConnected
();
/external/conscrypt/src/main/java/org/conscrypt/
OpenSSLSocketImplWrapper.java
36
if (!socket.
isConnected
()) {
164
public boolean
isConnected
() {
165
return socket.
isConnected
();
/developers/samples/android/connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/
FileTransferService.java
58
Log.d(MainActivity.TAG, "Client socket - " + socket.
isConnected
());
73
if (socket.
isConnected
()) {
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
FileTransferService.java
58
Log.d(WiFiDirectActivity.TAG, "Client socket - " + socket.
isConnected
());
73
if (socket.
isConnected
()) {
/cts/common/device-side/preconditions/src/com/android/compatibility/common/preconditions/
WifiHelper.java
37
return wifiNetworkInfo.
isConnected
();
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
UiAutomationTestA11yService.java
50
public boolean
isConnected
() {
Completed in 573 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>