Home
last modified time | relevance | path

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

12

/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
/packages/apps/Settings/src/com/android/settings/notification/
DRestrictedDropDownPreference.java134 mHelper.setDisabledByAdmin(null); in setEnabled()
140 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in RestrictedDropDownPreference
141 if (mHelper.setDisabledByAdmin(admin)) { in setDisabledByAdmin()
DChannelNotificationSettings.java185 mBadge.setDisabledByAdmin(mSuspendedAppsAdmin); in setupBadge()
203 mLights.setDisabledByAdmin(mSuspendedAppsAdmin); in setupLights()
219 mVibrate.setDisabledByAdmin(mSuspendedAppsAdmin); in setupVibrate()
254 mSwitchBar.setDisabledByAdmin(mSuspendedAppsAdmin); in setupBlock()
DNotificationSettingsBase.java309 mImportanceToggle.setDisabledByAdmin(mSuspendedAppsAdmin); in setupImportanceToggle()
331 mPriority.setDisabledByAdmin(mSuspendedAppsAdmin); in setupPriorityPref()
397 mVisibilityOverride.setDisabledByAdmin(mSuspendedAppsAdmin); in setupVisOverridePref()
DAppNotificationSettings.java269 mBadge.setDisabledByAdmin(mSuspendedAppsAdmin); in setupBadge()
296 mSwitchBar.setDisabledByAdmin(mSuspendedAppsAdmin); in setupBlock()
/packages/apps/Settings/src/com/android/settings/
DRestrictedListPreference.java79 mHelper.setDisabledByAdmin(null); in setEnabled()
85 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in RestrictedListPreference
86 if (mHelper.setDisabledByAdmin(admin)) { in setDisabledByAdmin()
DTimeoutListPreference.java99 setDisabledByAdmin(admin); in removeUnusableTimeouts()
102 setDisabledByAdmin(null); in removeUnusableTimeouts()
DRestrictedCheckBox.java57 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in RestrictedCheckBox
DRestrictedRadioButton.java63 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in RestrictedRadioButton
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothEnablerTest.java124 verify(mMasterSwitchController).setDisabledByAdmin(null); in maybeEnforceRestrictions_noRestrictions()
142 verify(mMasterSwitchController).setDisabledByAdmin(FAKE_ENFORCED_ADMIN); in maybeEnforceRestrictions_disallowBluetoothRestrictionSet()
161 verify(mMasterSwitchController).setDisabledByAdmin(FAKE_ENFORCED_ADMIN); in maybeEnforceRestrictions_disallowConfigBluetoothRestrictionSet()
/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.java82 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in SwitchBarController
83 mSwitchBar.setDisabledByAdmin(admin); in setDisabledByAdmin()
DSwitchBar.java180 setDisabledByAdmin(null); in setEnabled()
193 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in SwitchBar
DSwitchWidgetController.java110 public abstract void setDisabledByAdmin(EnforcedAdmin admin); in setDisabledByAdmin() method in SwitchWidgetController
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
DRestrictedSwitchPreference.java60 setDisabledByAdmin(null); in setEnabled()
66 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in RestrictedSwitchPreference
DPermissionAppsFragment.java248 ((RestrictedSwitchPreference) existingPref).setDisabledByAdmin( in onPermissionsLoaded()
274 pref.setDisabledByAdmin(enforcedAdmin); in onPermissionsLoaded()
/packages/apps/Settings/src/com/android/settings/security/
DOwnerInfoPreferenceController.java87 mOwnerInfoPref.setDisabledByAdmin(admin); in updateEnableState()
89 mOwnerInfoPref.setDisabledByAdmin(null); in updateEnableState()
/packages/apps/Settings/src/com/android/settings/development/
DVerifyAppsOverUsbPreferenceController.java133 mPreference.setDisabledByAdmin(null); in updatePreference()
142 mPreference.setDisabledByAdmin(enforcingAdmin); in updatePreference()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiEnabler.java144 mSwitchWidget.setDisabledByAdmin(null); in handleWifiStateChanged()
170 mSwitchWidget.setDisabledByAdmin(admin); in handleWifiStateChanged()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DUsbModeChooserActivity.java145 setDisabledByAdmin(v, titleView, summaryView); in inflateOption()
170 private void setDisabledByAdmin(View rootView, TextView titleView, TextView summaryView) { in setDisabledByAdmin() method in UsbModeChooserActivity
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DMasterSwitchPreferenceTest.java169 preference.setDisabledByAdmin(mock(EnforcedAdmin.class)); in setDisabledByAdmin_hasEnforcedAdmin_shouldDisableButton()
183 preference.setDisabledByAdmin(null); in setDisabledByAdmin_noEnforcedAdmin_shouldEnableButton()
/packages/apps/Settings/src/com/android/settings/location/
DLocationSettings.java268 mManagedProfileSwitch.setDisabledByAdmin(admin); in changeManagedProfileLocationAccessStatus()
351 mSwitchBar.setDisabledByAdmin(admin); in onModeChanged()
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockGeneric.java556 ((RestrictedPreference) pref).setDisabledByAdmin(enforcedAdmin); in disableUnusablePreferencesImpl()
560 ((RestrictedPreference) pref).setDisabledByAdmin(null); in disableUnusablePreferencesImpl()
564 ((RestrictedPreference) pref).setDisabledByAdmin(null); in disableUnusablePreferencesImpl()
/packages/apps/Settings/src/com/android/settings/accounts/
DProviderPreference.java52 setDisabledByAdmin(admin); in checkAccountManagementAndSetDisabled()
/packages/apps/Settings/src/com/android/settings/datetime/
DAutoTimePreferenceController.java49 ((RestrictedSwitchPreference) preference).setDisabledByAdmin( in updateState()

12