Home
last modified time | relevance | path

Searched refs:wipeDevice (Results 1 – 8 of 8) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/
DWorkManagerExceptionHandlerTest.java80 verify(devicePolicyController, never()).wipeDevice(); in handleException_whenUnprovisioned_shouldTerminateNoWipe()
99 verify(devicePolicyController).wipeDevice(); in handleException_whenProvisionInProgress_shouldWipeNoTerminate()
118 verify(devicePolicyController).wipeDevice(); in handleException_whenProvisionPaused_shouldWipeNoTerminate()
137 verify(devicePolicyController).wipeDevice(); in handleException_whenProvisionFailed_shouldWipeNoTerminate()
156 verify(devicePolicyController).wipeDevice(); in handleException_whenKioskProvisioned_shouldWipeNoTerminate()
175 verify(devicePolicyController).wipeDevice(); in handleException_whenProvisionSucceededRestrictionsNotCleared_shouldWipeNoTerminate()
193 verify(devicePolicyController, never()).wipeDevice(); in handleException_whenProvisionSucceededRestrictionsCleared_shouldntWipe()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/receivers/
DResetDeviceReceiver.java66 .getPolicyController().wipeDevice(); in onReceive()
75 .getPolicyController().wipeDevice(); in onReceive()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/
DDevicePolicyController.java44 boolean wipeDevice(); in wipeDevice() method
DDevicePolicyControllerImpl.java163 public boolean wipeDevice() { in wipeDevice() method in DevicePolicyControllerImpl
166 mDpm.wipeDevice(DevicePolicyManager.WIPE_SILENTLY in wipeDevice()
520 wipeDevice();
DProvisionHelperImpl.java176 mStateController.getDevicePolicyController().wipeDevice(); in scheduleKioskAppInstallation()
297 mStateController.getDevicePolicyController().wipeDevice(); in installFromPlay()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/
DDevicePolicyControllerImplTest.java161 assertThat(mDevicePolicyController.wipeDevice()).isTrue(); in wipeDevice_shouldMakeExpectedCalls()
162 verify(mMockDpm).wipeDevice(mAllowedFlags.capture()); in wipeDevice_shouldMakeExpectedCalls()
169 doThrow(new SecurityException()).when(mMockDpm).wipeDevice( in wipeDevice_withSecurityException_handleException()
172 assertThat(mDevicePolicyController.wipeDevice()).isFalse(); in wipeDevice_withSecurityException_handleException()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/
DWorkManagerExceptionHandler.java331 devicePolicyController.wipeDevice(); in handleException()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java457 context.getSystemService(DevicePolicyManager.class).wipeDevice(/* flags=*/ 0); in factoryReset()