Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/net/
DLocalSocket.java36 private boolean isConnected; field in LocalSocket
44 isConnected = false; in LocalSocket()
53 isConnected = true; in LocalSocket()
62 this.isConnected = false; in LocalSocket()
103 if (isConnected) { in connect()
109 isConnected = true; in connect()
227 public synchronized boolean isConnected() { in isConnected() method in LocalSocket
228 return isConnected; in isConnected()
DCaptivePortalTracker.java176 if (info.isConnected() && isActiveNetwork(info)) { in processMessage()
200 if (!info.isConnected() in processMessage()
205 info.isConnected() && in processMessage()
/frameworks/base/core/java/android/accessibilityservice/
DUiTestAutomationBridge.java119 if (isConnected()) { in connect()
203 if (isConnected()) { in connect()
226 if (!isConnected()) { in disconnect()
247 public boolean isConnected() { in isConnected() method in UiTestAutomationBridge
/frameworks/base/core/java/android/bluetooth/
DIBluetoothPbap.aidl31 boolean isConnected(in BluetoothDevice device); in isConnected() method
DBluetoothPbap.java246 public boolean isConnected(BluetoothDevice device) { in isConnected() method in BluetoothPbap
250 return mService.isConnected(device); in isConnected()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java285 public synchronized boolean isConnected() { in isConnected() method in RemoteViewsAdapter.RemoteViewsAdapterServiceConnection
943 if (mServiceConnection.isConnected()) { in loadNextIndexInBackground()
1152 boolean isConnected = mServiceConnection.isConnected(); in getView()
1159 if (!isInCache && !isConnected) { in getView()
1348 if (!mServiceConnection.isConnected()) { in notifyDataSetChanged()
1375 if (mServiceConnection.isConnected()) { in handleMessage()
1394 if (!mServiceConnection.isConnected()) { in requestBindService()
1400 return mServiceConnection.isConnected(); in requestBindService()
/frameworks/base/services/java/com/android/server/net/
DLockdownVpnTracker.java134 } else if (egressInfo.isConnected() && !vpnInfo.isConnectedOrConnecting()) { in handleStateChangedLocked()
148 } else if (vpnInfo.isConnected() && vpnConfig != null) { in handleStateChangedLocked()
271 if (info.isConnected()) { in augmentNetworkInfo()
/frameworks/base/core/java/android/nfc/tech/
DTagTechnology.java219 public boolean isConnected(); in isConnected() method
DBasicTagTechnology.java57 public boolean isConnected() { in isConnected() method in BasicTagTechnology
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DInputPort.java38 public boolean isConnected() { in isConnected() method in InputPort
DOutputPort.java40 public boolean isConnected() { in isConnected() method in OutputPort
/frameworks/base/docs/html/training/basics/network-ops/
Dmanaging.jd101 boolean isWifiConn = networkInfo.isConnected();
103 boolean isMobileConn = networkInfo.isConnected();
110 android.net.NetworkInfo#isConnected isConnected()} before performing network
111 operations, since {@link android.net.NetworkInfo#isConnected isConnected()}
128 return (networkInfo != null && networkInfo.isConnected());
359 if (activeInfo != null && activeInfo.isConnected()) {
Dconnecting.jd65 and {@link android.net.NetworkInfo#isConnected isConnected()}.
78 if (networkInfo != null && networkInfo.isConnected()) {
138 if (networkInfo != null && networkInfo.isConnected()) {
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java260 assertTrue(mNetworkInfo.isConnected()); in testWifiBroadcasts()
269 assertTrue(!mNetworkInfo.isConnected()); in testWifiBroadcasts()
/frameworks/base/docs/html-intl/ko/training/monitoring-device-state/
Dconnectivity-monitoring.jd46 boolean isConnected = activeNetwork.isConnectedOrConnecting();</pre>
/frameworks/base/docs/html-intl/zh-cn/training/monitoring-device-state/
Dconnectivity-monitoring.jd46 boolean isConnected = activeNetwork.isConnectedOrConnecting();</pre>
/frameworks/base/docs/html/intl/ko/training/monitoring-device-state/
Dconnectivity-monitoring.jd46 boolean isConnected = activeNetwork.isConnectedOrConnecting();</pre>
/frameworks/base/docs/html-intl/ja/training/monitoring-device-state/
Dconnectivity-monitoring.jd46 boolean isConnected = activeNetwork.isConnectedOrConnecting();</pre>
/frameworks/base/docs/html/intl/zh-CN/training/monitoring-device-state/
Dconnectivity-monitoring.jd46 boolean isConnected = activeNetwork.isConnectedOrConnecting();</pre>
/frameworks/base/docs/html/intl/ja/training/monitoring-device-state/
Dconnectivity-monitoring.jd46 boolean isConnected = activeNetwork.isConnectedOrConnecting();</pre>
/frameworks/base/docs/html/intl/ru/training/monitoring-device-state/
Dconnectivity-monitoring.jd46 boolean isConnected = activeNetwork.isConnectedOrConnecting();</pre>
/frameworks/base/docs/html-intl/ru/training/monitoring-device-state/
Dconnectivity-monitoring.jd46 boolean isConnected = activeNetwork.isConnectedOrConnecting();</pre>
/frameworks/base/services/java/com/android/server/display/
DWifiDisplayAdapter.java396 final boolean isConnected; in handleUpdateNotification()
403 isConnected = (mDisplayDevice != null); in handleUpdateNotification()
410 if (isConnected) { in handleUpdateNotification()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerBaseTest.java169 Log.i(LOG_TAG, "WiFi Connection state is currently: " + info.isConnected()); in getWiFiIsOn()
170 return info.isConnected(); in getWiFiIsOn()
/frameworks/base/media/java/android/media/
DMediaScannerConnection.java147 public synchronized boolean isConnected() { in isConnected() method in MediaScannerConnection

123