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/
DVisibilityPreferenceControllerTest.java276 assertTrue(values.contains(String.valueOf(Notification.VISIBILITY_SECRET))); in testUpdateState_noGlobalRestriction()
313 when(channel.getLockscreenVisibility()).thenReturn(Notification.VISIBILITY_SECRET); in testUpdateState_channelOverride()
322 assertEquals(String.valueOf(Notification.VISIBILITY_SECRET), argumentCaptor.getValue()); in testUpdateState_channelOverride()
332 channel.setLockscreenVisibility(Notification.VISIBILITY_SECRET); in testOnPreferenceChange_noOverride()
357 mController.onPreferenceChange(pref, String.valueOf(Notification.VISIBILITY_SECRET)); in testOnPreferenceChange_override()
359 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/apps/Settings/src/com/android/settings/notification/
DVisibilityPreferenceController.java101 values.add(Integer.toString(Notification.VISIBILITY_SECRET)); in updateState()
144 globalVis = Notification.VISIBILITY_SECRET; in getGlobalVisibility()
/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()