Searched refs:wipeDevice (Results 1 – 8 of 8) sorted by relevance
80 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()
66 .getPolicyController().wipeDevice(); in onReceive()75 .getPolicyController().wipeDevice(); in onReceive()
44 boolean wipeDevice(); in wipeDevice() method
163 public boolean wipeDevice() { in wipeDevice() method in DevicePolicyControllerImpl166 mDpm.wipeDevice(DevicePolicyManager.WIPE_SILENTLY in wipeDevice()520 wipeDevice();
176 mStateController.getDevicePolicyController().wipeDevice(); in scheduleKioskAppInstallation()297 mStateController.getDevicePolicyController().wipeDevice(); in installFromPlay()
161 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()
331 devicePolicyController.wipeDevice(); in handleException()
457 context.getSystemService(DevicePolicyManager.class).wipeDevice(/* flags=*/ 0); in factoryReset()