Searched refs:isDisabledByEcm (Results 1 – 7 of 7) sorted by relevance
81 if (enabled && isDisabledByEcm()) { in setEnabled()100 public boolean isDisabledByEcm() { in isDisabledByEcm() method in RestrictedAppPreference101 return mHelper.isDisabledByEcm(); in isDisabledByEcm()
174 boolean isDisabledByEcm() { in isDisabledByEcm() method in UnrestrictedDataAccessPreference175 return mHelper.isDisabledByEcm(); in isDisabledByEcm()201 } else if (!isDisabledByEcm()) { in updateState()
115 assertThat(preference.isDisabledByEcm()).isTrue(); in createAccessibilityServicePreferenceList_ecmRestricted_prefIsEcmRestricted()130 assertThat(preference.isDisabledByEcm()).isFalse(); in createAccessibilityServicePreferenceList_ecmNotRestricted_prefIsNotEcmRestricted()
128 assertThat(preference.isDisabledByEcm()).isTrue(); in onRebuildComplete_ecmRestricted_shouldBeDisabled()162 assertThat(preference.isDisabledByEcm()).isFalse(); in onRebuildComplete_ecmNotRestricted_notDisabled()
163 if (preference.isDisabledByEcm()) { in setRestrictedPreferenceEnabled()177 } else if (!preference.isDisabledByEcm()) { in setRestrictedPreferenceEnabled()
189 assertThat(preference.isDisabledByEcm()).isTrue(); in onRebuildComplete_ecmRestricted_shouldBeDisabled()227 assertThat(preference.isDisabledByEcm()).isFalse(); in onRebuildComplete_ecmNotRestricted_notDisabled()
178 shouldEnable = !mSwitchPref.isDisabledByEcm(); in refreshUi()