Home
last modified time | relevance | path

Searched refs:isDisabledByEcm (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/widget/
DRestrictedAppPreference.java81 if (enabled && isDisabledByEcm()) { in setEnabled()
100 public boolean isDisabledByEcm() { in isDisabledByEcm() method in RestrictedAppPreference
101 return mHelper.isDisabledByEcm(); in isDisabledByEcm()
/packages/apps/Settings/src/com/android/settings/datausage/
DUnrestrictedDataAccessPreference.java174 boolean isDisabledByEcm() { in isDisabledByEcm() method in UnrestrictedDataAccessPreference
175 return mHelper.isDisabledByEcm(); in isDisabledByEcm()
201 } else if (!isDisabledByEcm()) { in updateState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DRestrictedPreferenceHelperTest.java115 assertThat(preference.isDisabledByEcm()).isTrue(); in createAccessibilityServicePreferenceList_ecmRestricted_prefIsEcmRestricted()
130 assertThat(preference.isDisabledByEcm()).isFalse(); in createAccessibilityServicePreferenceList_ecmNotRestricted_prefIsNotEcmRestricted()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/premiumsms/
DPremiumSmsAccessTest.java128 assertThat(preference.isDisabledByEcm()).isTrue(); in onRebuildComplete_ecmRestricted_shouldBeDisabled()
162 assertThat(preference.isDisabledByEcm()).isFalse(); in onRebuildComplete_ecmNotRestricted_notDisabled()
/packages/apps/Settings/src/com/android/settings/accessibility/
DRestrictedPreferenceHelper.java163 if (preference.isDisabledByEcm()) { in setRestrictedPreferenceEnabled()
177 } else if (!preference.isDisabledByEcm()) { in setRestrictedPreferenceEnabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DUnrestrictedDataAccessPreferenceControllerTest.java189 assertThat(preference.isDisabledByEcm()).isTrue(); in onRebuildComplete_ecmRestricted_shouldBeDisabled()
227 assertThat(preference.isDisabledByEcm()).isFalse(); in onRebuildComplete_ecmNotRestricted_notDisabled()
/packages/apps/Settings/src/com/android/settings/applications/
DUsageAccessDetails.java178 shouldEnable = !mSwitchPref.isDisabledByEcm(); in refreshUi()