Searched refs:NOTIFICATION_BADGING (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | BadgingNotificationPreferenceControllerTest.java | 19 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()
|
D | BadgePreferenceControllerTest.java | 23 import static android.provider.Settings.Secure.NOTIFICATION_BADGING; 125 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BADGING, 0); in testIsAvailable_notIfOffGlobally() local 134 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BADGING, 1); in testIsAvailable_app() local 147 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BADGING, 1); in testIsAvailable_defaultChannel() local 159 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BADGING, 1); in testIsAvailable_channel() local 171 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BADGING, 1); in testIsAvailable_channelAppOff() local
|
D | SnoozeNotificationPreferenceControllerTest.java | 19 import static android.provider.Settings.Secure.NOTIFICATION_BADGING;
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | BadgingNotificationPreferenceController.java | 19 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);
|
D | BadgePreferenceController.java | 19 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/ |
D | BadgingNotificationPreferenceController.java | 19 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);
|
D | BadgePreferenceController.java | 19 import static android.provider.Settings.Secure.NOTIFICATION_BADGING; 56 NOTIFICATION_BADGING, SYSTEM_WIDE_ON) == SYSTEM_WIDE_OFF) { in isAvailable()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | SecureSettingsObserver.java | 31 public static final String NOTIFICATION_BADGING = "notification_badging"; field in SecureSettingsObserver 80 context.getContentResolver(), listener, NOTIFICATION_BADGING, 1); in newNotificationSettingsObserver()
|