Home
last modified time | relevance | path

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

/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/
DAssistantTest.kt111 val sbn = createSbn(TEXT_WITH_OTP) in <lambda>() constant
127 val sbn = createSbn(TEXT_WITH_OTP) in <lambda>() constant
147 val sbn = createSbn(text = "") in <lambda>() constant
156 val sbn = createSbn(TEXT_WITH_OTP) in <lambda>() constant
173 val sbn = createSbn(TEXT_WITH_OTP) in <lambda>() constant
196 val sbn = createSbn(text = TEXT_WITH_OTP, title = "title", subtext = "subtext") in <lambda>() constant
207 var sbn = createSbn(text = "text", title = "title", subtext = "subtext", category = "") in <lambda>() variable
DNotificationEntryTest.java112 StatusBarNotification sbn = generateSbn(channel.getId()); in testHasPerson() local
125 StatusBarNotification sbn = generateSbn(channel.getId()); in testNotPerson() local
134 StatusBarNotification sbn = generateSbn(channel.getId(), DEFAULT_SMS_PACKAGE_NAME); in testHasPerson_matchesDefaultSmsApp() local
143 StatusBarNotification sbn = generateSbn(channel.getId(), "abc"); in testHasPerson_doesntMatchDefaultSmsApp() local
/packages/apps/Settings/src/com/android/settings/notification/history/
DNotificationSbnAdapter.java112 final StatusBarNotification sbn = mValues.get(position); in onBindViewHolder() local
145 private Drawable loadBackground(StatusBarNotification sbn) { in loadBackground()
165 StatusBarNotification sbn = notifications.get(i); in onRebuildComplete() local
174 public void addSbn(StatusBarNotification sbn) { in addSbn()
182 private boolean shouldShowSbn(StatusBarNotification sbn) { in shouldShowSbn()
240 private Drawable loadIcon(StatusBarNotification sbn) { in loadIcon()
251 private int normalizeUserId(StatusBarNotification sbn) { in normalizeUserId()
DNotificationStation.java239 private void markNotificationAsDismissed(StatusBarNotification sbn) { in markNotificationAsDismissed()
256 private void addOrUpdateNotification(StatusBarNotification sbn) { in addOrUpdateNotification()
345 private Drawable loadIcon(HistoricalNotificationInfo info, StatusBarNotification sbn) { in loadIcon()
405 private HistoricalNotificationInfo createFromSbn(StatusBarNotification sbn, boolean active) { in createFromSbn()
510 private CharSequence generateExtraText(StatusBarNotification sbn, in generateExtraText()
/packages/modules/ExtServices/java/src/android/ext/services/notification/
DAssistant.java122 public Adjustment onNotificationEnqueued(@NonNull StatusBarNotification sbn) { in onNotificationEnqueued()
128 public Adjustment onNotificationEnqueued(@NonNull StatusBarNotification sbn, in onNotificationEnqueued()
208 StatusBarNotification sbn, in createNotificationAdjustment()
235 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationPosted()
254 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap, in onNotificationRemoved()
269 public void onNotificationSnoozedUntilContext(@NonNull StatusBarNotification sbn, in onNotificationSnoozedUntilContext()
333 private boolean isForCurrentUser(StatusBarNotification sbn) { in isForCurrentUser()
DNotificationEntry.java68 StatusBarNotification sbn, NotificationChannel channel, SmsHelper smsHelper) { in NotificationEntry()
125 public StatusBarNotification cloneStatusBarNotificationLight(StatusBarNotification sbn) { in cloneStatusBarNotificationLight()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationListener.java121 StatusBarNotification sbn = (StatusBarNotification) message.obj; in handleWorkerMessage() local
128 StatusBarNotification sbn = (StatusBarNotification) message.obj; in handleWorkerMessage() local
239 public void onNotificationPosted(final StatusBarNotification sbn) { in onNotificationPosted()
246 public void onNotificationRemoved(final StatusBarNotification sbn) { in onNotificationRemoved()
258 private void updateGroupKeyIfNecessary(StatusBarNotification sbn) { in updateGroupKeyIfNecessary()
296 private boolean notificationIsValidForUI(StatusBarNotification sbn) { in notificationIsValidForUI()
318 private static Pair<PackageUserKey, NotificationKeyData> toKeyPair(StatusBarNotification sbn) { in toKeyPair()
DNotificationKeyData.java55 public static NotificationKeyData fromNotification(StatusBarNotification sbn) { in fromNotification()
/packages/apps/TvSystemUI/src/com/android/systemui/tv/notifications/
DTvNotificationHandler.java64 public void onNotificationPosted(StatusBarNotification sbn, in onNotificationPosted()
71 mNotifications.put(sbn.getId(), sbn); in onNotificationPosted() local
79 public void onNotificationRemoved(StatusBarNotification sbn, in onNotificationRemoved()
93 public void onNotificationRemoved(StatusBarNotification sbn, in onNotificationRemoved()
/packages/apps/Car/systemlibs/car-assist-client-lib/src/com/android/car/assist/client/
DCarAssistUtils.java172 public static boolean isCarCompatibleMessagingNotification(StatusBarNotification sbn) { in isCarCompatibleMessagingNotification()
300 public void requestAssistantVoiceAction(StatusBarNotification sbn, String voiceAction, in requestAssistantVoiceAction()
330 private void readMessageNotification(StatusBarNotification sbn, in readMessageNotification()
346 private void replyMessageNotification(StatusBarNotification sbn, in replyMessageNotification()
354 private void requestAction(String action, StatusBarNotification sbn, Bundle payloadArguments, in requestAction()
411 private void handleFallback(StatusBarNotification sbn, String action, in handleFallback()
DFallbackAssistant.java104 public void handleReadAction(StatusBarNotification sbn, Listener listener) { in handleReadAction()
190 private void sendMarkAsReadIntent(StatusBarNotification sbn) { in sendMarkAsReadIntent()
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/testutils/
DShadowCarAssistUtils.java36 protected static boolean isCarCompatibleMessagingNotification(StatusBarNotification sbn) { in isCarCompatibleMessagingNotification()
41 protected void requestAssistantVoiceAction(StatusBarNotification sbn, String voiceAction, in requestAssistantVoiceAction()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationBodyView.java158 StatusBarNotification sbn, @Nullable Icon largeIcon, @Nullable Drawable titleIcon, in bind()
322 private boolean setUseLauncherIcon(StatusBarNotification sbn) { in setUseLauncherIcon()
336 private Drawable loadAppLauncherIcon(StatusBarNotification sbn) { in loadAppLauncherIcon()
DCarNotificationHeaderView.java130 StatusBarNotification sbn = alertEntry.getStatusBarNotification(); in bind() local
250 private String loadHeaderAppName(StatusBarNotification sbn) { in loadHeaderAppName()
DMessageNotificationViewHolder.java157 StatusBarNotification sbn = alertEntry.getStatusBarNotification(); in bindBody() local
348 boolean isGroupConversation, StatusBarNotification sbn, CharSequence title, in getCountViewOnClickListener()
DGroupNotificationViewHolder.java457 private String loadHeaderAppName(StatusBarNotification sbn) { in loadHeaderAppName()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationListener.java131 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationPosted()
156 public void onNotificationRemoved(StatusBarNotification sbn) { in onNotificationRemoved()
310 private boolean isNotificationForCurrentUser(StatusBarNotification sbn) { in isNotificationForCurrentUser()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestNotificationService.java116 public void onNotificationPosted(StatusBarNotification sbn) { in onNotificationPosted()
133 public void onNotificationRemoved(StatusBarNotification sbn) { in onNotificationRemoved()
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/
DMyNotificationListenerService.java41 public void onNotificationPosted(StatusBarNotification sbn) { in onNotificationPosted()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVoipCallMonitorTest.java250 StatusBarNotification sbn = createStatusBarNotificationFromHandle(mHandle1User1); in testStopFgsIfCallNotificationIsRemoved_PostedAfterFgsIsGained() local
274 StatusBarNotification sbn = createStatusBarNotificationFromHandle(mHandle1User1); in testStopFgsIfCallNotificationIsRemoved_PostedBeforeFgsIsGained() local
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarHeadsUpNotificationManagerTest.java443 StatusBarNotification sbn = mock(StatusBarNotification.class); in isHeadsUpDismissible_ongoingCallNotificationWithFullScreenIntent_returnsFalse() local
DPreprocessingManagerTest.java1324 StatusBarNotification sbn = mock(StatusBarNotification.class); in generateNotificationsWithSameGroupKey() local
1337 StatusBarNotification sbn = mock(StatusBarNotification.class); in generateGroupSummaryNotification() local
DCarHeadsUpNotificationQueueTest.java964 StatusBarNotification sbn = mock(StatusBarNotification.class); in generateMockStatusBarNotification() local