Home
last modified time | relevance | path

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

123456

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DPersistentConnectionTest.java115 assertFalse(conn.isConnected()); in testAll()
129 assertFalse(conn.isConnected()); in testAll()
147 assertTrue(conn.isConnected()); in testAll()
160 assertFalse(conn.isConnected()); in testAll()
169 assertFalse(conn.isConnected()); in testAll()
183 assertFalse(conn.isConnected()); in testAll()
195 assertTrue(conn.isConnected()); in testAll()
207 assertFalse(conn.isConnected()); in testAll()
223 assertFalse(conn.isConnected()); in testAll()
235 assertTrue(conn.isConnected()); in testAll()
[all …]
/frameworks/base/core/java/android/net/
DLocalSocket.java38 private boolean isConnected; field in LocalSocket
70 this.isConnected = false; in LocalSocket()
97 socket.isConnected = true; in createConnectedLocalSocket()
140 if (isConnected) { in connect()
146 isConnected = true; in connect()
264 public synchronized boolean isConnected() { in isConnected() method in LocalSocket
265 return isConnected; in isConnected()
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DImsServiceTest.java127 mTestImsServiceBinder.isConnected(TEST_SLOT_0, ImsFeature.MMTEL, 0 /*callSessionType*/, in testCallMethodOnCreatedFeature()
130 verify(mTestImsService.mSpyMMTelFeature).isConnected(anyInt(), anyInt()); in testCallMethodOnCreatedFeature()
138 mTestImsServiceBinder.isConnected(TEST_SLOT_1, ImsFeature.MMTEL, 0 /*callSessionType*/, in testCallMethodWithNoCreatedFeature()
141 verify(mTestImsService.mSpyMMTelFeature, never()).isConnected(anyInt(), anyInt()); in testCallMethodWithNoCreatedFeature()
167 mTestImsServiceBinder.isConnected(TEST_SLOT_1, ImsFeature.MMTEL, 0 /*callSessionType*/, in testMethodWithNoPermissions()
174 verify(mTestImsService.mSpyMMTelFeature, never()).isConnected(anyInt(), anyInt()); in testMethodWithNoPermissions()
/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/media/java/android/media/browse/
DMediaBrowser.java272 public boolean isConnected() { in isConnected() method in MediaBrowser
280 if (!isConnected()) { in getServiceComponent()
297 if (!isConnected()) { in getRoot()
310 if (!isConnected()) { in getExtras()
329 if (!isConnected()) { in getSessionToken()
492 if (isConnected()) { in subscribeInternal()
520 if (isConnected()) { in unsubscribeInternal()
529 if (isConnected()) { in unsubscribeInternal()
/frameworks/support/media-compat/java/android/support/v4/media/
DMediaBrowserCompat.java217 public boolean isConnected() { in isConnected() method in MediaBrowserCompat
218 return mImpl.isConnected(); in isConnected()
940 boolean isConnected(); in isConnected() method
1116 public boolean isConnected() { in isConnected() method in MediaBrowserCompat.MediaBrowserImplBase
1122 if (!isConnected()) { in getServiceComponent()
1131 if (!isConnected()) { in getRoot()
1140 if (!isConnected()) { in getExtras()
1149 if (!isConnected()) { in getSessionToken()
1170 if (isConnected()) { in subscribe()
1192 if (isConnected()) { in unsubscribe()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java54 connecting = networkInfo != null && !networkInfo.isConnected() in handleBroadcast()
56 connected = networkInfo != null && networkInfo.isConnected(); in handleBroadcast()
/frameworks/support/media-compat/tests/src/android/support/v4/media/
DMediaBrowserCompatTest.java89 assertFalse(mMediaBrowser.isConnected()); in testMediaBrowser()
92 assertTrue(mMediaBrowser.isConnected()); in testMediaBrowser()
105 return !mMediaBrowser.isConnected(); in testMediaBrowser()
114 assertFalse(mMediaBrowser.isConnected()); in testMediaBrowserWithRemoteService()
117 assertTrue(mMediaBrowser.isConnected()); in testMediaBrowserWithRemoteService()
129 return !mMediaBrowser.isConnected(); in testMediaBrowserWithRemoteService()
/frameworks/support/media-compat/api21/android/support/v4/media/
DMediaBrowserCompatApi21.java52 public static boolean isConnected(Object browserObj) { in isConnected() method in MediaBrowserCompatApi21
53 return ((MediaBrowser)browserObj).isConnected(); in isConnected()
/frameworks/base/core/java/android/bluetooth/
DIBluetoothPbap.aidl31 boolean isConnected(in BluetoothDevice device); in isConnected() method
DIBluetoothSap.aidl31 boolean isConnected(in BluetoothDevice device); in isConnected() method
DIBluetoothMap.aidl31 boolean isConnected(in BluetoothDevice device); in isConnected() method
DIBluetoothMapClient.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/java/android/widget/
DRemoteViewsAdapter.java300 public synchronized boolean isConnected() { in isConnected() method in RemoteViewsAdapter.RemoteViewsAdapterServiceConnection
894 if (mServiceConnection.isConnected()) { in loadNextIndexInBackground()
1091 boolean isConnected = mServiceConnection.isConnected(); in getView()
1098 if (!isInCache && !isConnected) { in getView()
1249 if (!mServiceConnection.isConnected()) { in notifyDataSetChanged()
1272 if (mServiceConnection.isConnected()) { in handleMessage()
1291 if (!mServiceConnection.isConnected()) { in requestBindService()
1297 return mServiceConnection.isConnected(); in requestBindService()
/frameworks/base/core/java/android/nfc/tech/
DTagTechnology.java220 public boolean isConnected(); in isConnected() method
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkTest.java72 assertTrue(mDgramSocket.isConnected()); in testBindSocketOfConnectedDatagramSocketThrows()
93 assertTrue(mLocalClient.isConnected()); in testBindSocketOfLocalSocketThrows()
/frameworks/base/telephony/java/android/telephony/ims/
DImsServiceProxyCompat.java70 public boolean isConnected(int callServiceType, int callType) in isConnected() method in ImsServiceProxyCompat
73 return getServiceInterface(mBinder).isConnected(SERVICE_ID, callServiceType, callType); in isConnected()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java113 return device.getName() + " " + device.getBondState() + " " + device.isConnected(); in getDeviceString()
196 if (mLastDevice != null && !mLastDevice.isConnected()) { in updateConnected()
207 if (mLastDevice == null && device.isConnected()) { in updateConnected()
/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/services/core/jni/
Dcom_android_server_hdmi_HdmiCecController.cpp83 bool isConnected(int port);
311 bool HdmiCecController::isConnected(int port) { in isConnected() function in android::HdmiCecController
312 Return<bool> ret = mHdmiCec->isConnected(port); in isConnected()
431 return controller->isConnected(port) ? JNI_TRUE : JNI_FALSE ; in nativeIsConnected()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWificondPnoScannerTest.java363 private WifiNative.PnoSettings createDummyPnoSettings(boolean isConnected) { in createDummyPnoSettings() argument
365 pnoSettings.isConnected = isConnected; in createDummyPnoSettings()
396 if (mScanner.isHwPnoSupported(pnoSettings.isConnected)) { in startSuccessfulPnoScan()
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java161 } else if (egressInfo.isConnected() && !vpnInfo.isConnectedOrConnecting()) { in handleStateChangedLocked()
182 } else if (vpnInfo.isConnected() && vpnConfig != null) { in handleStateChangedLocked()
328 if (info.isConnected()) { in augmentNetworkInfo()

123456