Searched refs:DeviceStateController (Results 1 – 19 of 19) sorted by relevance
33 import com.android.devicelockcontroller.policy.DeviceStateController;70 DeviceStateController deviceStateController = mTestApp.getDeviceStateController(); in handleException_whenUnprovisioned_shouldTerminateNoWipe()89 DeviceStateController deviceStateController = mTestApp.getDeviceStateController(); in handleException_whenProvisionInProgress_shouldWipeNoTerminate()108 DeviceStateController deviceStateController = mTestApp.getDeviceStateController(); in handleException_whenProvisionPaused_shouldWipeNoTerminate()127 DeviceStateController deviceStateController = mTestApp.getDeviceStateController(); in handleException_whenProvisionFailed_shouldWipeNoTerminate()146 DeviceStateController deviceStateController = mTestApp.getDeviceStateController(); in handleException_whenKioskProvisioned_shouldWipeNoTerminate()165 DeviceStateController deviceStateController = mTestApp.getDeviceStateController(); in handleException_whenProvisionSucceededRestrictionsNotCleared_shouldWipeNoTerminate()184 DeviceStateController deviceStateController = mTestApp.getDeviceStateController(); in handleException_whenProvisionSucceededRestrictionsCleared_shouldntWipe()
39 import com.android.devicelockcontroller.policy.DeviceStateController;115 DeviceStateController deviceStateController = mTestApp.getDeviceStateController(); in lockDevice_failure_shouldLogToStatsLogger()121 DeviceStateController.DeviceState.UNLOCKED)); in lockDevice_failure_shouldLogToStatsLogger()128 verify(mStatsLogger).logLockDeviceFailure(DeviceStateController.DeviceState.UNLOCKED); in lockDevice_failure_shouldLogToStatsLogger()151 DeviceStateController deviceStateController = mTestApp.getDeviceStateController(); in unlockDevice_failure_shouldLogToStatsLogger()157 DeviceStateController.DeviceState.LOCKED)); in unlockDevice_failure_shouldLogToStatsLogger()164 verify(mStatsLogger).logUnlockDeviceFailure(DeviceStateController.DeviceState.LOCKED); in unlockDevice_failure_shouldLogToStatsLogger()201 DeviceStateController deviceStateController = mTestApp.getDeviceStateController(); in clearDeviceRestrictions_shouldLogKioskRequest()
31 import com.android.devicelockcontroller.policy.DeviceStateController;67 private DeviceStateController mStateController;76 public DeviceStateController getDeviceStateController() { in getDeviceStateController()78 mStateController = mock(DeviceStateController.class); in getDeviceStateController()
19 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.CLEARED;20 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.LOCKED;21 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.UNDEFINED;22 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.UNLOCKED;37 public final class DeviceStateControllerImpl implements DeviceStateController {
22 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.CLEARED;23 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.LOCKED;24 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.UNDEFINED;25 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.UNLOCKED;57 import com.android.devicelockcontroller.policy.DeviceStateController.DeviceState;
73 private final DeviceStateController mDeviceStateController;95 DeviceStateController stateController, Executor bgExecutor) { in ProvisionStateControllerImpl()256 public DeviceStateController getDeviceStateController() {
24 DeviceStateController getDeviceStateController(); in getDeviceStateController()
32 public interface DeviceStateController { interface
65 DeviceStateController getDeviceStateController(); in getDeviceStateController()
32 import com.android.devicelockcontroller.policy.DeviceStateController;55 private DeviceStateController mDeviceStateController;245 case DeviceStateController.DeviceState.UNLOCKED ->248 case DeviceStateController.DeviceState.LOCKED ->251 case DeviceStateController.DeviceState.CLEARED ->254 case DeviceStateController.DeviceState.UNDEFINED ->
32 import com.android.devicelockcontroller.policy.DeviceStateController;93 public DeviceStateController getDeviceStateController() { in getDeviceStateController()
34 import com.android.devicelockcontroller.policy.DeviceStateController;316 final DeviceStateController deviceStateController = in handleException()
23 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.CLEARED;24 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.LOCKED;25 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.UNLOCKED;47 import com.android.devicelockcontroller.policy.DeviceStateController;48 import com.android.devicelockcontroller.policy.DeviceStateController.DeviceState;160 DeviceStateController deviceStateController = in onReceive()
25 import com.android.devicelockcontroller.policy.DeviceStateController.DeviceState;
26 import com.android.devicelockcontroller.policy.DeviceStateController.DeviceState;
32 import com.android.devicelockcontroller.policy.DeviceStateController.DeviceState;
25 import com.android.devicelockcontroller.policy.DeviceStateController.DeviceState;57 private DeviceStateController mDeviceStateController;
28 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.CLEARED;29 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.LOCKED;30 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.UNDEFINED;31 import static com.android.devicelockcontroller.policy.DeviceStateController.DeviceState.UNLOCKED;
69 private DeviceStateController mMockDeviceStateController;