Home
last modified time | relevance | path

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

/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/activity/
DAssociatedDeviceViewModel.java66 private List<AssociatedDevice> mAssociatedDevices = new ArrayList<>(); field in AssociatedDeviceViewModel
240 if (mAssociatedDevices.isEmpty()) { in getAssociatedDevice()
243 return mAssociatedDevices.get(0); in getAssociatedDevice()
247 if (mAssociatedDevices.isEmpty() || mConnectedDevices.isEmpty()) { in isConnected()
250 String associatedDeviceId = mAssociatedDevices.get(0).getDeviceId(); in isConnected()
256 mAssociatedDevices = associatedDevices; in setAssociatedDevices()
266 mAssociatedDevices.removeIf(d -> d.getDeviceId().equals(device.getDeviceId())); in addOrUpdateAssociatedDevice()
267 mAssociatedDevices.add(device); in addOrUpdateAssociatedDevice()
272 if (mAssociatedDevices.removeIf(d -> d.getDeviceId().equals(device.getDeviceId()))) { in removeAssociatedDevice()
317 if (mAssociatedDevices.isEmpty() && state != AssociationState.STARTING &&
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DContextMap.java112 public List<String> mAssociatedDevices; field in ContextMap.App
DGattService.java2134 app.mAssociatedDevices = getAssociatedDevices(callingPackage, app.mUserHandle); in registerPiAndStartScan()
2150 scanClient.associatedDevices = app.mAssociatedDevices; in continuePiStartScan()