Searched refs:isConnected (Results 1 – 13 of 13) sorted by relevance
327 if (BluetoothUtils.isConnected(device)) { in updateConnectedDevicesSlice()329 if (cachedDevice != null && cachedDevice.isConnected()) { in updateConnectedDevicesSlice()517 && BluetoothUtils.isConnected(device) && cachedDevice.isConnected() in createBluetoothDeviceSlice()553 boolean isConnected = BluetoothUtils.isConnected(device) && cachedDevice.isConnected(); in createBluetoothDeviceSlice()554 if (!isConnected || showDisconnectButton(device, context)) { in createBluetoothDeviceSlice()556 .setKey(isConnected ? KEY_DISCONNECT : KEY_CONNECT) in createBluetoothDeviceSlice()557 .setTitle(getString(isConnected in createBluetoothDeviceSlice()563 isConnected ? KEY_DISCONNECT : KEY_CONNECT, in createBluetoothDeviceSlice()564 isConnected ? R.string.settings_bt_disconnect in createBluetoothDeviceSlice()570 isConnected ? 1 /* default to NO (index 1) */ : 0 /* default to YES */ in createBluetoothDeviceSlice()[all …]
268 if (!BluetoothUtils.isConnected(device)) { in updateBtDevices()278 if (!BluetoothUtils.isConnected(device)) { in updateBtDevices()318 int updatedDevices = updateBtDevices(context, category, BluetoothUtils::isConnected, in updateConnectedDevices()
272 if (device == null || !device.isConnected()) { in addDevice()320 if (device == null || !device.isConnected() || !isRemote(device)) { in deviceCheckDfu()417 if (!BluetoothUtils.isConnected(device)) { in isRemoteLowBattery()435 if (!BluetoothUtils.isConnected(device)) { in isRemoteCriticalBattery()453 if (!BluetoothUtils.isConnected(device)) { in hasRemoteUpgrade()484 if (!BluetoothUtils.isConnected(device)) { in getRemoteDfuState()667 if (!BluetoothUtils.isConnected(device)) { in getBatteryLevel()766 if (device.isConnected()) { in onCreate()788 if (!device.isConnected()) { in dump()876 if (device.isConnected()) { in addListener()
86 public static boolean isConnected(BluetoothDevice device) { in isConnected() method in BluetoothUtils90 return device.getBondState() == BluetoothDevice.BOND_BONDED && device.isConnected(); in isConnected()97 return device.getBondState() == BluetoothDevice.BOND_BONDED && !device.isConnected(); in isBonded()
65 if (networkInfo.isConnected()) { in getEthernetDrawable()75 if (networkInfo.isConnected()) { in getWifiDrawable()103 if (networkInfo.isConnected()) { in getCellularDrawable()
48 if (connector->isConnected()) { in create()162 const bool oldConnected = mConnector->isConnected(); in checkAndHandleHotplug()164 const bool newConnected = mConnector->isConnected(); in checkAndHandleHotplug()
60 bool isConnected() const { return mConnector->isConnected(); } in isConnected() function
55 bool isConnected() const { return mStatus == DRM_MODE_CONNECTED; } in isConnected() function
121 if (!display->isConnected()) { in getDisplayConfigs()
58 if (info.isConnected()) { in execute()
71 if (info == null || !info.isAvailable() || !info.isConnected()) { in getConnectedResId()
187 "Failed to make socket connection to 8.8.8.8:53", s.isConnected()); in testWifiConnects()
28355 HSPLandroid/hardware/hdmi/HdmiHotplugEvent;->isConnected()Z28712 HSPLandroid/hardware/usb/UsbPortStatus;->isConnected()Z51958 HSPLjava/net/Socket;->isConnected()Z57551 HSPLlibcore/io/IoBridge;->isConnected(Ljava/io/FileDescriptor;Ljava/net/InetAddress;III)Z58199 HSPLsun/nio/ch/SocketAdaptor;->isConnected()Z58207 HSPLsun/nio/ch/SocketChannelImpl;->isConnected()Z