Searched refs:isBootloaderUnlocked (Results 1 – 3 of 3) sorted by relevance
148 doReturn(false).when(mController).isBootloaderUnlocked(); in onPreferenceChanged_turnOffUnlock()158 doReturn(true).when(mController).isBootloaderUnlocked(); in updateState_preferenceShouldBeCheckedAndShouldBeDisabled()171 doReturn(true).when(mController).isBootloaderUnlocked(); in updateState_preferenceShouldBeUncheckedAndShouldBeDisabled()184 doReturn(false).when(mController).isBootloaderUnlocked(); in updateState_preferenceShouldBeCheckedAndShouldBeEnabled()211 doReturn(false).when(mController).isBootloaderUnlocked(); in onDeveloperOptionsEnabled_preferenceShouldCheckRestriction()
165 if (isBootloaderUnlocked()) { in updateOemUnlockSettingDescription()194 boolean isBootloaderUnlocked() { in isBootloaderUnlocked() method in OemUnlockPreferenceController199 return !isBootloaderUnlocked() && isOemUnlockAllowedByUserAndCarrier(); in enableOemUnlockPreference()
160 if (isBootloaderUnlocked()) { in updateOemUnlockSettingDescription()189 boolean isBootloaderUnlocked() { in isBootloaderUnlocked() method in OemUnlockPreferenceController194 return !isBootloaderUnlocked() && isOemUnlockAllowedByUserAndCarrier(); in enableOemUnlockPreference()