Lines Matching refs:cachedDevice
47 public static boolean onDeviceDisappeared(CachedBluetoothDevice cachedDevice) {
48 cachedDevice.setVisible(false);
49 return cachedDevice.getBondState() == BluetoothDevice.BOND_NONE;
53 CachedBluetoothDevice cachedDevice = findDevice(device);
54 if (cachedDevice != null) {
55 cachedDevice.refreshName();
70 for (CachedBluetoothDevice cachedDevice : mCachedDevices) {
71 if (cachedDevice.getDevice().equals(device)) {
72 return cachedDevice;
102 CachedBluetoothDevice cachedDevice = findDevice(device);
103 if (cachedDevice != null) {
104 return cachedDevice.getName();
117 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i);
118 if (cachedDevice.getBondState() != BluetoothDevice.BOND_BONDED) {
130 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i);
131 cachedDevice.setVisible(false);
136 CachedBluetoothDevice cachedDevice = findDevice(device);
137 if (cachedDevice != null) {
138 cachedDevice.refreshBtClass();
143 CachedBluetoothDevice cachedDevice = findDevice(device);
144 if (cachedDevice != null) {
145 cachedDevice.onUuidChanged();
154 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i);
155 if (cachedDevice.getBondState() != BluetoothDevice.BOND_BONDED) {
156 cachedDevice.setVisible(false);
162 cachedDevice.clearProfileConnectionState();