Home
last modified time | relevance | path

Searched refs:cachedDevice (Results 1 – 3 of 3) sorted by relevance

/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/settings/
DConnectedDevicesSliceProvider.java325 CachedBluetoothDevice cachedDevice = in updateConnectedDevicesSlice() local
329 if (cachedDevice != null && cachedDevice.isConnected()) { in updateConnectedDevicesSlice()
448 CachedBluetoothDevice cachedDevice = in createBluetoothDeviceSlice() local
516 && cachedDevice != null && !cachedDevice.isBusy() in createBluetoothDeviceSlice()
517 && BluetoothUtils.isConnected(device) && cachedDevice.isConnected() in createBluetoothDeviceSlice()
519 || BluetoothUtils.hasAudioProfile(cachedDevice))) { in createBluetoothDeviceSlice()
551 if (cachedDevice != null && !cachedDevice.isBusy()) { in createBluetoothDeviceSlice()
553 boolean isConnected = BluetoothUtils.isConnected(device) && cachedDevice.isConnected(); in createBluetoothDeviceSlice()
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/
DBluetoothDeviceService.java354 CachedBluetoothDevice cachedDevice = in connectDevice() local
356 if (cachedDevice != null) { in connectDevice()
357 cachedDevice.connect(); in connectDevice()
364 CachedBluetoothDevice cachedDevice = in disconnectDevice() local
366 if (cachedDevice != null) { in disconnectDevice()
367 cachedDevice.disconnect(); in disconnectDevice()
DBluetoothUtils.java376 public static boolean hasAudioProfile(CachedBluetoothDevice cachedDevice) { in hasAudioProfile() argument
377 if (cachedDevice != null) { in hasAudioProfile()
378 for (LocalBluetoothProfile profile : cachedDevice.getProfiles()) { in hasAudioProfile()