/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
|
D | RestrictedPreference.java | 103 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/ |
D | UnrestrictedDataAccessPreference.java | 55 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/ |
D | UnrestrictedDataAccessPreference.java | 55 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/ |
D | MasterSwitchController.java | 74 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in MasterSwitchController 75 mPreference.setDisabledByAdmin(admin); in setDisabledByAdmin()
|
D | SwitchBarController.java | 83 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in SwitchBarController 84 mSwitchBar.setDisabledByAdmin(admin); in setDisabledByAdmin()
|
D | RestrictedAppPreference.java | 88 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/ |
D | MasterSwitchController.java | 74 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in MasterSwitchController 75 mPreference.setDisabledByAdmin(admin); in setDisabledByAdmin()
|
D | SwitchBarController.java | 83 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() method in SwitchBarController 84 mSwitchBar.setDisabledByAdmin(admin); in setDisabledByAdmin()
|
D | RestrictedAppPreference.java | 88 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/ |
D | RestrictedListPreference.java | 104 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/ |
D | RestrictedListPreference.java | 104 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/ |
D | BluetoothEnablerTest.java | 134 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/ |
D | TimeZonePreferenceControllerTest.java | 64 mPreference.setDisabledByAdmin(null); in updateState_autoTimeZoneEnabled_shouldDisablePref() 76 mPreference.setDisabledByAdmin(null); in updateState_autoTimeZoneDisabled_shouldEnablePref()
|
D | TimePreferenceControllerTest.java | 64 mPreference.setDisabledByAdmin(null); in updateState_autoTimeEnabled_shouldDisablePref() 75 mPreference.setDisabledByAdmin(null); in updateState_autoTimeDisabled_shouldEnablePref()
|
D | DatePreferenceControllerTest.java | 74 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/ |
D | MultiUserSwitchBarControllerTest.java | 70 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/ |
D | SwitchBarTest.java | 89 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/ |
D | OwnerInfoPreferenceController.java | 89 mOwnerInfoPref.setDisabledByAdmin(admin); in updateEnableState() 91 mOwnerInfoPref.setDisabledByAdmin(null); in updateEnableState()
|
/packages/apps/Settings/src/com/android/settings/security/ |
D | OwnerInfoPreferenceController.java | 89 mOwnerInfoPref.setDisabledByAdmin(admin); in updateEnableState() 91 mOwnerInfoPref.setDisabledByAdmin(null); in updateEnableState()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/ |
D | TimeoutListPreference.java | 105 setDisabledByAdmin(admin); in removeUnusableTimeouts() 108 setDisabledByAdmin(null); in removeUnusableTimeouts()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | TimeoutListPreference.java | 105 setDisabledByAdmin(admin); in removeUnusableTimeouts() 108 setDisabledByAdmin(null); in removeUnusableTimeouts()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | VerifyAppsOverUsbPreferenceController.java | 104 restrictedPreference.setDisabledByAdmin(null); in updateState() 113 restrictedPreference.setDisabledByAdmin(enforcingAdmin); in updateState()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/ |
D | VerifyAppsOverUsbPreferenceController.java | 104 restrictedPreference.setDisabledByAdmin(null); in updateState() 113 restrictedPreference.setDisabledByAdmin(enforcingAdmin); in updateState()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiEnabler.java | 145 mSwitchWidget.setDisabledByAdmin(null); in handleWifiStateChanged() 171 mSwitchWidget.setDisabledByAdmin(admin); in handleWifiStateChanged()
|