Searched refs:mMockStorage (Results 1 – 2 of 2) sorted by relevance
83 private ConnectedDeviceStorage mMockStorage; field in ConnectedDeviceManagerTest105 mConnectedDeviceManager = new ConnectedDeviceManager(mMockStorage, mMockCentralManager, in setUp()107 verify(mMockStorage).setAssociatedDeviceCallback(callbackCaptor.capture()); in setUp()138 when(mMockStorage.getActiveUserAssociatedDeviceIds()).thenReturn( in getActiveUserConnectedDevices_excludesDevicesNotBelongingToActiveUser()238 when(mMockStorage.getActiveUserAssociatedDeviceIds()).thenReturn( in connectionCallback_onDeviceConnectedNotInvokedDeviceConnectedForDifferentUser()497 when(mMockStorage.getActiveUserAssociatedDeviceIds()).thenReturn( in onAssociationCompleted_disconnectsOriginalDeviceAndReconnectsAsActiveUser()549 when(mMockStorage.getActiveUserAssociatedDeviceIds()).thenReturn( in removeConnectedDevice_startsAdvertisingForActiveUserDeviceOnActiveUserDisconnect()553 when(mMockStorage.getActiveUserAssociatedDevices()).thenReturn( in removeConnectedDevice_startsAdvertisingForActiveUserDeviceOnActiveUserDisconnect()565 when(mMockStorage.getActiveUserAssociatedDeviceIds()).thenReturn( in removeConnectedDevice_startsAdvertisingForActiveUserDeviceOnLastDeviceDisconnect()569 when(mMockStorage.getActiveUserAssociatedDevices()).thenReturn( in removeConnectedDevice_startsAdvertisingForActiveUserDeviceOnLastDeviceDisconnect()[all …]
73 @Mock private ConnectedDeviceStorage mMockStorage; field in CarBlePeripheralManagerTest89 mCarBlePeripheralManager = new CarBlePeripheralManager(mMockPeripheralManager, mMockStorage, in setUp()179 verify(mMockStorage).addAssociatedDeviceForActiveUser(deviceCaptor.capture()); in testAssociationSuccess()