Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/android/net/
DLocalSocket.java37 private boolean isConnected; field in LocalSocket
65 isConnected = false; in LocalSocket()
75 isConnected = true; in LocalSocket()
85 this.isConnected = false; in LocalSocket()
126 if (isConnected) { in connect()
132 isConnected = true; in connect()
250 public synchronized boolean isConnected() { in isConnected() method in LocalSocket
251 return isConnected; in isConnected()
/frameworks/base/core/java/android/hardware/usb/
DUsbPortStatus.java50 public boolean isConnected() { in isConnected() method in UsbPortStatus
105 return "UsbPortStatus{connected=" + isConnected() in toString()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java282 public synchronized boolean isConnected() { in isConnected() method in RemoteViewsAdapter.RemoteViewsAdapterServiceConnection
896 if (mServiceConnection.isConnected()) { in loadNextIndexInBackground()
1089 boolean isConnected = mServiceConnection.isConnected(); in getView()
1096 if (!isInCache && !isConnected) { in getView()
1240 if (!mServiceConnection.isConnected()) { in notifyDataSetChanged()
1263 if (mServiceConnection.isConnected()) { in handleMessage()
1282 if (!mServiceConnection.isConnected()) { in requestBindService()
1288 return mServiceConnection.isConnected(); in requestBindService()
/frameworks/support/media-compat/api21/android/support/v4/media/
DMediaBrowserCompatApi21.java51 public static boolean isConnected(Object browserObj) { in isConnected() method in MediaBrowserCompatApi21
52 return ((MediaBrowser)browserObj).isConnected(); in isConnected()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java104 return device.getName() + " " + device.getBondState() + " " + device.isConnected(); in getDeviceString()
181 if (mLastDevice != null && mLastDevice.isConnected()) { in updateConnected()
187 if (device.isConnected()) { in updateConnected()
/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
DIBluetoothSap.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()
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkTest.java72 assertTrue(mDgramSocket.isConnected()); in testBindSocketOfConnectedDatagramSocketThrows()
93 assertTrue(mLocalClient.isConnected()); in testBindSocketOfLocalSocketThrows()
/frameworks/support/media-compat/java/android/support/v4/media/
DMediaBrowserCompat.java136 public boolean isConnected() { in isConnected() method in MediaBrowserCompat
137 return mImpl.isConnected(); in isConnected()
748 boolean isConnected(); in isConnected() method
912 public boolean isConnected() { in isConnected() method in MediaBrowserCompat.MediaBrowserImplBase
918 if (!isConnected()) { in getServiceComponent()
927 if (!isConnected()) { in getRoot()
936 if (!isConnected()) { in getExtras()
945 if (!isConnected()) { in getSessionToken()
1354 public boolean isConnected() { in isConnected() method in MediaBrowserCompat.MediaBrowserImplApi21
1355 return MediaBrowserCompatApi21.isConnected(mBrowserObj); in isConnected()
[all …]
/frameworks/base/core/java/android/nfc/tech/
DTagTechnology.java220 public boolean isConnected(); in isConnected() method
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java159 } else if (egressInfo.isConnected() && !vpnInfo.isConnectedOrConnecting()) { in handleStateChangedLocked()
180 } else if (vpnInfo.isConnected() && vpnConfig != null) { in handleStateChangedLocked()
326 if (info.isConnected()) { in augmentNetworkInfo()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiHotplugEvent.java60 public boolean isConnected() { in isConnected() method in HdmiHotplugEvent
/frameworks/base/media/java/android/media/browse/
DMediaBrowser.java257 public boolean isConnected() { in isConnected() method in MediaBrowser
265 if (!isConnected()) { in getServiceComponent()
282 if (!isConnected()) { in getRoot()
295 if (!isConnected()) { in getExtras()
314 if (!isConnected()) { in getSessionToken()
/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DSupplicantPnoScannerTest.java369 private WifiNative.PnoSettings createDummyPnoSettings(boolean isConnected) { in createDummyPnoSettings() argument
371 pnoSettings.isConnected = isConnected; in createDummyPnoSettings()
403 if (mScanner.isHwPnoSupported(pnoSettings.isConnected)) { in startSuccessfulPnoScan()
/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/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/telephony/java/com/android/ims/internal/
DIImsService.aidl39 boolean isConnected(int serviceId, int serviceType, int callType); in isConnected() method
/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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DOutputPort.java47 public boolean isConnected() { in isConnected() method in OutputPort
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiQualifiedNetworkSelector.java361 private boolean needQualifiedNetworkSelection(boolean isLinkDebouncing, boolean isConnected, in needQualifiedNetworkSelection() argument
374 if (isConnected) { in needQualifiedNetworkSelection()
702 boolean isLinkDebouncing, boolean isConnected, boolean isDisconnected, in selectQualifiedNetwork() argument
716 if (!forceSelectNetwork && !needQualifiedNetworkSelection(isLinkDebouncing, isConnected, in selectQualifiedNetwork()
815 isSupplicantTransient || isConnected || isLinkDebouncing); in selectQualifiedNetwork()
943 if (isConnected && !scanResultsHaveCurrentBssid) { in selectQualifiedNetwork()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java42 connected = networkInfo != null && networkInfo.isConnected(); in handleBroadcast()

12345