/packages/apps/Settings/src/com/android/settings/network/ |
D | TetherEnabler.java | 191 private void setSwitchEnabled(boolean enabled) { in setSwitchEnabled() method in TetherEnabler 203 setSwitchEnabled(true); in updateState() 277 setSwitchEnabled(false); in stopTethering() 307 setSwitchEnabled(false); in startTethering() 367 setSwitchEnabled(true); in onDataSaverChanged()
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | DashboardFeatureProviderImpl.java | 298 setSwitchEnabled(preference, false); 304 setSwitchEnabled(pref, false); 311 setSwitchEnabled(pref, true); 333 setSwitchEnabled(preference, true); 346 private void setSwitchEnabled(Preference pref, boolean enabled) { 348 ((MasterSwitchPreference) pref).setSwitchEnabled(enabled);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | MasterSwitchPreferenceTest.java | 83 mPreference.setSwitchEnabled(true); in setSwitchEnabled_shouldUpdateButtonEnabledState() 86 mPreference.setSwitchEnabled(false); in setSwitchEnabled_shouldUpdateButtonEnabledState() 94 mPreference.setSwitchEnabled(false); in setSwitchEnabled_shouldUpdateButtonEnabledState_beforeViewBound()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | NotificationSwitchBarPreference.java | 72 public void setSwitchEnabled(boolean enabled) { in setSwitchEnabled() method in NotificationSwitchBarPreference 80 setSwitchEnabled(admin == null); in setDisabledByAdmin()
|
D | NotificationAppPreference.java | 101 public void setSwitchEnabled(boolean enabled) { in setSwitchEnabled() method in NotificationAppPreference 113 setSwitchEnabled(admin == null); in setDisabledByAdmin()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | MasterSwitchPreference.java | 103 public void setSwitchEnabled(boolean enabled) { in setSwitchEnabled() method in MasterSwitchPreference 115 setSwitchEnabled(admin == null); in setDisabledByAdmin()
|
D | MasterSwitchController.java | 62 mPreference.setSwitchEnabled(enabled); in setEnabled()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | MasterSwitchPreference.java | 116 public void setSwitchEnabled(boolean enabled) { in setSwitchEnabled() method in MasterSwitchPreference 129 setSwitchEnabled(admin == null); in setDisabledByAdmin()
|
D | MasterSwitchController.java | 68 mPreference.setSwitchEnabled(enabled); in setEnabled()
|
/packages/apps/Settings/src/com/android/settings/display/darkmode/ |
D | DarkModePreference.java | 48 setSwitchEnabled(!batterySaver); in DarkModePreference()
|
/packages/apps/Settings/src/com/android/settings/notification/app/ |
D | AppChannelsBypassingDndPreferenceController.java | 163 channelPreference.setSwitchEnabled( in populateList()
|
D | ChannelListPreferenceController.java | 181 channelPref.setSwitchEnabled(mAdmin == null in populateSingleChannelPrefs()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | RecentNotifyingAppsPreferenceController.java | 274 pref.setSwitchEnabled(mNotificationBackend.isBlockable(mContext, appEntry.info)); in displayRecentApps()
|