Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDevicePreference.java81 private Set<BluetoothDevice> mBluetoothDevices; field in BluetoothDevicePreference
203 if (mBluetoothDevices == null) { in registerMetadataChangedListener()
204 mBluetoothDevices = new HashSet<>(); in registerMetadataChangedListener()
206 mBluetoothDevices.clear(); in registerMetadataChangedListener()
208 mBluetoothDevices.add(mCachedDevice.getDevice()); in registerMetadataChangedListener()
211 mBluetoothDevices.add(cbd.getDevice()); in registerMetadataChangedListener()
213 if (mBluetoothDevices.isEmpty()) { in registerMetadataChangedListener()
218 mBluetoothDevices.forEach(bd -> { in registerMetadataChangedListener()
235 mBluetoothDevices.remove(errorDevice); in registerMetadataChangedListener()
245 if (mBluetoothDevices == null || mBluetoothDevices.isEmpty()) { in unregisterMetadataChangedListener()
[all …]
DAdvancedBluetoothDetailsHeaderController.java103 private Set<BluetoothDevice> mBluetoothDevices; field in AdvancedBluetoothDetailsHeaderController
180 if (mBluetoothDevices == null) { in registerBluetoothDevice()
181 mBluetoothDevices = new HashSet<>(); in registerBluetoothDevice()
183 mBluetoothDevices.clear(); in registerBluetoothDevice()
185 mBluetoothDevices.add(mCachedDevice.getDevice()); in registerBluetoothDevice()
189 mBluetoothDevices.add(cbd.getDevice()); in registerBluetoothDevice()
192 if (mBluetoothDevices.isEmpty()) { in registerBluetoothDevice()
198 mBluetoothDevices.forEach(bd -> { in registerBluetoothDevice()
215 mBluetoothDevices.remove(errorDevice); in registerBluetoothDevice()
225 if (mBluetoothDevices == null || mBluetoothDevices.isEmpty()) { in unRegisterBluetoothDevice()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DAddAccessoryActivity.java109 private List<BluetoothDevice> mBluetoothDevices; field in AddAccessoryActivity
233 mBluetoothDevices = new ArrayList<>(); in onCreate()
235 mBluetoothDevices = in onCreate()
273 outState.putParcelableList(SAVED_STATE_BLUETOOTH_DEVICES, mBluetoothDevices); in onSaveInstanceState()
420 mBluetoothDevices, mCurrentTargetAddress, mCurrentTargetStatus, mCancelledAddress); in updateView() local
425 if (mBluetoothDevices.size() == 1 && prevNumDevices == 0) { in updateView()
435 if (mBluetoothDevices.size() > 1) { in updateView()
443 if (prevEmpty != mBluetoothDevices.isEmpty()) { in updateView()
450 final boolean empty = mBluetoothDevices.isEmpty(); in rearrangeViews()
487 if (mBluetoothDevices.size() > 0) { in startAutoPairing()
[all …]