Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/net/
DLocalSocket.java36 private boolean isConnected; field in LocalSocket
64 isConnected = false; in LocalSocket()
74 isConnected = true; in LocalSocket()
84 this.isConnected = false; in LocalSocket()
125 if (isConnected) { in connect()
131 isConnected = true; in connect()
249 public synchronized boolean isConnected() { in isConnected() method in LocalSocket
250 return isConnected; in isConnected()
DNetwork.java307 if (socket.isConnected()) { in bindSocket()
323 if (socket.isConnected()) { in bindSocket()
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
DBluetoothPbapObexTransport.java79 public boolean isConnected() throws IOException { in isConnected() method in BluetoothPbapObexTransport
81 return mSocket.isConnected(); in isConnected()
/frameworks/base/media/java/android/media/browse/
DMediaBrowser.java225 public boolean isConnected() { in isConnected() method in MediaBrowser
233 if (!isConnected()) { in getServiceComponent()
250 if (!isConnected()) { in getRoot()
263 if (!isConnected()) { in getExtras()
282 if (!isConnected()) { in getSessionToken()
/frameworks/base/core/java/android/bluetooth/
DIBluetoothPbap.aidl31 boolean isConnected(in BluetoothDevice device); in isConnected() method
DIBluetoothMap.aidl31 boolean isConnected(in BluetoothDevice device); in isConnected() method
DBluetoothPbap.java250 public boolean isConnected(BluetoothDevice device) { in isConnected() method in BluetoothPbap
254 return mService.isConnected(device); in isConnected()
DBluetoothMap.java194 public boolean isConnected(BluetoothDevice device) { in isConnected() method in BluetoothMap
198 return mService.isConnected(device); in isConnected()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java282 public synchronized boolean isConnected() { in isConnected() method in RemoteViewsAdapter.RemoteViewsAdapterServiceConnection
935 if (mServiceConnection.isConnected()) { in loadNextIndexInBackground()
1143 boolean isConnected = mServiceConnection.isConnected(); in getView()
1150 if (!isInCache && !isConnected) { in getView()
1339 if (!mServiceConnection.isConnected()) { in notifyDataSetChanged()
1366 if (mServiceConnection.isConnected()) { in handleMessage()
1385 if (!mServiceConnection.isConnected()) { in requestBindService()
1391 return mServiceConnection.isConnected(); in requestBindService()
/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/hardware/hdmi/
DHdmiHotplugEvent.java60 public boolean isConnected() { in isConnected() method in HdmiHotplugEvent
/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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAccessPointControllerImpl.java198 ap.isConnected = (ap.networkId != AccessPoint.NO_NETWORK in updateAccessPoints()
202 if (ap.isConnected && mNetworkController != null) { in updateAccessPoints()
239 return ap.level + (ap.isConnected ? 20 : 0) + (ap.isConfigured ? 10 : 0);
DNetworkController.java67 public boolean isConnected; field in NetworkController.AccessPointController.AccessPoint
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java158 } else if (egressInfo.isConnected() && !vpnInfo.isConnectedOrConnecting()) { in handleStateChangedLocked()
179 } else if (vpnInfo.isConnected() && vpnConfig != null) { in handleStateChangedLocked()
325 if (info.isConnected()) { in augmentNetworkInfo()
/frameworks/base/telecomm/java/android/telecom/
DTelecomManager.java1086 boolean isConnected = getTelecomService() != null; in isServiceConnected()
1087 if (!isConnected) { in isServiceConnected()
1090 return isConnected; in isServiceConnected()
/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()) {
/frameworks/base/telephony/java/com/android/ims/internal/
DIImsService.aidl38 boolean isConnected(int serviceId, int serviceType, int callType); in isConnected() method
/frameworks/base/services/core/jni/
Dcom_android_server_hdmi_HdmiCecController.cpp67 bool isConnected(int port);
268 bool HdmiCecController::isConnected(int port) { in isConnected() function in android::HdmiCecController
384 return controller->isConnected(port) ? JNI_TRUE : JNI_FALSE ; in nativeIsConnected()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DOutputPort.java47 public boolean isConnected() { in isConnected() method in OutputPort
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java253 assertTrue(mNetworkInfo.isConnected()); in testWifiBroadcasts()
262 assertTrue(!mNetworkInfo.isConnected()); in testWifiBroadcasts()
/frameworks/base/docs/html-intl/intl/ko/training/monitoring-device-state/
Dconnectivity-monitoring.jd46 boolean isConnected = activeNetwork.isConnectedOrConnecting();</pre>
/frameworks/base/docs/html-intl/intl/zh-cn/training/monitoring-device-state/
Dconnectivity-monitoring.jd46 boolean isConnected = activeNetwork.isConnectedOrConnecting();</pre>

1234