Home
last modified time | relevance | path

Searched defs:sbn (Results 1 – 19 of 19) sorted by relevance

/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DAssistantTest.java144 StatusBarNotification sbn = new StatusBarNotification(pkg, pkg, 0, tag, uid, uid, n, in generateSbn() local
150 private Ranking generateRanking(StatusBarNotification sbn, NotificationChannel channel) { in generateRanking()
167 StatusBarNotification sbn = generateSbn(pkg, uid, channel, tag, null); in dismissBadNotification() local
180 StatusBarNotification sbn = generateSbn(PKG1, UID1, P1C1, null, null); in testNoAdjustmentForInitialPost() local
193 StatusBarNotification sbn = generateSbn(PKG1, UID1, P1C1, "new one!", null); in testTriggerAdjustment() local
209 StatusBarNotification sbn = generateSbn(PKG1, UID1, P1C3, "new one!", null); in testMinCannotTriggerAdjustment() local
220 StatusBarNotification sbn = generateSbn(PKG1, UID1, P1C1, "no", "I HAVE A GROUP"); in testGroupChildCanTriggerAdjustment() local
243 StatusBarNotification sbn = generateSbn(PKG1, UID1, P1C1, "no", "I HAVE A GROUP"); in testGroupSummaryCannotTriggerAdjustment() local
263 StatusBarNotification sbn = generateSbn(PKG1, UID1, P1C1, "no", null); in testAodCannotTriggerAdjustment() local
281 StatusBarNotification sbn = generateSbn(PKG1, UID1, P1C1, "no", null); in testInteractedCannotTriggerAdjustment() local
[all …]
DAgingHelperTest.java104 StatusBarNotification sbn = generateSbn(channel.getId()); in testNoSnoozingOnPost() local
116 StatusBarNotification sbn = generateSbn(channel.getId()); in testPostResetsSnooze() local
128 StatusBarNotification sbn = generateSbn(channel.getId()); in testSnoozingOnSeen() local
142 StatusBarNotification sbn = generateSbn(channel.getId()); in testNoSnoozingOnSeenUserLocked() local
DNotificationEntryTest.java114 StatusBarNotification sbn = generateSbn(channel.getId()); in testHasPerson() local
127 StatusBarNotification sbn = generateSbn(channel.getId()); in testNotPerson() local
136 StatusBarNotification sbn = generateSbn(channel.getId(), DEFAULT_SMS_PACKAGE_NAME); in testHasPerson_matchesDefaultSmsApp() local
145 StatusBarNotification sbn = generateSbn(channel.getId(), "abc"); in testHasPerson_doesntMatchDefaultSmsApp() local
/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/
DCarAssistUtils.java163 public static boolean isCarCompatibleMessagingNotification(StatusBarNotification sbn) { in isCarCompatibleMessagingNotification()
183 private static boolean hasMessagingStyle(StatusBarNotification sbn) { in hasMessagingStyle()
193 private static boolean hasRequiredAssistantCallbacks(StatusBarNotification sbn) { in hasRequiredAssistantCallbacks()
249 private static boolean replyCallbackHasRemoteInput(StatusBarNotification sbn) { in replyCallbackHasRemoteInput()
258 private static boolean assistantCallbacksShowNoUi(StatusBarNotification sbn) { in assistantCallbacksShowNoUi()
274 public void requestAssistantVoiceAction(StatusBarNotification sbn, String voiceAction, in requestAssistantVoiceAction()
304 private void readMessageNotification(StatusBarNotification sbn, in readMessageNotification()
320 private void replyMessageNotification(StatusBarNotification sbn, in replyMessageNotification()
328 private void requestAction(String action, StatusBarNotification sbn, Bundle payloadArguments, in requestAction()
385 private void handleFallback(StatusBarNotification sbn, String action, in handleFallback()
DFallbackAssistant.java104 public void handleReadAction(StatusBarNotification sbn, Listener listener) { in handleReadAction()
191 private void sendMarkAsReadIntent(StatusBarNotification sbn) { in sendMarkAsReadIntent()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationListener.java109 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationPosted()
119 public void onNotificationRemoved(StatusBarNotification sbn) { in onNotificationRemoved()
184 private boolean isNotificationForCurrentUser(StatusBarNotification sbn) { in isNotificationForCurrentUser()
191 private void notifyNotificationRemoved(StatusBarNotification sbn) { in notifyNotificationRemoved()
201 private void notifyNotificationPosted(StatusBarNotification sbn) { in notifyNotificationPosted()
226 boolean shouldTrackUnseen(StatusBarNotification sbn) { in shouldTrackUnseen()
DNotificationDataManager.java145 public void toggleMute(StatusBarNotification sbn) { in toggleMute()
170 void setNotificationAsSeen(StatusBarNotification sbn) { in setNotificationAsSeen()
DNotificationViewController.java123 boolean showLessImportantNotifications, int what, StatusBarNotification sbn) { in updateNotifications()
DPreprocessingManager.java152 StatusBarNotification sbn, in updateNotifications()
198 boolean shouldFilter(StatusBarNotification sbn, RankingMap rankingMap) { in shouldFilter()
DCarHeadsUpNotificationManager.java566 private boolean hasFullScreenIntent(StatusBarNotification sbn) { in hasFullScreenIntent()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationListener.java223 public void onNotificationPosted(final StatusBarNotification sbn) { in onNotificationPosted()
244 NotificationPostedMsg(StatusBarNotification sbn) { in NotificationPostedMsg()
252 public void onNotificationRemoved(final StatusBarNotification sbn) { in onNotificationRemoved()
298 private void updateGroupKeyIfNecessary(StatusBarNotification sbn) { in updateGroupKeyIfNecessary()
365 private boolean shouldBeFilteredOut(StatusBarNotification sbn) { in shouldBeFilteredOut()
397 void onNotificationPosted(StatusBarNotification sbn); in onNotificationPosted()
398 void onNotificationRemoved(StatusBarNotification sbn); in onNotificationRemoved()
DNotificationKeyData.java52 public static NotificationKeyData fromNotification(StatusBarNotification sbn) { in fromNotification()
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/testutils/
DShadowCarAssistUtils.java35 public static boolean isCarCompatibleMessagingNotification(StatusBarNotification sbn) { in isCarCompatibleMessagingNotification()
/packages/modules/ExtServices/src/android/ext/services/notification/
DAssistant.java221 public Adjustment onNotificationEnqueued(StatusBarNotification sbn) { in onNotificationEnqueued()
227 public Adjustment onNotificationEnqueued(StatusBarNotification sbn, in onNotificationEnqueued()
315 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap, in onNotificationRemoved()
360 public void onNotificationSnoozedUntilContext(StatusBarNotification sbn, in onNotificationSnoozedUntilContext()
434 private boolean isForCurrentUser(StatusBarNotification sbn) { in isForCurrentUser()
DNotificationEntry.java73 StatusBarNotification sbn, NotificationChannel channel, SmsHelper smsHelper) { in NotificationEntry()
130 public StatusBarNotification cloneStatusBarNotificationLight(StatusBarNotification sbn) { in cloneStatusBarNotificationLight()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestNotificationService.java114 public void onNotificationPosted(StatusBarNotification sbn) { in onNotificationPosted()
128 public void onNotificationRemoved(StatusBarNotification sbn) { in onNotificationRemoved()
/packages/apps/Car/libs/car-assist-lib/src/com/android/car/assist/payloadhandlers/
DNotificationPayloadHandler.java67 StatusBarNotification sbn = args.getParcelable(CarVoiceInteractionSession.KEY_NOTIFICATION); in getNotification() local
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationStation.java318 private CharSequence generateExtraText(StatusBarNotification sbn, in generateExtraText()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationStation.java318 private CharSequence generateExtraText(StatusBarNotification sbn, in generateExtraText()