Searched refs:isOemUnlockedAllowed (Results 1 – 5 of 5) sorted by relevance
111 doReturn(true).when(mMainClearConfirm).isOemUnlockedAllowed(); in shouldWipePersistentDataBlock_oemUnlockAllowed_shouldReturnFalse()122 doReturn(false).when(mMainClearConfirm).isOemUnlockedAllowed(); in shouldWipePersistentDataBlock_frpPolicyNotSupported_shouldReturnFalse()136 doReturn(false).when(mMainClearConfirm).isOemUnlockedAllowed(); in shouldWipePersistentDataBlock_hasFactoryResetProtectionPolicy_shouldReturnFalse()158 doReturn(false).when(mMainClearConfirm).isOemUnlockedAllowed(); in shouldWipePersistentDataBlock_isNotOrganizationOwnedDevice_shouldReturnTrue()
83 mPreference.setChecked(isOemUnlockedAllowed()); in updateState()129 private boolean isOemUnlockedAllowed() { in isOemUnlockedAllowed() method in OemUnlockPreferenceController
153 doReturn(true).when(mController).isOemUnlockedAllowed(); in updateState_preferenceShouldBeCheckedAndShouldBeDisabled()166 doReturn(false).when(mController).isOemUnlockedAllowed(); in updateState_preferenceShouldBeUncheckedAndShouldBeDisabled()179 doReturn(true).when(mController).isOemUnlockedAllowed(); in updateState_preferenceShouldBeCheckedAndShouldBeEnabled()
111 mPreference.setChecked(isOemUnlockedAllowed()); in updateState()229 boolean isOemUnlockedAllowed() { in isOemUnlockedAllowed() method in OemUnlockPreferenceController
151 if (isOemUnlockedAllowed()) { in shouldWipePersistentDataBlock()173 boolean isOemUnlockedAllowed() { in isOemUnlockedAllowed() method in MainClearConfirm