Searched refs:deviceCaptor (Results 1 – 2 of 2) sorted by relevance
221 ArgumentCaptor<ConnectedDevice> deviceCaptor = in connectionCallback_onDeviceConnectedInvokedForNewlyConnectedDevice() local223 verify(connectionCallback).onDeviceConnected(deviceCaptor.capture()); in connectionCallback_onDeviceConnectedInvokedForNewlyConnectedDevice()224 ConnectedDevice connectedDevice = deviceCaptor.getValue(); in connectionCallback_onDeviceConnectedInvokedForNewlyConnectedDevice()266 ArgumentCaptor<ConnectedDevice> deviceCaptor = in connectionCallback_onDeviceDisconnectedInvokedForActiveUserDevice() local268 verify(connectionCallback).onDeviceDisconnected(deviceCaptor.capture()); in connectionCallback_onDeviceDisconnectedInvokedForActiveUserDevice()269 assertThat(deviceCaptor.getValue().getDeviceId()).isEqualTo(deviceId); in connectionCallback_onDeviceDisconnectedInvokedForActiveUserDevice()
177 ArgumentCaptor<AssociatedDevice> deviceCaptor = in testAssociationSuccess() local179 verify(mMockStorage).addAssociatedDeviceForActiveUser(deviceCaptor.capture()); in testAssociationSuccess()180 AssociatedDevice device = deviceCaptor.getValue(); in testAssociationSuccess()