Searched refs:userDevice (Results 1 – 2 of 2) sorted by relevance
299 AssociatedDevice userDevice = userDevices.get(0); in connectToActiveUserDeviceInternal() local300 if (!userDevice.isConnectionEnabled()) { in connectToActiveUserDeviceInternal()301 logd(TAG, "Connection is disabled on device " + userDevice + "."); in connectToActiveUserDeviceInternal()304 if (mConnectedDevices.containsKey(userDevice.getDeviceId())) { in connectToActiveUserDeviceInternal()311 mPeripheralManager.connectToDevice(UUID.fromString(userDevice.getDeviceId()), in connectToActiveUserDeviceInternal()
567 AssociatedDevice userDevice = new AssociatedDevice(userDeviceId, TEST_DEVICE_ADDRESS, in removeConnectedDevice_startsAdvertisingForActiveUserDeviceOnLastDeviceDisconnect() local570 Collections.singletonList(userDevice)); in removeConnectedDevice_startsAdvertisingForActiveUserDeviceOnLastDeviceDisconnect()583 AssociatedDevice userDevice = new AssociatedDevice(userDeviceId, TEST_DEVICE_ADDRESS, in removeConnectedDevice__doesNotAdvertiseForNonActiveUserDeviceNotLastDevice() local586 Collections.singletonList(userDevice)); in removeConnectedDevice__doesNotAdvertiseForNonActiveUserDeviceNotLastDevice()