Home
last modified time | relevance | path

Searched refs:NOTIFICATION_BADGING (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DBadgingNotificationPreferenceControllerTest.java19 import static android.provider.Settings.Secure.NOTIFICATION_BADGING;
94 Settings.Secure.putInt(context.getContentResolver(), NOTIFICATION_BADGING, ON); in updateState_preferenceSetCheckedWhenSettingIsOn() local
107 Settings.Secure.putInt(context.getContentResolver(), NOTIFICATION_BADGING, OFF); in updateState_preferenceSetUncheckedWhenSettingIsOff() local
118 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BADGING, OFF); in isChecked_settingIsOff_shouldReturnFalse() local
125 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BADGING, ON); in isChecked_settingIsOn_shouldReturnTrue() local
132 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BADGING, ON); in setChecked_setFalse_disablesSetting() local
136 NOTIFICATION_BADGING, -1); in setChecked_setFalse_disablesSetting()
143 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BADGING, OFF); in setChecked_setTrue_enablesSetting() local
147 NOTIFICATION_BADGING, -1); in setChecked_setTrue_enablesSetting()
DSnoozeNotificationPreferenceControllerTest.java19 import static android.provider.Settings.Secure.NOTIFICATION_BADGING;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DBadgingNotificationPreferenceController.java19 import static android.provider.Settings.Secure.NOTIFICATION_BADGING;
58 Preference preference = screen.findPreference(NOTIFICATION_BADGING); in displayPreference()
93 NOTIFICATION_BADGING, ON) == ON; in isChecked()
99 NOTIFICATION_BADGING, isChecked ? ON : OFF); in setChecked()
105 Settings.Secure.getUriFor(NOTIFICATION_BADGING);
DBadgePreferenceController.java19 import static android.provider.Settings.Secure.NOTIFICATION_BADGING;
56 NOTIFICATION_BADGING, SYSTEM_WIDE_ON) == SYSTEM_WIDE_OFF) { in isAvailable()
/packages/apps/Settings/src/com/android/settings/notification/
DBadgingNotificationPreferenceController.java19 import static android.provider.Settings.Secure.NOTIFICATION_BADGING;
58 Preference preference = screen.findPreference(NOTIFICATION_BADGING); in displayPreference()
93 NOTIFICATION_BADGING, ON) == ON; in isChecked()
99 NOTIFICATION_BADGING, isChecked ? ON : OFF); in setChecked()
105 Settings.Secure.getUriFor(NOTIFICATION_BADGING);
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DBadgePreferenceControllerTest.java23 import static android.provider.Settings.Secure.NOTIFICATION_BADGING;
126 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BADGING, 0); in testIsAvailable_notIfOffGlobally() local
135 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BADGING, 1); in testIsAvailable_app() local
148 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BADGING, 1); in testIsAvailable_defaultChannel() local
160 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BADGING, 1); in testIsAvailable_channel() local
172 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BADGING, 1); in testIsAvailable_channelAppOff() local
/packages/apps/Launcher3/src/com/android/launcher3/util/
DSecureSettingsObserver.java31 public static final String NOTIFICATION_BADGING = "notification_badging"; field in SecureSettingsObserver
80 context.getContentResolver(), listener, NOTIFICATION_BADGING, 1); in newNotificationSettingsObserver()
/packages/apps/Settings/src/com/android/settings/notification/app/
DBadgePreferenceController.java19 import static android.provider.Settings.Secure.NOTIFICATION_BADGING;
57 NOTIFICATION_BADGING, SYSTEM_WIDE_ON) == SYSTEM_WIDE_OFF) { in isAvailable()