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.java296 assertTrue(values.contains(String.valueOf(Notification.VISIBILITY_SECRET))); in testUpdateState_noGlobalRestriction()
333 when(channel.getLockscreenVisibility()).thenReturn(Notification.VISIBILITY_SECRET); in testUpdateState_channelOverride()
342 assertEquals(String.valueOf(Notification.VISIBILITY_SECRET), argumentCaptor.getValue()); in testUpdateState_channelOverride()
352 channel.setLockscreenVisibility(Notification.VISIBILITY_SECRET); in testOnPreferenceChange_noOverride()
377 mController.onPreferenceChange(pref, String.valueOf(Notification.VISIBILITY_SECRET)); in testOnPreferenceChange_override()
379 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/modules/Wifi/service/java/com/android/server/wifi/
DConnectToNetworkNotificationBuilder.java19 import static android.app.Notification.VISIBILITY_SECRET;
108 notificationBuilder.setVisibility(VISIBILITY_SECRET); in createConnectToAvailableNetworkNotification()
/packages/apps/Settings/src/com/android/settings/notification/app/
DVisibilityPreferenceController.java108 values.add(Integer.toString(Notification.VISIBILITY_SECRET)); in updateState()
151 globalVis = Notification.VISIBILITY_SECRET; in getGlobalVisibility()