Searched refs:mMainClearConfirm (Results 1 – 1 of 1) sorted by relevance
58 private MainClearConfirm mMainClearConfirm; field in MainClearConfirmTest64 mMainClearConfirm = spy(new MainClearConfirm()); in setUp()104 assertThat(mMainClearConfirm.shouldWipePersistentDataBlock( in shouldWipePersistentDataBlock_deviceIsStillBeingProvisioned_shouldReturnFalse()111 doReturn(true).when(mMainClearConfirm).isOemUnlockedAllowed(); in shouldWipePersistentDataBlock_oemUnlockAllowed_shouldReturnFalse()113 assertThat(mMainClearConfirm.shouldWipePersistentDataBlock( in shouldWipePersistentDataBlock_oemUnlockAllowed_shouldReturnFalse()122 doReturn(false).when(mMainClearConfirm).isOemUnlockedAllowed(); in shouldWipePersistentDataBlock_frpPolicyNotSupported_shouldReturnFalse()127 assertThat(mMainClearConfirm.shouldWipePersistentDataBlock( in shouldWipePersistentDataBlock_frpPolicyNotSupported_shouldReturnFalse()136 doReturn(false).when(mMainClearConfirm).isOemUnlockedAllowed(); in shouldWipePersistentDataBlock_hasFactoryResetProtectionPolicy_shouldReturnFalse()149 assertThat(mMainClearConfirm.shouldWipePersistentDataBlock( in shouldWipePersistentDataBlock_hasFactoryResetProtectionPolicy_shouldReturnFalse()158 doReturn(false).when(mMainClearConfirm).isOemUnlockedAllowed(); in shouldWipePersistentDataBlock_isNotOrganizationOwnedDevice_shouldReturnTrue()[all …]