/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | BubbleExtractorTest.java | 176 assertFalse(r.canBubble()); in testAppYesChannelNo() 191 assertTrue(r.canBubble()); in testAppYesChannelDefault() 205 assertTrue(r.canBubble()); in testAppYesChannelYes() 219 assertFalse(r.canBubble()); in testAppYesChannelYesFeatureNo() 234 assertFalse(r.canBubble()); in testAppNoChannelYes() 249 assertFalse(r.canBubble()); in testAppNoChannelDefault() 264 assertFalse(r.canBubble()); in testAppSelectedChannelDefault() 295 assertTrue(r.canBubble()); in testAppSeletedChannelYes() 331 assertTrue(r.canBubble()); in testFlagBubble_false_previouslyRemoved() 347 assertTrue(r.canBubble()); in testFlagBubble_true_shortcutBubble() [all …]
|
H A D | NotificationRecordExtractorDataTest.java | 46 r.canBubble(), in testHasDiffs_noDiffs() 74 r.canBubble(), in testHasDiffs_proposedImportanceChange() 108 r.canBubble(), in testHasDiffs_autoBundled() 143 r.canBubble(), in testHasDiffs_sensitiveContentChange()
|
H A D | NotificationListenerServiceTest.java | 153 assertEquals(canBubble(i), ranking.canBubble()); in testRanking() 224 tweak.canBubble(), in testRankingUpdate_equals() 307 canBubble(i), in generateUpdate() 415 private boolean canBubble(int index) { in canBubble() method in NotificationListenerServiceTest 486 assertEquals(comment, a.canBubble(), b.canBubble()); in detailedAssertEquals()
|
H A D | PreferencesHelperTest.java | 1988 assertEquals(channel.canBubble(), savedChannel.canBubble()); in testCreateChannel_CannotChangeHiddenFields() 2020 assertEquals(channel.canBubble(), savedChannel.canBubble()); in testCreateChannel_CannotChangeHiddenFieldsAssistant() 2672 newChannel.setAllowBubbles(!channel.canBubble()); in testCreateChannel_alreadyExists() 3966 mHelper.getNotificationChannel(PKG_O, UID_O, a.getId(), false).canBubble()); in testUpdateNotificationChannel_fixedPermission() 3985 mHelper.getNotificationChannel(PKG_O, UID_O, a.getId(), false).canBubble()); in testUpdateNotificationChannel_defaultApp() 4003 mHelper.getNotificationChannel(PKG_O, UID_O, a.getId(), false).canBubble()); in testUpdateNotificationChannel_fixedPermission_butUserPreviouslyBlockedIt() 4022 mHelper.getNotificationChannel(PKG_O, UID_O, a.getId(), false).canBubble()); in testUpdateNotificationChannel_fixedPermission_butAppAllowsIt() 4040 mHelper.getNotificationChannel(PKG_O, UID_O, a.getId(), false).canBubble()); in testUpdateNotificationChannel_notFixedPermission() 4239 mHelper.getNotificationChannel(PKG_O, UID_O, a.getId(), false).canBubble()); in testUpdateNotificationChannel_defaultAppLockedImportance()
|
H A D | NotificationManagerServiceTest.java | 962 r.setAllowBubble(!r.canBubble()); in getSignalExtractorSideEffects() 9852 original.setAllowBubbles(!original.canBubble()); 9876 assertFalse(friendChannel.canBubble()); // can't be modified by app
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
H A D | BubbleEntry.java | 102 } else if (getBubbleMetadata() != null && canBubble()) { in setFlagBubble() 114 public boolean canBubble() { in canBubble() method in BubbleEntry 115 return mRanking.canBubble(); in canBubble()
|
H A D | BubbleController.java | 1160 } else if (entry.canBubble()) { in expandStackAndSelectBubble() 1524 if (isActiveOrInOverflow && !mTmpRanking.canBubble()) { in onRankingUpdated() 1554 if (!channel.canBubble() || channel.isDeleted()) { in onNotificationChannelModified()
|
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/ |
H A D | RankingBuilder.java | 87 mCanBubble = ranking.canBubble(); in RankingBuilder() 195 public RankingBuilder setCanBubble(boolean canBubble) { in setCanBubble() argument 196 mCanBubble = canBubble; in setCanBubble()
|
/aosp14/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | BubbleExtractor.java | 104 record.setAllowBubble(recordChannel.canBubble()); in process() 109 + " canBubble: " + record.canBubble() in process() 114 final boolean applyFlag = record.canBubble() && !record.isFlagBubbleRemoved(); in process()
|
H A D | NotificationRecordExtractorData.java | 84 || mAllowBubble != r.canBubble() in hasDiffForRankingLocked()
|
H A D | NotificationRecord.java | 1149 public boolean canBubble() { in canBubble() method in NotificationRecord
|
H A D | NotificationManagerService.java | 7668 || (mReason == REASON_CLICK && r.canBubble() 8179 if (r.canBubble()) { 8446 } else if (record.canBubble()) { 8569 final boolean isBubbleOrOverflowed = record.canBubble() && (record.isFlagBubbleRemoved() 8979 record.canBubble() && (interruptiveBefore != record.isInterruptive()); 9011 r.canBubble(), 10289 record.canBubble(),
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarNotificationActivityStarter.java | 344 final boolean canBubble = entry.canBubble(); in handleNotificationClickAfterPanelCollapsed() 345 if (canBubble) { in handleNotificationClickAfterPanelCollapsed() 352 if (isActivityIntent || canBubble) { in handleNotificationClickAfterPanelCollapsed() 358 if (!canBubble && (shouldAutoCancel(entry.getSbn()) in handleNotificationClickAfterPanelCollapsed()
|
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/collection/ |
H A D | NotificationEntryBuilder.java | 303 public NotificationEntryBuilder setCanBubble(boolean canBubble) { in setCanBubble() argument 304 mRankingBuilder.setCanBubble(canBubble); in setCanBubble()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
H A D | NotificationEntry.java | 373 public boolean canBubble() { in canBubble() method in NotificationEntry 374 return mRanking.canBubble(); in canBubble() 440 } else if (mBubbleMetadata != null && canBubble()) { in setFlagBubble()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
H A D | NotificationConversationInfoTest.java | 745 assertFalse(mConversationChannel.canBubble()); in testFavorite() 789 assertFalse(mConversationChannel.canBubble()); in testDefault() 872 assertTrue(captor.getValue().canBubble()); in testFavorite_andSave() 1050 assertFalse(captor.getValue().canBubble()); in testDefault_andSave() 1088 assertTrue(captor.getValue().canBubble()); in testDefault_andSave_doesNotChangeNonImportantBubbling() 1162 assertFalse(captor.getValue().canBubble()); in testSilence_andSave()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | SwipeHelper.java | 866 boolean canBubble = enr.getEntry().canBubble(); in isAvailableToDragAndDrop() 870 if (dragIntent != null && dragIntent.isActivity() && !canBubble) { in isAvailableToDragAndDrop()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
H A D | LaunchConversationActivity.java | 145 if (mBubble != null || (entry != null && entry.canBubble())) { in onCreate()
|
/aosp14/frameworks/base/core/java/android/service/notification/ |
H A D | NotificationListenerService.java | 2054 public boolean canBubble() { in canBubble() method in NotificationListenerService.Ranking 2114 ArrayList<CharSequence> smartReplies, boolean canBubble, in populate() argument 2137 mCanBubble = canBubble; in populate()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
H A D | LaunchConversationActivityTest.java | 151 when(mNotifEntryCanBubble.canBubble()).thenReturn(true); in setUp()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/ |
H A D | NotificationInterruptStateProviderImpl.java | 185 if (!entry.canBubble()) { in shouldBubbleUp()
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | NotificationChannel.java | 803 public boolean canBubble() { in canBubble() method in NotificationChannel
|
/aosp14/frameworks/base/services/people/java/com/android/server/people/data/ |
H A D | DataManager.java | 1280 builder.setBubbled(channel.canBubble()); in onNotificationChannelModified()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
H A D | DataManagerTest.java | 765 assertFalse(result.getNotificationChannel().canBubble()); in testOnNotificationChannelModified()
|
/aosp14/frameworks/base/config/ |
H A D | boot-profile.txt | 671 Landroid/app/NotificationChannel;->canBubble()Z
|