Home
last modified time | relevance | path

Searched refs:VISIBILITY_SECRET (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DVisibilityPreferenceControllerTest.java277 assertTrue(values.contains(String.valueOf(Notification.VISIBILITY_SECRET))); in testUpdateState_noGlobalRestriction()
314 when(channel.getLockscreenVisibility()).thenReturn(Notification.VISIBILITY_SECRET); in testUpdateState_channelOverride()
323 assertEquals(String.valueOf(Notification.VISIBILITY_SECRET), argumentCaptor.getValue()); in testUpdateState_channelOverride()
333 channel.setLockscreenVisibility(Notification.VISIBILITY_SECRET); in testOnPreferenceChange_noOverride()
358 mController.onPreferenceChange(pref, String.valueOf(Notification.VISIBILITY_SECRET)); in testOnPreferenceChange_override()
360 assertEquals(Notification.VISIBILITY_SECRET, channel.getLockscreenVisibility()); in testOnPreferenceChange_override()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DNotificationCompatUtils.java39 private static final int VISIBILITY_SECRET = null == FIELD_VISIBILITY_SECRET ? 0 field in NotificationCompatUtils
63 CompatUtils.invoke(builder, null, METHOD_setVisibility, VISIBILITY_SECRET); in setVisibilityToSecret()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DVisibilityPreferenceController.java101 values.add(Integer.toString(Notification.VISIBILITY_SECRET)); in updateState()
144 globalVis = Notification.VISIBILITY_SECRET; in getGlobalVisibility()
/packages/apps/Settings/src/com/android/settings/notification/app/
DVisibilityPreferenceController.java103 values.add(Integer.toString(Notification.VISIBILITY_SECRET)); in updateState()
146 globalVis = Notification.VISIBILITY_SECRET; in getGlobalVisibility()