Home
last modified time | relevance | path

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

/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/settings/
DConnectedDevicesSliceProvider.java327 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 …]
DConnectedDevicesPreferenceFragment.java268 if (!BluetoothUtils.isConnected(device)) { in updateBtDevices()
278 if (!BluetoothUtils.isConnected(device)) { in updateBtDevices()
318 int updatedDevices = updateBtDevices(context, category, BluetoothUtils::isConnected, in updateConnectedDevices()
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/
DBluetoothDeviceService.java272 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()
DBluetoothUtils.java86 public static boolean isConnected(BluetoothDevice device) { in isConnected() method in BluetoothUtils
90 return device.getBondState() == BluetoothDevice.BOND_BONDED && device.isConnected(); in isConnected()
97 return device.getBondState() == BluetoothDevice.BOND_BONDED && !device.isConnected(); in isBonded()
/device/google/atv/TvSampleLeanbackLauncher/src/main/java/com/example/sampleleanbacklauncher/apps/
DNetworkLaunchItem.java65 if (networkInfo.isConnected()) { in getEthernetDrawable()
75 if (networkInfo.isConnected()) { in getWifiDrawable()
103 if (networkInfo.isConnected()) { in getCellularDrawable()
/device/generic/goldfish-opengl/system/hwc3/
DDrmDisplay.cpp48 if (connector->isConnected()) { in create()
162 const bool oldConnected = mConnector->isConnected(); in checkAndHandleHotplug()
164 const bool newConnected = mConnector->isConnected(); in checkAndHandleHotplug()
DDrmDisplay.h60 bool isConnected() const { return mConnector->isConnected(); } in isConnected() function
DDrmConnector.h55 bool isConnected() const { return mStatus == DRM_MODE_CONNECTED; } in isConnected() function
DDrmClient.cpp121 if (!display->isConnected()) { in getDisplayConfigs()
/device/google/cuttlefish/guest/monitoring/cuttlefish_service/java/com/android/google/gce/gceservice/
DConnectivityChecker.java58 if (info.isConnected()) { in execute()
/device/sample/apps/tv/LeanbackWidget/src/com/google/android/leanbacklauncher/partnerwidget/
DClockWidgetProvider.java71 if (info == null || !info.isAvailable() || !info.isConnected()) { in getConnectedResId()
/device/google/cuttlefish/tests/wifi/src/com/android/cuttlefish/wifi/tests/
DWifiE2eTests.java187 "Failed to make socket connection to 8.8.8.8:53", s.isConnected()); in testWifiConnects()
/device/google/atv/products/lowram_boot_profiles/
Dboot-image-profile.txt28355 HSPLandroid/hardware/hdmi/HdmiHotplugEvent;->isConnected()Z
28712 HSPLandroid/hardware/usb/UsbPortStatus;->isConnected()Z
51958 HSPLjava/net/Socket;->isConnected()Z
57551 HSPLlibcore/io/IoBridge;->isConnected(Ljava/io/FileDescriptor;Ljava/net/InetAddress;III)Z
58199 HSPLsun/nio/ch/SocketAdaptor;->isConnected()Z
58207 HSPLsun/nio/ch/SocketChannelImpl;->isConnected()Z