Searched refs:mMainClearConfirm (Results 1 – 1 of 1) sorted by relevance
58 private MainClearConfirm mMainClearConfirm; field in MainClearConfirmTest64 mMainClearConfirm = spy(new MainClearConfirm()); in setUp()97 assertThat(mMainClearConfirm.shouldWipePersistentDataBlock(null)).isFalse(); in shouldWipePersistentDataBlock_noPersistentDataBlockManager_shouldReturnFalse()102 doReturn(true).when(mMainClearConfirm).isDeviceStillBeingProvisioned(); in shouldWipePersistentDataBlock_deviceIsStillBeingProvisioned_shouldReturnFalse()104 assertThat(mMainClearConfirm.shouldWipePersistentDataBlock( in shouldWipePersistentDataBlock_deviceIsStillBeingProvisioned_shouldReturnFalse()110 doReturn(false).when(mMainClearConfirm).isDeviceStillBeingProvisioned(); in shouldWipePersistentDataBlock_oemUnlockAllowed_shouldReturnFalse()111 doReturn(true).when(mMainClearConfirm).isOemUnlockedAllowed(); in shouldWipePersistentDataBlock_oemUnlockAllowed_shouldReturnFalse()113 assertThat(mMainClearConfirm.shouldWipePersistentDataBlock( in shouldWipePersistentDataBlock_oemUnlockAllowed_shouldReturnFalse()119 when(mMainClearConfirm.getActivity()).thenReturn(mMockActivity); in shouldWipePersistentDataBlock_frpPolicyNotSupported_shouldReturnFalse()121 doReturn(false).when(mMainClearConfirm).isDeviceStillBeingProvisioned(); in shouldWipePersistentDataBlock_frpPolicyNotSupported_shouldReturnFalse()[all …]