Home
last modified time | relevance | path

Searched refs:getStatusBarNotification (Results 1 – 25 of 34) sorted by relevance

12

/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/
H A DCarNotificationDiff.java203 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 DNotificationClickHandlerFactory.java152 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 DNotificationGroup.java82 assertSameGroupKey(alertEntry.getStatusBarNotification().getGroupKey()); in addNotification()
107 assertSameGroupKey(groupSummaryNotification.getStatusBarNotification().getGroupKey()); in setGroupSummaryNotification()
230 if (isForeground || notification.getStatusBarNotification().isOngoing()) { in isDismissible()
H A DCarNotificationListener.java191 alertEntry.getStatusBarNotification().getOverrideGroupKey(); in updateOverrideGroupKey()
196 alertEntry.getStatusBarNotification().setOverrideGroupKey(newOverrideGroupKey); in updateOverrideGroupKey()
220 x.getValue().getStatusBarNotification()))) in getNotifications()
H A DCarHeadsUpNotificationManager.java294 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 DPreprocessingManager.java379 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 DNotificationDataManager.java110 alertEntry.getStatusBarNotification())) { in addNewMessageNotification()
202 alertEntry.getStatusBarNotification())) { in toggleMute()
H A DCarNotificationItemTouchListener.java482 alertEntry.getStatusBarNotification().getPackageName(), in clearNotification()
483 alertEntry.getStatusBarNotification().getUser().getIdentifier(), in clearNotification()
484 alertEntry.getStatusBarNotification().getKey(), in clearNotification()
H A DAlertEntry.java67 public StatusBarNotification getStatusBarNotification() { in getStatusBarNotification() method in AlertEntry
/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
H A DNotificationClickHandlerFactoryTest.java198 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 DNotificationUtilsTest.java154 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 DNotificationGroupTest.java127 mNotificationGroup.setGroupKey(mNotification1.getStatusBarNotification().getGroupKey()); in setGroupKey_shouldSetGroupKey()
129 mNotification1.getStatusBarNotification().getGroupKey()); in setGroupKey_shouldSetGroupKey()
H A DHeadsUpEntryTest.java96 assertThat(mNotification1).isEqualTo(mHeadsUpEntry.getStatusBarNotification()); in headsUpEntry_shouldSetStatusBarNotification()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubble.java445 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 DBubbleEntry.java60 public StatusBarNotification getStatusBarNotification() { in getStatusBarNotification() method in BubbleEntry
87 return getStatusBarNotification().getNotification().getBubbleMetadata(); in getBubbleMetadata()
H A DBubbleController.java994 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 DFallbackAssistant.java183 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 DBasicNotificationViewHolder.java64 mBodyView.bind(title, text, loadAppLauncherIcon(alertEntry.getStatusBarNotification()), in bindBody()
H A DCallNotificationViewHolder.java64 mBodyView.bind(title, text, loadAppLauncherIcon(alertEntry.getStatusBarNotification()), in bindBody()
H A DInboxNotificationViewHolder.java66 mBodyView.bind(title, text, loadAppLauncherIcon(alertEntry.getStatusBarNotification()), in bindBody()
H A DNavigationNotificationViewHolder.java65 mBodyView.bind(title, text, loadAppLauncherIcon(alertEntry.getStatusBarNotification()), in bindBody()
H A DCarNotificationBaseViewHolder.java245 NotificationUtils.isSystemApp(mContext, getAlertEntry().getStatusBarNotification()); in canChangeCardBackgroundColor()
247 getAlertEntry().getStatusBarNotification()); in canChangeCardBackgroundColor()
H A DEmergencyNotificationViewHolder.java76 mBodyView.bind(title, text, loadAppLauncherIcon(alertEntry.getStatusBarNotification()), in bind()
H A DProgressNotificationViewHolder.java77 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 DNotificationPayloadHandler.java55 public StatusBarNotification getStatusBarNotification(Bundle args) { in getStatusBarNotification() method in NotificationPayloadHandler

12