Home
last modified time | relevance | path

Searched refs:DeviceStateController (Results 1 – 19 of 19) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/
DWorkManagerExceptionHandlerTest.java33 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()
DDeviceLockControllerServiceTest.java39 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()
DTestDeviceLockControllerApplication.java31 import com.android.devicelockcontroller.policy.DeviceStateController;
67 private DeviceStateController mStateController;
76 public DeviceStateController getDeviceStateController() { in getDeviceStateController()
78 mStateController = mock(DeviceStateController.class); in getDeviceStateController()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/
DDeviceStateControllerImpl.java19 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 {
DDevicePolicyControllerImpl.java22 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;
DProvisionStateControllerImpl.java73 private final DeviceStateController mDeviceStateController;
95 DeviceStateController stateController, Executor bgExecutor) { in ProvisionStateControllerImpl()
256 public DeviceStateController getDeviceStateController() {
DPolicyObjectsProvider.java24 DeviceStateController getDeviceStateController(); in getDeviceStateController()
DDeviceStateController.java32 public interface DeviceStateController { interface
DProvisionStateController.java65 DeviceStateController getDeviceStateController(); in getDeviceStateController()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/
DDeviceLockControllerService.java32 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 ->
DDeviceLockControllerApplication.java32 import com.android.devicelockcontroller.policy.DeviceStateController;
93 public DeviceStateController getDeviceStateController() { in getDeviceStateController()
DWorkManagerExceptionHandler.java34 import com.android.devicelockcontroller.policy.DeviceStateController;
316 final DeviceStateController deviceStateController = in handleException()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/debug/
DDeviceLockCommandReceiver.java23 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()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/storage/
DGlobalParametersService.java25 import com.android.devicelockcontroller.policy.DeviceStateController.DeviceState;
DGlobalParameters.java26 import com.android.devicelockcontroller.policy.DeviceStateController.DeviceState;
DGlobalParametersClient.java32 import com.android.devicelockcontroller.policy.DeviceStateController.DeviceState;
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/
DDeviceStateControllerImplTest.java25 import com.android.devicelockcontroller.policy.DeviceStateController.DeviceState;
57 private DeviceStateController mDeviceStateController;
DDevicePolicyControllerImplTest.java28 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;
DProvisionStateControllerImplTest.java69 private DeviceStateController mMockDeviceStateController;