Searched refs:addedDevice (Results 1 – 2 of 2) sorted by relevance
66 AssociatedDevice addedDevice = addRandomAssociatedDevice(mActiveUserId); in getAssociatedDeviceIdsForUser_includesNewlyAddedDevice() local69 assertThat(associatedDevices).containsExactly(addedDevice.getDeviceId()); in getAssociatedDeviceIdsForUser_includesNewlyAddedDevice()82 AssociatedDevice addedDevice = addRandomAssociatedDevice(mActiveUserId); in getAssociatedDeviceIdsForUser_excludesRemovedDevice() local83 mConnectedDeviceStorage.removeAssociatedDevice(mActiveUserId, addedDevice.getDeviceId()); in getAssociatedDeviceIdsForUser_excludesRemovedDevice()91 AssociatedDevice addedDevice = addRandomAssociatedDevice(mActiveUserId); in getAssociatedDevicesForUser_includesNewlyAddedDevice() local94 assertThat(associatedDevices).containsExactly(addedDevice); in getAssociatedDevicesForUser_includesNewlyAddedDevice()107 AssociatedDevice addedDevice = addRandomAssociatedDevice(mActiveUserId); in getAssociatedDevicesForUser_excludesRemovedDevice() local108 mConnectedDeviceStorage.removeAssociatedDevice(mActiveUserId, addedDevice.getDeviceId()); in getAssociatedDevicesForUser_excludesRemovedDevice()
393 AssociatedDevice addedDevice = mModel.getAssociatedDevice().getValue(); in showEnrollmentSuccessToast() local394 if (addedDevice == null) { in showEnrollmentSuccessToast()398 if (!addedDevice.getDeviceId().equals(device.getDeviceId())) { in showEnrollmentSuccessToast()403 addedDevice.getDeviceName()); in showEnrollmentSuccessToast()