/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/ |
D | DeviceStateControllerImplTest.java | 70 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/ |
D | DeviceLockControllerServiceTest.java | 100 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/ |
D | DeviceLockManager.java | 97 public void lockDevice(@NonNull @CallbackExecutor Executor executor, in lockDevice() method in DeviceLockManager 103 mService.lockDevice( in lockDevice()
|
D | IDeviceLockService.aidl | 34 void lockDevice(in ILockUnlockDeviceCallback callback); in lockDevice() method
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/ |
D | IDeviceLockControllerService.aidl | 39 void lockDevice(in RemoteCallback callback); in lockDevice() method
|
D | DeviceLockControllerService.java | 64 public void lockDevice(RemoteCallback remoteCallback) { 66 ListenableFuture<Void> lockDeviceFuture = mDeviceStateController.lockDevice();
|
/packages/modules/DeviceLock/service/java/com/android/server/devicelock/ |
D | DeviceLockControllerConnector.java | 34 void lockDevice(OutcomeReceiver<Void, Exception> callback); in lockDevice() method
|
D | DeviceLockControllerConnectorImpl.java | 297 public void lockDevice(OutcomeReceiver<Void, Exception> callback) { 310 mDeviceLockControllerService.lockDevice(remoteCallback);
|
D | DeviceLockControllerConnectorStub.java | 57 public void lockDevice(OutcomeReceiver<Void, Exception> callback) { in lockDevice() method in DeviceLockControllerConnectorStub
|
D | DeviceLockServiceImpl.java | 499 public void lockDevice(@NonNull ILockUnlockDeviceCallback callback) { 509 getDeviceLockControllerConnector().lockDevice(
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/ |
D | DeviceStateController.java | 37 ListenableFuture<Void> lockDevice(); in lockDevice() method
|
D | DeviceStateControllerImpl.java | 57 public ListenableFuture<Void> lockDevice() { in lockDevice() method in DeviceStateControllerImpl
|
/packages/modules/DeviceLock/framework/api/ |
D | current.txt | 15 …sion(android.Manifest.permission.MANAGE_DEVICE_LOCK_STATE) public void lockDevice(@NonNull java.ut…
|
/packages/modules/DeviceLock/tests/unittests/src/com/android/server/devicelock/ |
D | DeviceLockControllerConnectorStubTest.java | 219 mDeviceLockControllerConnectorStub.lockDevice( in lockDeviceAsync()
|
/packages/modules/DeviceLock/tests/cts/src/com/android/cts/devicelock/ |
D | DeviceLockManagerTest.java | 107 mDeviceLockManager.lockDevice(mExecutorService,
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/debug/ |
D | DeviceLockCommandReceiver.java | 171 Futures.addCallback(deviceStateController.lockDevice(), in onReceive()
|