Home
last modified time | relevance | path

Searched refs:isConnected (Results 1 – 25 of 57) 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.java203 if (info.isConnected() && isActiveNetwork(info)) { in processMessage()
227 if (!info.isConnected() in processMessage()
232 info.isConnected() && in processMessage()
DNetworkInfo.java244 public boolean isConnected() { in isConnected() method in NetworkInfo
/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/nfc/tech/
DTagTechnology.java220 public boolean isConnected(); in isConnected() method
DBasicTagTechnology.java57 public boolean isConnected() { in isConnected() method in BasicTagTechnology
/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.java144 } else if (egressInfo.isConnected() && !vpnInfo.isConnectedOrConnecting()) { in handleStateChangedLocked()
158 } else if (vpnInfo.isConnected() && vpnConfig != null) { in handleStateChangedLocked()
285 if (info.isConnected()) { in augmentNetworkInfo()
/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/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/ru/training/monitoring-device-state/
Dconnectivity-monitoring.jd46 boolean isConnected = activeNetwork.isConnectedOrConnecting();</pre>
/frameworks/base/services/java/com/android/server/display/
DWifiDisplayAdapter.java397 final boolean isConnected; in handleUpdateNotification()
404 isConnected = (mDisplayDevice != null); in handleUpdateNotification()
411 if (isConnected) { in handleUpdateNotification()
/frameworks/base/media/java/android/media/
DMediaScannerConnection.java147 public synchronized boolean isConnected() { in isConnected() method in MediaScannerConnection
/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/opt/photoviewer/src/com/android/ex/photo/fragments/
DPhotoViewFragment.java265 mConnected = activeNetInfo.isConnected(); in onResume()
560 if (mConnected == false && activeNetInfo.isConnected() && !isPhotoBound()) { in onReceive()
/frameworks/base/services/java/com/android/server/
DConnectivityService.java764 if (mNetTrackers[mNetworkPreference].getNetworkInfo().isConnected()) in enforcePreference()
772 mNetTrackers[t].getNetworkInfo().isConnected()) { in enforcePreference()
1184 if (ni.isConnected() == true) { in startUsingNetworkFeature()
1620 if (info != null && info.isConnected()) {
1771 if (networkInfo.isConnected() && networkInfo.getType() != prevNetType) { in handleDisconnect()
2207 if (mNetTrackers[netType].getNetworkInfo().isConnected()) { in handleConnectivityChange()
2306 if (mNetTrackers[netType].getNetworkInfo().isConnected()) { in handleConnectivityChange()
2477 if (nt.getNetworkInfo().isConnected() && in reassessPidDns()
2551 if (nt != null && nt.getNetworkInfo().isConnected() && !nt.isTeardownRequested()) { in handleDnsConfigurationChange()
2622 if (nst.getNetworkInfo().isConnected()) { in dump()
[all …]
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java519 return networkInfo.isConnected(); in isConnectedToMobile()
528 return networkInfo.isConnected(); in isConnectedToWifi()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java133 if (activeInfo != null && activeInfo.isConnected()) { in updateConnectedFlags()

123