Home
last modified time | relevance | path

Searched refs:setDisabledByAdmin (Results 1 – 25 of 111) sorted by relevance

12345

/packages/services/Telephony/src/com/android/phone/
DRestrictedSwitchPreference.java74 setDisabledByAdmin(disabledByAdmin); in checkRestrictionAndSetDisabled()
80 setDisabledByAdmin(false); in setEnabled()
86 public void setDisabledByAdmin(boolean disabled) { in setDisabledByAdmin() method in RestrictedSwitchPreference
DRestrictedPreference.java103 setDisabledByAdmin(null); in setEnabled()
115 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in RestrictedPreference
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DUnrestrictedDataAccessPreference.java55 setDisabledByAdmin(checkIfMeteredDataRestricted(context, entry.info.packageName, in UnrestrictedDataAccessPreference()
166 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in UnrestrictedDataAccessPreference
167 mHelper.setDisabledByAdmin(admin); in setDisabledByAdmin()
/packages/apps/Settings/src/com/android/settings/datausage/
DUnrestrictedDataAccessPreference.java55 setDisabledByAdmin(checkIfMeteredDataRestricted(context, entry.info.packageName, in UnrestrictedDataAccessPreference()
166 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in UnrestrictedDataAccessPreference
167 mHelper.setDisabledByAdmin(admin); in setDisabledByAdmin()
/packages/apps/Settings/src/com/android/settings/widget/
DMasterSwitchController.java74 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in MasterSwitchController
75 mPreference.setDisabledByAdmin(admin); in setDisabledByAdmin()
DSwitchBarController.java83 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in SwitchBarController
84 mSwitchBar.setDisabledByAdmin(admin); in setDisabledByAdmin()
DRestrictedAppPreference.java88 public void setDisabledByAdmin(RestrictedLockUtils.EnforcedAdmin admin) { in setDisabledByAdmin() method in RestrictedAppPreference
89 if (mHelper.setDisabledByAdmin(admin)) { in setDisabledByAdmin()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DMasterSwitchController.java74 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in MasterSwitchController
75 mPreference.setDisabledByAdmin(admin); in setDisabledByAdmin()
DSwitchBarController.java83 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in SwitchBarController
84 mSwitchBar.setDisabledByAdmin(admin); in setDisabledByAdmin()
DRestrictedAppPreference.java88 public void setDisabledByAdmin(RestrictedLockUtils.EnforcedAdmin admin) { in setDisabledByAdmin() method in RestrictedAppPreference
89 if (mHelper.setDisabledByAdmin(admin)) { in setDisabledByAdmin()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DRestrictedListPreference.java104 mHelper.setDisabledByAdmin(null); in setEnabled()
110 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in RestrictedListPreference
111 if (mHelper.setDisabledByAdmin(admin)) { in setDisabledByAdmin()
/packages/apps/Settings/src/com/android/settings/
DRestrictedListPreference.java104 mHelper.setDisabledByAdmin(null); in setEnabled()
110 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in RestrictedListPreference
111 if (mHelper.setDisabledByAdmin(admin)) { in setDisabledByAdmin()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothEnablerTest.java134 verify(mSwitchController).setDisabledByAdmin(null); in maybeEnforceRestrictions_noRestrictions()
152 verify(mSwitchController).setDisabledByAdmin(sFakeEnforcedAdmin); in maybeEnforceRestrictions_disallowBluetoothRestrictionSet()
171 verify(mSwitchController).setDisabledByAdmin(sFakeEnforcedAdmin); in maybeEnforceRestrictions_disallowConfigBluetoothRestrictionSet()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/
DTimeZonePreferenceControllerTest.java64 mPreference.setDisabledByAdmin(null); in updateState_autoTimeZoneEnabled_shouldDisablePref()
76 mPreference.setDisabledByAdmin(null); in updateState_autoTimeZoneDisabled_shouldEnablePref()
DTimePreferenceControllerTest.java64 mPreference.setDisabledByAdmin(null); in updateState_autoTimeEnabled_shouldDisablePref()
75 mPreference.setDisabledByAdmin(null); in updateState_autoTimeDisabled_shouldEnablePref()
DDatePreferenceControllerTest.java74 mPreference.setDisabledByAdmin(null); in updateState_autoTimeEnabled_shouldDisablePref()
85 mPreference.setDisabledByAdmin(null); in updateState_autoTimeDisabled_shouldEnablePref()
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DMultiUserSwitchBarControllerTest.java70 verify(mSwitchBarController).setDisabledByAdmin(any()); in onStart_disallowUserSwitch_shouldSetDisabledByAdmin()
81 verify(mSwitchBarController, never()).setDisabledByAdmin(any()); in onStart_allowUserSwitch_shouldNotSetDisabledByAdmin()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DSwitchBarTest.java89 mBar.setDisabledByAdmin(new EnforcedAdmin()); in disabledByAdmin_shouldDelegateToRestrictedIcon()
95 mBar.setDisabledByAdmin(null); in notDisabledByAdmin_shouldDelegateToSwitch()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/
DOwnerInfoPreferenceController.java89 mOwnerInfoPref.setDisabledByAdmin(admin); in updateEnableState()
91 mOwnerInfoPref.setDisabledByAdmin(null); in updateEnableState()
/packages/apps/Settings/src/com/android/settings/security/
DOwnerInfoPreferenceController.java89 mOwnerInfoPref.setDisabledByAdmin(admin); in updateEnableState()
91 mOwnerInfoPref.setDisabledByAdmin(null); in updateEnableState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DTimeoutListPreference.java105 setDisabledByAdmin(admin); in removeUnusableTimeouts()
108 setDisabledByAdmin(null); in removeUnusableTimeouts()
/packages/apps/Settings/src/com/android/settings/display/
DTimeoutListPreference.java105 setDisabledByAdmin(admin); in removeUnusableTimeouts()
108 setDisabledByAdmin(null); in removeUnusableTimeouts()
/packages/apps/Settings/src/com/android/settings/development/
DVerifyAppsOverUsbPreferenceController.java104 restrictedPreference.setDisabledByAdmin(null); in updateState()
113 restrictedPreference.setDisabledByAdmin(enforcingAdmin); in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DVerifyAppsOverUsbPreferenceController.java104 restrictedPreference.setDisabledByAdmin(null); in updateState()
113 restrictedPreference.setDisabledByAdmin(enforcingAdmin); in updateState()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiEnabler.java145 mSwitchWidget.setDisabledByAdmin(null); in handleWifiStateChanged()
171 mSwitchWidget.setDisabledByAdmin(admin); in handleWifiStateChanged()

12345