/packages/services/Telephony/src/com/android/phone/ |
D | RestrictedSwitchPreference.java | 74 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/ |
D | RestrictedDropDownPreference.java | 134 mHelper.setDisabledByAdmin(null); in setEnabled() 140 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in RestrictedDropDownPreference 141 if (mHelper.setDisabledByAdmin(admin)) { in setDisabledByAdmin()
|
D | ChannelNotificationSettings.java | 185 mBadge.setDisabledByAdmin(mSuspendedAppsAdmin); in setupBadge() 203 mLights.setDisabledByAdmin(mSuspendedAppsAdmin); in setupLights() 219 mVibrate.setDisabledByAdmin(mSuspendedAppsAdmin); in setupVibrate() 254 mSwitchBar.setDisabledByAdmin(mSuspendedAppsAdmin); in setupBlock()
|
D | NotificationSettingsBase.java | 309 mImportanceToggle.setDisabledByAdmin(mSuspendedAppsAdmin); in setupImportanceToggle() 331 mPriority.setDisabledByAdmin(mSuspendedAppsAdmin); in setupPriorityPref() 397 mVisibilityOverride.setDisabledByAdmin(mSuspendedAppsAdmin); in setupVisOverridePref()
|
D | AppNotificationSettings.java | 269 mBadge.setDisabledByAdmin(mSuspendedAppsAdmin); in setupBadge() 296 mSwitchBar.setDisabledByAdmin(mSuspendedAppsAdmin); in setupBlock()
|
/packages/apps/Settings/src/com/android/settings/ |
D | RestrictedListPreference.java | 79 mHelper.setDisabledByAdmin(null); in setEnabled() 85 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in RestrictedListPreference 86 if (mHelper.setDisabledByAdmin(admin)) { in setDisabledByAdmin()
|
D | TimeoutListPreference.java | 99 setDisabledByAdmin(admin); in removeUnusableTimeouts() 102 setDisabledByAdmin(null); in removeUnusableTimeouts()
|
D | RestrictedCheckBox.java | 57 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in RestrictedCheckBox
|
D | RestrictedRadioButton.java | 63 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in RestrictedRadioButton
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothEnablerTest.java | 124 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/ |
D | MasterSwitchController.java | 74 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in MasterSwitchController 75 mPreference.setDisabledByAdmin(admin); in setDisabledByAdmin()
|
D | SwitchBarController.java | 82 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in SwitchBarController 83 mSwitchBar.setDisabledByAdmin(admin); in setDisabledByAdmin()
|
D | SwitchBar.java | 180 setDisabledByAdmin(null); in setEnabled() 193 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in SwitchBar
|
D | SwitchWidgetController.java | 110 public abstract void setDisabledByAdmin(EnforcedAdmin admin); in setDisabledByAdmin() method in SwitchWidgetController
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/ |
D | RestrictedSwitchPreference.java | 60 setDisabledByAdmin(null); in setEnabled() 66 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in RestrictedSwitchPreference
|
D | PermissionAppsFragment.java | 248 ((RestrictedSwitchPreference) existingPref).setDisabledByAdmin( in onPermissionsLoaded() 274 pref.setDisabledByAdmin(enforcedAdmin); in onPermissionsLoaded()
|
/packages/apps/Settings/src/com/android/settings/security/ |
D | OwnerInfoPreferenceController.java | 87 mOwnerInfoPref.setDisabledByAdmin(admin); in updateEnableState() 89 mOwnerInfoPref.setDisabledByAdmin(null); in updateEnableState()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | VerifyAppsOverUsbPreferenceController.java | 133 mPreference.setDisabledByAdmin(null); in updatePreference() 142 mPreference.setDisabledByAdmin(enforcingAdmin); in updatePreference()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiEnabler.java | 144 mSwitchWidget.setDisabledByAdmin(null); in handleWifiStateChanged() 170 mSwitchWidget.setDisabledByAdmin(admin); in handleWifiStateChanged()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | UsbModeChooserActivity.java | 145 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/ |
D | MasterSwitchPreferenceTest.java | 169 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/ |
D | LocationSettings.java | 268 mManagedProfileSwitch.setDisabledByAdmin(admin); in changeManagedProfileLocationAccessStatus() 351 mSwitchBar.setDisabledByAdmin(admin); in onModeChanged()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ChooseLockGeneric.java | 556 ((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/ |
D | ProviderPreference.java | 52 setDisabledByAdmin(admin); in checkAccountManagementAndSetDisabled()
|
/packages/apps/Settings/src/com/android/settings/datetime/ |
D | AutoTimePreferenceController.java | 49 ((RestrictedSwitchPreference) preference).setDisabledByAdmin( in updateState()
|