Home
last modified time | relevance | path

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

/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DNotificationClickHandlerFactoryTest.java190 mAlertEntry1.getStatusBarNotification().getNotification().flags = in onClickClickHandler_shouldAutoCancel_callsBarServiceOnNotificationClear()
200 mAlertEntry1.getStatusBarNotification().getPackageName(), in onClickClickHandler_shouldAutoCancel_callsBarServiceOnNotificationClear()
201 mAlertEntry1.getStatusBarNotification().getUser().getIdentifier(), in onClickClickHandler_shouldAutoCancel_callsBarServiceOnNotificationClear()
447 mAlertEntry1.getStatusBarNotification().getPackageName(), in onClearNotifications_groupNotificationWithSummary_clearsSummary()
448 mAlertEntry1.getStatusBarNotification().getUser().getIdentifier(), in onClearNotifications_groupNotificationWithSummary_clearsSummary()
449 mAlertEntry1.getStatusBarNotification().getKey(), in onClearNotifications_groupNotificationWithSummary_clearsSummary()
477 mAlertEntry2.getStatusBarNotification().getPackageName(), in onClearNotifications_groupNotificationWithSummary_clearsAllChildren()
478 mAlertEntry2.getStatusBarNotification().getUser().getIdentifier(), in onClearNotifications_groupNotificationWithSummary_clearsAllChildren()
479 mAlertEntry2.getStatusBarNotification().getKey(), in onClearNotifications_groupNotificationWithSummary_clearsAllChildren()
506 mAlertEntry2.getStatusBarNotification().getPackageName(), in onClearNotifications_groupNotificationWithoutSummary_clearsAllChildren()
[all …]
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()
DNotificationGroupTest.java127 mNotificationGroup.setGroupKey(mNotification1.getStatusBarNotification().getGroupKey()); in setGroupKey_shouldSetGroupKey()
129 mNotification1.getStatusBarNotification().getGroupKey()); in setGroupKey_shouldSetGroupKey()
DHeadsUpEntryTest.java96 assertThat(mNotification1).isEqualTo(mHeadsUpEntry.getStatusBarNotification()); in headsUpEntry_shouldSetStatusBarNotification()
DPreprocessingManagerTest.java667 when(mImportantForeground.getStatusBarNotification().getNotification()) in onUpdateNotification_notificationPosted_isUpdate_putsNotification()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationDiff.java189 if (oldItem.getStatusBarNotification().isGroup() in sameNotificationContent()
190 != newItem.getStatusBarNotification().isGroup() in sameNotificationContent()
191 || oldItem.getStatusBarNotification().isClearable() in sameNotificationContent()
192 != newItem.getStatusBarNotification().isClearable() in sameNotificationContent()
193 || oldItem.getStatusBarNotification().isOngoing() in sameNotificationContent()
194 != newItem.getStatusBarNotification().isOngoing()) { in sameNotificationContent()
DNotificationClickHandlerFactory.java168 alertEntry.getStatusBarNotification())) { in getActionClickHandler()
210 messageNotification.getStatusBarNotification())) {
225 messageNotification.getStatusBarNotification(),
349 alertEntry.getStatusBarNotification().getPackageName(),
350 alertEntry.getStatusBarNotification().getUser().getIdentifier(),
351 alertEntry.getStatusBarNotification().getKey(),
DNotificationGroup.java55 assertSameGroupKey(alertEntry.getStatusBarNotification().getGroupKey()); in addNotification()
60 assertSameGroupKey(groupSummaryNotification.getStatusBarNotification().getGroupKey()); in setGroupSummaryNotification()
135 if (isForeground || notification.getStatusBarNotification().isOngoing()) { in isDismissible()
DPreprocessingManager.java330 groupKey = alertEntry.getStatusBarNotification().getGroupKey(); in group()
355 && summaryNotification.getStatusBarNotification().getOverrideGroupKey() in group()
437 newNotification.getStatusBarNotification().getGroupKey())) { in additionalGroupAndRank()
476 return TextUtils.equals(notification1.getStatusBarNotification().getGroupKey(), in hasSameGroupKey()
477 notification2.getStatusBarNotification().getGroupKey()); in hasSameGroupKey()
DCarNotificationItemTouchListener.java241 mViewHolder.getAlertEntry().getStatusBarNotification().getGroupKey())) { in onInterceptTouchEvent()
459 alertEntry.getStatusBarNotification().getPackageName(), in clearNotification()
460 alertEntry.getStatusBarNotification().getUser().getIdentifier(), in clearNotification()
461 alertEntry.getStatusBarNotification().getKey(), in clearNotification()
DCarHeadsUpNotificationManager.java263 alertEntry.getStatusBarNotification()); in addNewHeadsUpEntry()
431 mBeeper.beep(alertEntry.getStatusBarNotification().getPackageName(), in playSound()
440 && alertEntry.getStatusBarNotification().isOngoing()); in shouldDismissOnSwipe()
584 if (isCarCompatibleMessagingNotification(alertEntry.getStatusBarNotification())) { in shouldShowHeadsUp()
590 + alertEntry.getStatusBarNotification().getPackageName()); in shouldShowHeadsUp()
DCarNotificationListener.java160 alertEntry.getStatusBarNotification().getOverrideGroupKey(); in onNotificationRankingUpdate()
163 alertEntry.getStatusBarNotification().setOverrideGroupKey(newOverrideGroupKey); in onNotificationRankingUpdate()
188 x.getValue().getStatusBarNotification()))) in getNotifications()
DNotificationDataManager.java88 alertEntry.getStatusBarNotification())) { in addNewMessageNotification()
155 alertEntry.getStatusBarNotification())) { in toggleMute()
DAlertEntry.java67 public StatusBarNotification getStatusBarNotification() { in getStatusBarNotification() method in AlertEntry
DNotificationUtils.java161 PackageInfo packageInfo = getPackageInfo(context, alertEntry.getStatusBarNotification()); in isSystemPrivilegedOrPlatformKeyInner()
/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/
DFallbackAssistant.java183 if (info.getStatusBarNotification() != null && !hasError) { in finishAction()
184 sendMarkAsReadIntent(info.getStatusBarNotification()); in finishAction()
248 StatusBarNotification getStatusBarNotification() { in getStatusBarNotification() method in FallbackAssistant.ActionRequestInfo
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationBaseViewHolder.java240 NotificationUtils.isSystemApp(mContext, getAlertEntry().getStatusBarNotification()); in canChangeCardBackgroundColor()
242 getAlertEntry().getStatusBarNotification()); in canChangeCardBackgroundColor()
DCarNotificationActionsView.java121 alertEntry.getStatusBarNotification())) { in bind()
DCarNotificationHeaderView.java119 StatusBarNotification sbn = alertEntry.getStatusBarNotification(); in bind()
/packages/apps/Car/libs/car-assist-lib/src/com/android/car/assist/payloadhandlers/
DNotificationPayloadHandler.java55 public StatusBarNotification getStatusBarNotification(Bundle args) { in getStatusBarNotification() method in NotificationPayloadHandler