Home
last modified time | relevance | path

Searched refs:hasSensitiveContent (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DTestableNotificationManagerService.java50 public boolean hasSensitiveContent; field in TestableNotificationManagerService.SensitiveLog
178 protected void logSensitiveAdjustmentReceived(boolean hasPosted, boolean hasSensitiveContent, in logSensitiveAdjustmentReceived() argument
182 lastSensitiveLog.hasSensitiveContent = hasSensitiveContent; in logSensitiveAdjustmentReceived()
207 && hasSensitive == lastSensitiveLog.hasSensitiveContent in checkLastSensitiveLog()
DNotificationRecordExtractorDataTest.java60 r.hasSensitiveContent()); in testHasDiffs_noDiffs()
88 r.hasSensitiveContent()); in testHasDiffs_proposedImportanceChange()
122 r.hasSensitiveContent()); in testHasDiffs_autoBundled()
157 r.hasSensitiveContent()); in testHasDiffs_sensitiveContentChange()
DNotificationListenersTest.java762 when(r.hasSensitiveContent()).thenReturn(true); in testRedaction_whenPosted()
764 when(old.hasSensitiveContent()).thenReturn(true); in testRedaction_whenPosted()
788 when(r.hasSensitiveContent()).thenReturn(true); in testRedaction_whenPosted_oldRemoved()
790 when(old.hasSensitiveContent()).thenReturn(true); in testRedaction_whenPosted_oldRemoved()
813 when(r.hasSensitiveContent()).thenReturn(true); in testRedaction_whenRemoved()
832 when(r.hasSensitiveContent()).thenReturn(true); in testRedaction_noneIfFlagDisabled()
DNotificationListenerServiceTest.java250 hasSensitiveContent(i) in generateUpdate()
382 private boolean hasSensitiveContent(int index) { in hasSensitiveContent() method in NotificationListenerServiceTest
DNotificationRecordTest.java965 assertFalse(record.hasSensitiveContent()); in testSensitiveContent()
973 assertTrue(record.hasSensitiveContent()); in testSensitiveContent()
DNotificationManagerServiceTest.java12634 when(mListeners.hasSensitiveContent(any())).thenReturn(true);
12664 when(mListeners.hasSensitiveContent(any())).thenReturn(true);
12848 when(mListeners.hasSensitiveContent(any())).thenReturn(true);
12876 when(mListeners.hasSensitiveContent(any())).thenReturn(true);
12906 when(mListeners.hasSensitiveContent(any())).thenReturn(false);
12915 when(mListeners.hasSensitiveContent(any())).thenReturn(true);
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecordExtractorData.java96 || mSensitiveContent != r.hasSensitiveContent(); in hasDiffForRankingLocked()
120 || mSensitiveContent != r.hasSensitiveContent(); in hasDiffForLoggingLocked()
DNotificationManagerService.java1844 boolean hasSensitiveContent, int lifespanMs) { in logSensitiveAdjustmentReceived() argument
1846 hasSensitiveContent, lifespanMs); in logSensitiveAdjustmentReceived()
5347 if (mListeners.hasSensitiveContent(r) && !mListeners.isUidTrusted(info.uid)) {
9419 r.hasSensitiveContent());
10627 && mListeners.hasSensitiveContent(record)) {
10659 record.hasSensitiveContent()
11872 boolean isNewSensitive = hasSensitiveContent(r);
11873 boolean isOldSensitive = hasSensitiveContent(old);
12070 boolean hasSensitiveContent(NotificationRecord r) {
12074 return r.hasSensitiveContent();
[all …]
DNotificationRecord.java920 public boolean hasSensitiveContent() { in hasSensitiveContent() method in NotificationRecord
/frameworks/base/core/tests/coretests/src/android/service/notification/
DNotificationRankingUpdateTest.java127 hasSensitiveContent(i) in generateUpdate()
332 public static boolean hasSensitiveContent(int index) { in hasSensitiveContent() method in NotificationRankingUpdateTest
400 Assert.assertEquals(a.hasSensitiveContent(), b.hasSensitiveContent()); in detailedAssertEquals()
553 tweak.hasSensitiveContent() in testRankingUpdate_equals_legacy()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/
DRankingBuilder.java94 mSensitiveContent = ranking.hasSensitiveContent(); in RankingBuilder()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DSensitiveContentProtectionManagerServiceNotificationTest.java145 when(mSensitiveRanking.hasSensitiveContent()).thenReturn(true); in setUp()
146 when(mNonSensitiveRanking.hasSensitiveContent()).thenReturn(false); in setUp()
/frameworks/base/services/core/java/com/android/server/
DSensitiveContentProtectionManagerService.java437 return ranking != null && ranking.hasSensitiveContent(); in notificationHasSensitiveContent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerImpl.java659 && ent.getRanking() != null && ent.getRanking().hasSensitiveContent(); in needsRedaction()
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java1969 public boolean hasSensitiveContent() { in hasSensitiveContent() method in NotificationListenerService.Ranking
/frameworks/base/core/api/
Dsystem-current.txt12926 method public boolean hasSensitiveContent();
/frameworks/base/services/
Dart-wear-profile15973 …er/notification/NotificationManagerService$NotificationListeners;->hasSensitiveContent(Lcom/androi…
16283 PLcom/android/server/notification/NotificationRecord;->hasSensitiveContent()Z