Home
last modified time | relevance | path

Searched refs:getDeviceStateController (Results 1 – 12 of 12) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/
DWorkManagerExceptionHandlerTest.java70 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.java100 when(mTestApp.getDeviceStateController().lockDevice()).thenReturn( in lockDevice_shouldLogKioskRequest_andLogLockSuccess()
115 DeviceStateController deviceStateController = mTestApp.getDeviceStateController(); in lockDevice_failure_shouldLogToStatsLogger()
136 when(mTestApp.getDeviceStateController().unlockDevice()).thenReturn( in unlockDevice_shouldLogKioskRequest_AndLogUnlockSuccess()
151 DeviceStateController deviceStateController = mTestApp.getDeviceStateController(); in unlockDevice_failure_shouldLogToStatsLogger()
171 when(mTestApp.getDeviceStateController().isLocked()).thenReturn( in isDeviceLocked_shouldLogKioskRequest()
201 DeviceStateController deviceStateController = mTestApp.getDeviceStateController(); in clearDeviceRestrictions_shouldLogKioskRequest()
DTestDeviceLockControllerApplication.java76 public DeviceStateController getDeviceStateController() { in getDeviceStateController() method in TestDeviceLockControllerApplication
89 when(mProvisionStateController.getDeviceStateController()).thenReturn( in getProvisionStateController()
90 getDeviceStateController()); in getProvisionStateController()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/
DDeviceLockControllerApplication.java93 public DeviceStateController getDeviceStateController() { in getDeviceStateController() method in DeviceLockControllerApplication
94 return getProvisionStateController().getDeviceStateController(); in getDeviceStateController()
DDeviceLockControllerService.java284 mDeviceStateController = policyObjects.getDeviceStateController();
DWorkManagerExceptionHandler.java317 policyObjectsProvider.getDeviceStateController(); in handleException()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/
DPolicyObjectsProvider.java24 DeviceStateController getDeviceStateController(); in getDeviceStateController() method
DProvisionStateController.java65 DeviceStateController getDeviceStateController(); in getDeviceStateController() method
DProvisionStateControllerImpl.java256 public DeviceStateController getDeviceStateController() {
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/
DProvisionStateControllerThreadSafetyTest.java64 policyController, testApplication.getDeviceStateController(), in setUp()
DProvisionStateControllerImplTest.java306 assertThat(mProvisionStateController.getDeviceStateController()).isEqualTo( in getDeviceStateController_shouldReturnExpectedDeviceStateController()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/debug/
DDeviceLockCommandReceiver.java161 provisionStateController.getDeviceStateController(); in onReceive()