Home
last modified time | relevance | path

Searched refs:canBubble (Results 1 – 25 of 30) sorted by relevance

12

/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DBubbleExtractorTest.java176 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 DNotificationRecordExtractorDataTest.java46 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 DNotificationListenerServiceTest.java153 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 DPreferencesHelperTest.java1988 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 DNotificationManagerServiceTest.java962 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 DBubbleEntry.java102 } else if (getBubbleMetadata() != null && canBubble()) { in setFlagBubble()
114 public boolean canBubble() { in canBubble() method in BubbleEntry
115 return mRanking.canBubble(); in canBubble()
H A DBubbleController.java1160 } 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 DRankingBuilder.java87 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 DBubbleExtractor.java104 record.setAllowBubble(recordChannel.canBubble()); in process()
109 + " canBubble: " + record.canBubble() in process()
114 final boolean applyFlag = record.canBubble() && !record.isFlagBubbleRemoved(); in process()
H A DNotificationRecordExtractorData.java84 || mAllowBubble != r.canBubble() in hasDiffForRankingLocked()
H A DNotificationRecord.java1149 public boolean canBubble() { in canBubble() method in NotificationRecord
H A DNotificationManagerService.java7668 || (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 DStatusBarNotificationActivityStarter.java344 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 DNotificationEntryBuilder.java303 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 DNotificationEntry.java373 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 DNotificationConversationInfoTest.java745 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 DSwipeHelper.java866 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 DLaunchConversationActivity.java145 if (mBubble != null || (entry != null && entry.canBubble())) { in onCreate()
/aosp14/frameworks/base/core/java/android/service/notification/
H A DNotificationListenerService.java2054 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 DLaunchConversationActivityTest.java151 when(mNotifEntryCanBubble.canBubble()).thenReturn(true); in setUp()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
H A DNotificationInterruptStateProviderImpl.java185 if (!entry.canBubble()) { in shouldBubbleUp()
/aosp14/frameworks/base/core/java/android/app/
H A DNotificationChannel.java803 public boolean canBubble() { in canBubble() method in NotificationChannel
/aosp14/frameworks/base/services/people/java/com/android/server/people/data/
H A DDataManager.java1280 builder.setBubbled(channel.canBubble()); in onNotificationChannelModified()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
H A DDataManagerTest.java765 assertFalse(result.getNotificationChannel().canBubble()); in testOnNotificationChannelModified()
/aosp14/frameworks/base/config/
H A Dboot-profile.txt671 Landroid/app/NotificationChannel;->canBubble()Z

12