/frameworks/base/core/java/android/net/ |
D | LocalSocket.java | 36 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()
|
D | CaptivePortalTracker.java | 203 if (info.isConnected() && isActiveNetwork(info)) { in processMessage() 227 if (!info.isConnected() in processMessage() 232 info.isConnected() && in processMessage()
|
D | NetworkInfo.java | 244 public boolean isConnected() { in isConnected() method in NetworkInfo
|
/frameworks/base/core/java/android/bluetooth/ |
D | IBluetoothPbap.aidl | 31 boolean isConnected(in BluetoothDevice device); in isConnected() method
|
D | BluetoothPbap.java | 246 public boolean isConnected(BluetoothDevice device) { in isConnected() method in BluetoothPbap 250 return mService.isConnected(device); in isConnected()
|
/frameworks/base/core/java/android/nfc/tech/ |
D | TagTechnology.java | 220 public boolean isConnected(); in isConnected() method
|
D | BasicTagTechnology.java | 57 public boolean isConnected() { in isConnected() method in BasicTagTechnology
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViewsAdapter.java | 285 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/ |
D | LockdownVpnTracker.java | 144 } 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/ |
D | InputPort.java | 38 public boolean isConnected() { in isConnected() method in InputPort
|
D | OutputPort.java | 40 public boolean isConnected() { in isConnected() method in OutputPort
|
/frameworks/base/docs/html/training/basics/network-ops/ |
D | managing.jd | 101 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()) {
|
D | connecting.jd | 65 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/ |
D | WifiClientTest.java | 260 assertTrue(mNetworkInfo.isConnected()); in testWifiBroadcasts() 269 assertTrue(!mNetworkInfo.isConnected()); in testWifiBroadcasts()
|
/frameworks/base/docs/html-intl/zh-cn/training/monitoring-device-state/ |
D | connectivity-monitoring.jd | 46 boolean isConnected = activeNetwork.isConnectedOrConnecting();</pre>
|
/frameworks/base/docs/html-intl/ko/training/monitoring-device-state/ |
D | connectivity-monitoring.jd | 46 boolean isConnected = activeNetwork.isConnectedOrConnecting();</pre>
|
/frameworks/base/docs/html-intl/ja/training/monitoring-device-state/ |
D | connectivity-monitoring.jd | 46 boolean isConnected = activeNetwork.isConnectedOrConnecting();</pre>
|
/frameworks/base/docs/html-intl/ru/training/monitoring-device-state/ |
D | connectivity-monitoring.jd | 46 boolean isConnected = activeNetwork.isConnectedOrConnecting();</pre>
|
/frameworks/base/services/java/com/android/server/display/ |
D | WifiDisplayAdapter.java | 397 final boolean isConnected; in handleUpdateNotification() 404 isConnected = (mDisplayDevice != null); in handleUpdateNotification() 411 if (isConnected) { in handleUpdateNotification()
|
/frameworks/base/media/java/android/media/ |
D | MediaScannerConnection.java | 147 public synchronized boolean isConnected() { in isConnected() method in MediaScannerConnection
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
D | DownloadManagerBaseTest.java | 169 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/ |
D | PhotoViewFragment.java | 265 mConnected = activeNetInfo.isConnected(); in onResume() 560 if (mConnected == false && activeNetInfo.isConnected() && !isPhotoBound()) { in onReceive()
|
/frameworks/base/services/java/com/android/server/ |
D | ConnectivityService.java | 764 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/ |
D | ConnectionUtil.java | 519 return networkInfo.isConnected(); in isConnectedToMobile() 528 return networkInfo.isConnected(); in isConnectedToWifi()
|
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
D | NetworkActivity.java | 133 if (activeInfo != null && activeInfo.isConnected()) { in updateConnectedFlags()
|