Home
last modified time | relevance | path

Searched refs:isOemUnlockedAllowed (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/
DMainClearConfirmTest.java130 doReturn(true).when(mMainClearConfirm).isOemUnlockedAllowed(); in shouldWipePersistentDataBlock_oemUnlockAllowedAndFlagDiscabled_shouldReturnFalse()
143 doReturn(true).when(mMainClearConfirm).isOemUnlockedAllowed(); in shouldWipePersistentDataBlock_oemUnlockAllowedAndFlagEnabled_shouldReturnTrue()
154 doReturn(false).when(mMainClearConfirm).isOemUnlockedAllowed(); in shouldWipePersistentDataBlock_frpPolicyNotSupported_shouldReturnFalse()
167 doReturn(false).when(mMainClearConfirm).isOemUnlockedAllowed(); in shouldWipePersistentDataBlock_hasFactoryResetProtectionPolicy_shouldReturnFalse()
187 doReturn(false).when(mMainClearConfirm).isOemUnlockedAllowed(); in shouldWipePersistentDataBlock_isNotOrganizationOwnedDevice_shouldReturnTrue()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DOemUnlockPreferenceController.java81 mPreference.setChecked(isOemUnlockedAllowed()); in updateState()
127 private boolean isOemUnlockedAllowed() { in isOemUnlockedAllowed() method in OemUnlockPreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DOemUnlockPreferenceControllerTest.java157 doReturn(true).when(mController).isOemUnlockedAllowed(); in updateState_preferenceShouldBeCheckedAndShouldBeDisabled()
170 doReturn(false).when(mController).isOemUnlockedAllowed(); in updateState_preferenceShouldBeUncheckedAndShouldBeDisabled()
183 doReturn(true).when(mController).isOemUnlockedAllowed(); in updateState_preferenceShouldBeCheckedAndShouldBeEnabled()
/packages/apps/Settings/src/com/android/settings/development/
DOemUnlockPreferenceController.java113 mPreference.setChecked(isOemUnlockedAllowed()); in updateState()
238 boolean isOemUnlockedAllowed() { in isOemUnlockedAllowed() method in OemUnlockPreferenceController
/packages/apps/Settings/src/com/android/settings/
DMainClearConfirm.java164 if (!android.security.Flags.frpEnforcement() && isOemUnlockedAllowed()) { in shouldWipePersistentDataBlock()
189 boolean isOemUnlockedAllowed() { in isOemUnlockedAllowed() method in MainClearConfirm