Searched refs:mAssociatedDevices (Results 1 – 1 of 1) sorted by relevance
66 private List<AssociatedDevice> mAssociatedDevices = new ArrayList<>(); field in AssociatedDeviceViewModel240 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 &&