/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/ |
H A D | CarNotificationDiff.java | 203 if (oldItem.getStatusBarNotification().isGroup() in sameNotificationContent() 204 != newItem.getStatusBarNotification().isGroup() in sameNotificationContent() 205 || oldItem.getStatusBarNotification().isClearable() in sameNotificationContent() 206 != newItem.getStatusBarNotification().isClearable() in sameNotificationContent() 207 || oldItem.getStatusBarNotification().isOngoing() in sameNotificationContent() 208 != newItem.getStatusBarNotification().isOngoing()) { in sameNotificationContent()
|
H A D | NotificationClickHandlerFactory.java | 152 alertEntry.getStatusBarNotification())) { in getActionClickHandler() 194 messageNotification.getStatusBarNotification())) { 209 messageNotification.getStatusBarNotification(), 236 messageNotification.getStatusBarNotification(), 371 alertEntry.getStatusBarNotification().getPackageName(), 372 alertEntry.getStatusBarNotification().getUser().getIdentifier(), 373 alertEntry.getStatusBarNotification().getKey(),
|
H A D | NotificationGroup.java | 82 assertSameGroupKey(alertEntry.getStatusBarNotification().getGroupKey()); in addNotification() 107 assertSameGroupKey(groupSummaryNotification.getStatusBarNotification().getGroupKey()); in setGroupSummaryNotification() 230 if (isForeground || notification.getStatusBarNotification().isOngoing()) { in isDismissible()
|
H A D | CarNotificationListener.java | 191 alertEntry.getStatusBarNotification().getOverrideGroupKey(); in updateOverrideGroupKey() 196 alertEntry.getStatusBarNotification().setOverrideGroupKey(newOverrideGroupKey); in updateOverrideGroupKey() 220 x.getValue().getStatusBarNotification()))) in getNotifications()
|
H A D | CarHeadsUpNotificationManager.java | 294 alertEntry.getStatusBarNotification()); in addNewHeadsUpEntry() 462 mBeeper.beep(alertEntry.getStatusBarNotification().getPackageName(), in playSound() 471 && alertEntry.getStatusBarNotification().isOngoing()); in shouldDismissOnSwipe() 634 if (isCarCompatibleMessagingNotification(alertEntry.getStatusBarNotification())) { in shouldShowHeadsUp() 643 + alertEntry.getStatusBarNotification().getPackageName()); in shouldShowHeadsUp()
|
H A D | PreprocessingManager.java | 379 groupKey = alertEntry.getStatusBarNotification().getGroupKey(); in group() 408 && summaryNotification.getStatusBarNotification().getOverrideGroupKey() in group() 583 newNotification.getStatusBarNotification().getGroupKey()) in additionalGroupAndRank() 640 return TextUtils.equals(notification1.getStatusBarNotification().getGroupKey(), in hasSameGroupKey() 641 notification2.getStatusBarNotification().getGroupKey()); in hasSameGroupKey()
|
H A D | NotificationDataManager.java | 110 alertEntry.getStatusBarNotification())) { in addNewMessageNotification() 202 alertEntry.getStatusBarNotification())) { in toggleMute()
|
H A D | CarNotificationItemTouchListener.java | 482 alertEntry.getStatusBarNotification().getPackageName(), in clearNotification() 483 alertEntry.getStatusBarNotification().getUser().getIdentifier(), in clearNotification() 484 alertEntry.getStatusBarNotification().getKey(), in clearNotification()
|
H A D | AlertEntry.java | 67 public StatusBarNotification getStatusBarNotification() { in getStatusBarNotification() method in AlertEntry
|
/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
H A D | NotificationClickHandlerFactoryTest.java | 198 mAlertEntry1.getStatusBarNotification().getNotification().flags = in onClickClickHandler_shouldAutoCancel_callsBarServiceOnNotificationClear() 208 mAlertEntry1.getStatusBarNotification().getPackageName(), in onClickClickHandler_shouldAutoCancel_callsBarServiceOnNotificationClear() 209 mAlertEntry1.getStatusBarNotification().getUser().getIdentifier(), in onClickClickHandler_shouldAutoCancel_callsBarServiceOnNotificationClear() 451 mAlertEntry1.getStatusBarNotification().getPackageName(), in onClearNotifications_groupNotificationWithSummary_clearsSummary() 452 mAlertEntry1.getStatusBarNotification().getUser().getIdentifier(), in onClearNotifications_groupNotificationWithSummary_clearsSummary() 453 mAlertEntry1.getStatusBarNotification().getKey(), in onClearNotifications_groupNotificationWithSummary_clearsSummary() 481 mAlertEntry2.getStatusBarNotification().getPackageName(), in onClearNotifications_groupNotificationWithSummary_clearsAllChildren() 482 mAlertEntry2.getStatusBarNotification().getUser().getIdentifier(), in onClearNotifications_groupNotificationWithSummary_clearsAllChildren() 483 mAlertEntry2.getStatusBarNotification().getKey(), in onClearNotifications_groupNotificationWithSummary_clearsAllChildren() 510 mAlertEntry2.getStatusBarNotification().getPackageName(), in onClearNotifications_groupNotificationWithoutSummary_clearsAllChildren() [all …]
|
H A D | NotificationUtilsTest.java | 154 assertThat(NotificationUtils.isSystemApp(mContext, mAlertEntry.getStatusBarNotification())) in onIsSystemApp_isPlatformKey_returnsTrue() 164 assertThat(NotificationUtils.isSystemApp(mContext, mAlertEntry.getStatusBarNotification())) in onIsSystemApp_isNotPlatformKey_returnsFalse() 175 mAlertEntry.getStatusBarNotification())) in onIsSignedWithPlatformKey_isSignedWithPlatformKey_returnsTrue() 186 mAlertEntry.getStatusBarNotification())) in onIsSignedWithPlatformKey_isNotSignedWithPlatformKey_returnsFalse()
|
H A D | NotificationGroupTest.java | 127 mNotificationGroup.setGroupKey(mNotification1.getStatusBarNotification().getGroupKey()); in setGroupKey_shouldSetGroupKey() 129 mNotification1.getStatusBarNotification().getGroupKey()); in setGroupKey_shouldSetGroupKey()
|
H A D | HeadsUpEntryTest.java | 96 assertThat(mNotification1).isEqualTo(mHeadsUpEntry.getStatusBarNotification()); in headsUpEntry_shouldSetStatusBarNotification()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
H A D | Bubble.java | 445 mLastUpdated = entry.getStatusBarNotification().getPostTime(); in setEntry() 446 mIsBubble = entry.getStatusBarNotification().getNotification().isBubbleNotification(); in setEntry() 447 mPackageName = entry.getStatusBarNotification().getPackageName(); in setEntry() 448 mUser = entry.getStatusBarNotification().getUser(); in setEntry() 450 mChannelId = entry.getStatusBarNotification().getNotification().getChannelId(); in setEntry() 451 mNotificationId = entry.getStatusBarNotification().getId(); in setEntry() 452 mAppUid = entry.getStatusBarNotification().getUid(); in setEntry() 453 mInstanceId = entry.getStatusBarNotification().getInstanceId(); in setEntry() 830 final CharSequence titleCharSeq = e.getStatusBarNotification() in getTitle() 842 final Notification underlyingNotif = entry.getStatusBarNotification().getNotification(); in extractFlyoutMessage()
|
H A D | BubbleEntry.java | 60 public StatusBarNotification getStatusBarNotification() { in getStatusBarNotification() method in BubbleEntry 87 return getStatusBarNotification().getNotification().getBubbleMetadata(); in getBubbleMetadata()
|
H A D | BubbleController.java | 994 final String groupKey = entry.getStatusBarNotification().getGroupKey(); in onEntryRemoved() 1020 entry.getStatusBarNotification().getUser().getIdentifier())) { in onRankingUpdated() 1161 final String groupKey = entry.getStatusBarNotification().getGroupKey(); 1240 String groupKey = entry.getStatusBarNotification().getGroupKey(); in isSummaryOfBubbles() 1244 boolean isSummary = entry.getStatusBarNotification().getNotification().isGroupSummary(); in isSummaryOfBubbles() 1274 mBubbleData.addSummaryToSuppress(summary.getStatusBarNotification().getGroupKey(), in handleSummaryDismissalInterception() 1342 context, entry.getStatusBarNotification().getUser().getIdentifier()); in canLaunchInTaskView()
|
/aosp12/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/ |
H A D | FallbackAssistant.java | 183 if (info.getStatusBarNotification() != null && !hasError) { in finishAction() 184 sendMarkAsReadIntent(info.getStatusBarNotification()); in finishAction() 248 StatusBarNotification getStatusBarNotification() { in getStatusBarNotification() method in FallbackAssistant.ActionRequestInfo
|
/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/template/ |
H A D | BasicNotificationViewHolder.java | 64 mBodyView.bind(title, text, loadAppLauncherIcon(alertEntry.getStatusBarNotification()), in bindBody()
|
H A D | CallNotificationViewHolder.java | 64 mBodyView.bind(title, text, loadAppLauncherIcon(alertEntry.getStatusBarNotification()), in bindBody()
|
H A D | InboxNotificationViewHolder.java | 66 mBodyView.bind(title, text, loadAppLauncherIcon(alertEntry.getStatusBarNotification()), in bindBody()
|
H A D | NavigationNotificationViewHolder.java | 65 mBodyView.bind(title, text, loadAppLauncherIcon(alertEntry.getStatusBarNotification()), in bindBody()
|
H A D | CarNotificationBaseViewHolder.java | 245 NotificationUtils.isSystemApp(mContext, getAlertEntry().getStatusBarNotification()); in canChangeCardBackgroundColor() 247 getAlertEntry().getStatusBarNotification()); in canChangeCardBackgroundColor()
|
H A D | EmergencyNotificationViewHolder.java | 76 mBodyView.bind(title, text, loadAppLauncherIcon(alertEntry.getStatusBarNotification()), in bind()
|
H A D | ProgressNotificationViewHolder.java | 77 mBodyView.bind(title, text, loadAppLauncherIcon(alertEntry.getStatusBarNotification()), in bindBody()
|
/aosp12/packages/apps/Car/libs/car-assist-lib/src/com/android/car/assist/payloadhandlers/ |
H A D | NotificationPayloadHandler.java | 55 public StatusBarNotification getStatusBarNotification(Bundle args) { in getStatusBarNotification() method in NotificationPayloadHandler
|