Searched refs:associatedDevice (Results 1 – 4 of 4) sorted by relevance
85 AssociatedDevice associatedDevice = (AssociatedDevice) obj; in equals() local86 return Objects.equals(mDeviceId, associatedDevice.mDeviceId) in equals()87 && Objects.equals(mDeviceAddress, associatedDevice.mDeviceAddress) in equals()88 && Objects.equals(mDeviceName, associatedDevice.mDeviceName) in equals()89 && mIsConnectionEnabled == associatedDevice.mIsConnectionEnabled; in equals()
51 public AssociatedDeviceEntity(int userId, AssociatedDevice associatedDevice, in AssociatedDeviceEntity() argument54 id = associatedDevice.getDeviceId(); in AssociatedDeviceEntity()55 address = associatedDevice.getDeviceAddress(); in AssociatedDeviceEntity()56 name = associatedDevice.getDeviceName(); in AssociatedDeviceEntity()
46 void addOrReplaceAssociatedDevice(AssociatedDeviceEntity associatedDevice); in addOrReplaceAssociatedDevice() argument
233 mModel.getDeviceToEnable().observe(this, associatedDevice -> { in observeViewModel()234 if (associatedDevice == null) { in observeViewModel()238 attemptInitiatingEnrollment(associatedDevice); in observeViewModel()