/frameworks/base/core/java/android/net/ |
D | LocalSocket.java | 35 private boolean isConnected; field in LocalSocket 43 isConnected = false; in LocalSocket() 52 this.isConnected = false; in LocalSocket() 93 if (isConnected) { in connect() 99 isConnected = true; in connect() 216 public synchronized boolean isConnected() { in isConnected() method in LocalSocket 217 return isConnected; in isConnected()
|
D | NetworkInfo.java | 231 public boolean isConnected() { in isConnected() method in NetworkInfo
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViewsAdapter.java | 238 public synchronized boolean isConnected() { in isConnected() method in RemoteViewsAdapter.RemoteViewsAdapterServiceConnection 757 if (mServiceConnection.isConnected()) { in loadNextIndexInBackground() 831 if (!mServiceConnection.isConnected()) return; in updateRemoteViews() 937 boolean isConnected = mServiceConnection.isConnected(); in getView() 940 if (!isInCache && !isConnected) { in getView() 1085 if (!mServiceConnection.isConnected()) { in notifyDataSetChanged() 1112 if (mServiceConnection.isConnected()) { in handleMessage() 1131 if (!mServiceConnection.isConnected()) { in requestBindService() 1137 return mServiceConnection.isConnected(); in requestBindService()
|
/frameworks/base/core/java/android/bluetooth/ |
D | IBluetoothPbap.aidl | 31 boolean isConnected(in BluetoothDevice device); in isConnected() method
|
D | BluetoothPbap.java | 185 public boolean isConnected(BluetoothDevice device) { in isConnected() method in BluetoothPbap 189 return mService.isConnected(device); in isConnected()
|
D | HeadsetBase.java | 254 public boolean isConnected() { in isConnected() method in HeadsetBase
|
D | BluetoothSocket.java | 282 public boolean isConnected() { in isConnected() method in BluetoothSocket
|
/frameworks/base/core/java/android/nfc/tech/ |
D | TagTechnology.java | 210 public boolean isConnected(); in isConnected() method
|
D | BasicTagTechnology.java | 57 public boolean isConnected() { in isConnected() method in BasicTagTechnology
|
/frameworks/base/media/java/android/media/ |
D | AudioService.java | 2379 boolean isConnected = in onReceive() 2383 if (isConnected && state != BluetoothProfile.STATE_CONNECTED) { in onReceive() 2395 } else if (!isConnected && state == BluetoothProfile.STATE_CONNECTED) { in onReceive() 2438 boolean isConnected = (mConnectedDevices.containsKey(device) && in onReceive() 2442 if (isConnected && state != BluetoothProfile.STATE_CONNECTED) { in onReceive() 2449 } else if (!isConnected && state == BluetoothProfile.STATE_CONNECTED) { in onReceive() 2462 boolean isConnected = in onReceive() 2464 if (state == 0 && isConnected) { in onReceive() 2469 } else if (state == 1 && !isConnected) { in onReceive() 2477 boolean isConnected = in onReceive() [all …]
|
D | MediaScannerConnection.java | 147 public synchronized boolean isConnected() { in isConnected() method in MediaScannerConnection
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
D | WifiClientTest.java | 260 assertTrue(mNetworkInfo.isConnected()); in testWifiBroadcasts() 269 assertTrue(!mNetworkInfo.isConnected()); in testWifiBroadcasts()
|
/frameworks/base/services/java/com/android/server/ |
D | ConnectivityService.java | 594 if (mNetTrackers[mNetworkPreference].getNetworkInfo().isConnected()) in enforcePreference() 602 mNetTrackers[t].getNetworkInfo().isConnected()) { in enforcePreference() 938 if (ni.isConnected() == true) { in startUsingNetworkFeature() 1133 if (tracker == null || !tracker.getNetworkInfo().isConnected() || in requestRouteToHostAddress() 1438 if (networkInfo.isConnected() && networkInfo.getType() != prevNetType) { in handleDisconnect() 1744 if (mNetTrackers[netType].getNetworkInfo().isConnected()) { in handleConnectivityChange() 1983 if (nt.getNetworkInfo().isConnected() && in reassessPidDns() 2109 if (nt != null && nt.getNetworkInfo().isConnected() && !nt.isTeardownRequested()) { in handleDnsConfigurationChange() 2172 if (nst.getNetworkInfo().isConnected()) { in dump() 2563 if (networkInfo.isConnected() == false) { in handleInetConditionHoldEnd()
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/ |
D | DownloadManagerBaseTest.java | 232 Log.i(LOG_TAG, "WiFi Connection state is currently: " + info.isConnected()); in getWiFiIsOn() 233 return info.isConnected(); in getWiFiIsOn()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerBaseTest.java | 227 Log.i(LOG_TAG, "WiFi Connection state is currently: " + info.isConnected()); in getWiFiIsOn() 228 return info.isConnected(); in getWiFiIsOn()
|
/frameworks/base/core/java/android/net/http/ |
D | AndroidHttpClientConnection.java | 159 return (this.open && this.socket != null && this.socket.isConnected()); in isOpen()
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | GsmDataConnectionTracker.java | 1930 if (isConnected() && ! mPhone.getServiceStateTracker().isConcurrentVoiceAndDataAllowed()) { in onVoiceCallStarted() 1940 if (isConnected()) { in onVoiceCallEnded() 1964 protected boolean isConnected() { in isConnected() method in GsmDataConnectionTracker 2285 if (isConnected()) { in handleMessage()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | NetworkController.java | 654 mWifiConnected = networkInfo != null && networkInfo.isConnected(); in updateWifiState() 736 mBluetoothTethered = info.isConnected() ? true: false; in updateConnectivity()
|
/frameworks/base/voip/java/com/android/server/sip/ |
D | SipService.java | 1146 if (info == null || info.isConnected() || in onConnectivityChanged() 1155 boolean connected = (info != null && info.isConnected() && in onConnectivityChanged()
|
/frameworks/base/docs/html/guide/topics/usb/ |
D | adk.jd | 589 repeatedly and calls <code>AndroidAccessory::isConnected()</code> to check for any connected 607 if (acc.isConnected()) { 621 <code>AndroidAccessory::isConnected()</code> method checks for these cases and responds 631 bool AndroidAccessory::isConnected(void) 855 re-configured in the <code>AndroidAccessory::isConnected()</code> function.</p>
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
D | ConnectivityManagerMobileTest.java | 104 assertTrue("not connected to cellular network", extraNetInfo.isConnected()); in verifyCellularConnection()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | DataConnectionTracker.java | 320 mIsWifiConnected = (networkInfo != null && networkInfo.isConnected());
|
/frameworks/base/core/java/android/content/ |
D | SyncManager.java | 261 return (networkInfo != null) && networkInfo.isConnected(); in readDataConnectionState() 1884 uidNetworkConnected = networkInfo != null && networkInfo.isConnected(); in maybeStartNextSyncLocked()
|
/frameworks/base/services/java/com/android/server/connectivity/ |
D | Tethering.java | 1256 if ((info != null) && info.isConnected()) { in chooseUpstreamType()
|
/frameworks/base/services/java/com/android/server/location/ |
D | GpsLocationProvider.java | 503 native_update_network_state(info.isConnected(), info.getType(), in handleUpdateNetworkState()
|