Home
last modified time | relevance | path

Searched refs:lockDevice (Results 1 – 16 of 16) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/
DDeviceStateControllerImplTest.java70 mDeviceStateController.lockDevice().get(); 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()
161 mDeviceStateController.lockDevice().get(); in lockDevice_withProvisionSucceededState_shouldLockDevice()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/
DDeviceLockControllerServiceTest.java100 when(mTestApp.getDeviceStateController().lockDevice()).thenReturn( in lockDevice_shouldLogKioskRequest_andLogLockSuccess()
106 serviceStub.lockDevice(new RemoteCallback((result -> {}))); in lockDevice_shouldLogKioskRequest_andLogLockSuccess()
118 when(deviceStateController.lockDevice()).thenReturn( in lockDevice_failure_shouldLogToStatsLogger()
126 serviceStub.lockDevice(new RemoteCallback((result -> {}))); in lockDevice_failure_shouldLogToStatsLogger()
/packages/modules/DeviceLock/framework/java/android/devicelock/
DDeviceLockManager.java97 public void lockDevice(@NonNull @CallbackExecutor Executor executor, in lockDevice() method in DeviceLockManager
103 mService.lockDevice( in lockDevice()
DIDeviceLockService.aidl34 void lockDevice(in ILockUnlockDeviceCallback callback); in lockDevice() method
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/
DIDeviceLockControllerService.aidl39 void lockDevice(in RemoteCallback callback); in lockDevice() method
DDeviceLockControllerService.java64 public void lockDevice(RemoteCallback remoteCallback) {
66 ListenableFuture<Void> lockDeviceFuture = mDeviceStateController.lockDevice();
/packages/modules/DeviceLock/service/java/com/android/server/devicelock/
DDeviceLockControllerConnector.java34 void lockDevice(OutcomeReceiver<Void, Exception> callback); in lockDevice() method
DDeviceLockControllerConnectorImpl.java297 public void lockDevice(OutcomeReceiver<Void, Exception> callback) {
310 mDeviceLockControllerService.lockDevice(remoteCallback);
DDeviceLockControllerConnectorStub.java57 public void lockDevice(OutcomeReceiver<Void, Exception> callback) { in lockDevice() method in DeviceLockControllerConnectorStub
DDeviceLockServiceImpl.java499 public void lockDevice(@NonNull ILockUnlockDeviceCallback callback) {
509 getDeviceLockControllerConnector().lockDevice(
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/
DDeviceStateController.java37 ListenableFuture<Void> lockDevice(); in lockDevice() method
DDeviceStateControllerImpl.java57 public ListenableFuture<Void> lockDevice() { in lockDevice() method in DeviceStateControllerImpl
/packages/modules/DeviceLock/framework/api/
Dcurrent.txt15 …sion(android.Manifest.permission.MANAGE_DEVICE_LOCK_STATE) public void lockDevice(@NonNull java.ut…
/packages/modules/DeviceLock/tests/unittests/src/com/android/server/devicelock/
DDeviceLockControllerConnectorStubTest.java219 mDeviceLockControllerConnectorStub.lockDevice( in lockDeviceAsync()
/packages/modules/DeviceLock/tests/cts/src/com/android/cts/devicelock/
DDeviceLockManagerTest.java107 mDeviceLockManager.lockDevice(mExecutorService,
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/debug/
DDeviceLockCommandReceiver.java171 Futures.addCallback(deviceStateController.lockDevice(), in onReceive()