Home
last modified time | relevance | path

Searched refs:LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DRedactNotificationPreferenceControllerTest.java21 import static android.provider.Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS;
268 LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, in isChecked() local
274 LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, in isChecked() local
283 LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, in isChecked_work() local
289 LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, in isChecked_work() local
298 LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, in setChecked_false() local
303 mContext.getContentResolver(), LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 0)) in setChecked_false() local
310 LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, in setChecked_workProfile_false() local
315 mContext.getContentResolver(), LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 10)) in setChecked_workProfile_false() local
322 LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, in setChecked_true() local
[all …]
DRedactionInterstitialTest.java5 import static android.provider.Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS;
150 LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, showUnredacted, UserHandle.myUserId()); in setupSettings()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DVisibilityPreferenceControllerTest.java106 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 1); in setUp()
263 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 0); in testUpdateState_noPrivateLockScreenNotificationsGlobally()
310 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 0); in testUpdateState_noChannelOverride()
329 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 0); in testUpdateState_channelOverride()
348 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 0); in testOnPreferenceChange_noOverride()
367 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 0); in testOnPreferenceChange_override()
/packages/apps/Settings/src/com/android/settings/notification/
DRedactNotificationPreferenceController.java21 import static android.provider.Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS;
111 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, isChecked ? 1 : 0, userId); in setChecked()
175 LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 1, userId) != 0; in getAllowPrivateNotifications()
DLockScreenNotificationPreferenceController.java226 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, in onPreferenceChange()
238 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, show ? 1 : 0); in onPreferenceChange()
321 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 0, userId) != 0; in getAllowPrivateNotifications()
327 Settings.Secure.getUriFor(Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS);
DRedactionInterstitial.java21 import static android.provider.Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS;
188 getContentResolver(), LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 1, mUserId) != 0; in loadFromSettings()
208 LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, show ? 1 : 0, mUserId); in onCheckedChanged() local
/packages/apps/Settings/src/com/android/settings/notification/app/
DVisibilityPreferenceController.java167 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 0) != 0; in getLockscreenAllowPrivateNotifications()