Searched refs:mDeviceStateController (Results 1 – 3 of 3) sorted by relevance
57 private DeviceStateController mDeviceStateController; field in DeviceStateControllerImplTest61 mDeviceStateController = new DeviceStateControllerImpl(mMockDevicePolicyController, in setUp()70 mDeviceStateController.lockDevice().get(); in lockDevice_withUnprovisionedState_shouldPseudoLockDevice()72 assertThat(mDeviceStateController.isLocked().get()).isTrue(); in lockDevice_withUnprovisionedState_shouldPseudoLockDevice()86 () -> mDeviceStateController.lockDevice().get()); in lockDevice_withProvisionInProgressState_shouldThrowException()101 () -> mDeviceStateController.lockDevice().get()); in lockDevice_withProvisionPausedState_shouldThrowException()116 () -> mDeviceStateController.lockDevice().get()); in lockDevice_withProvisionFailedState_shouldThrowException()134 mDeviceStateController.lockDevice().get(); in lockDevice_withKioskProvisionedState_shouldLockDevice()148 () -> mDeviceStateController.lockDevice().get()); in lockDevice_withClearDeviceState_shouldThrowException()151 assertThat(mDeviceStateController.isLocked().get()).isFalse(); in lockDevice_withClearDeviceState_shouldThrowException()[all …]
55 private DeviceStateController mDeviceStateController; field in DeviceLockControllerService66 ListenableFuture<Void> lockDeviceFuture = mDeviceStateController.lockDevice();79 mDeviceStateController.unlockDevice();91 Futures.addCallback(mDeviceStateController.isLocked(),109 Futures.transformAsync(mDeviceStateController.clearDevice(),239 Futures.addCallback(mDeviceStateController.getDeviceState(),284 mDeviceStateController = policyObjects.getDeviceStateController();
73 private final DeviceStateController mDeviceStateController; field in ProvisionStateControllerImpl89 mDeviceStateController = new DeviceStateControllerImpl(mPolicyController, this, in ProvisionStateControllerImpl()98 mDeviceStateController = stateController; in ProvisionStateControllerImpl()257 return mDeviceStateController;