Home
last modified time | relevance | path

Searched refs:statusBarNotification (Results 1 – 12 of 12) sorted by relevance

/aosp12/packages/apps/Launcher3/src/com/android/launcher3/notification/
H A DNotificationInfo.java64 public NotificationInfo(Context context, StatusBarNotification statusBarNotification, in NotificationInfo() argument
66 packageUserKey = PackageUserKey.fromNotification(statusBarNotification); in NotificationInfo()
67 notificationKey = statusBarNotification.getKey(); in NotificationInfo()
68 Notification notification = statusBarNotification.getNotification(); in NotificationInfo()
80 mIconColor = statusBarNotification.getNotification().color; in NotificationInfo()
89 .getDefaultIcon(statusBarNotification.getUser()).newIcon(context); in NotificationInfo()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/dagger/
H A DExpandableNotificationRowComponent.java88 static String provideNotificationKey(StatusBarNotification statusBarNotification) { in provideNotificationKey() argument
89 return statusBarNotification.getKey(); in provideNotificationKey()
94 static String provideAppName(Context context, StatusBarNotification statusBarNotification) { in provideAppName() argument
101 context, statusBarNotification.getUser().getIdentifier()); in provideAppName()
102 final String pkg = statusBarNotification.getPackageName(); in provideAppName()
/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/
H A DNotificationUtils.java87 StatusBarNotification statusBarNotification) { in isSystemApp() argument
88 PackageInfo packageInfo = getPackageInfo(context, statusBarNotification); in isSystemApp()
98 StatusBarNotification statusBarNotification) { in isSignedWithPlatformKey() argument
99 PackageInfo packageInfo = getPackageInfo(context, statusBarNotification); in isSignedWithPlatformKey()
174 StatusBarNotification statusBarNotification) { in getPackageInfo() argument
179 statusBarNotification.getPackageName(), /* flags= */ 0, in getPackageInfo()
182 Log.e(TAG, "package not found: " + statusBarNotification.getPackageName()); in getPackageInfo()
H A DAlertEntry.java34 public AlertEntry(StatusBarNotification statusBarNotification) { in AlertEntry() argument
35 mStatusBarNotification = statusBarNotification; in AlertEntry()
36 mKey = statusBarNotification.getKey(); in AlertEntry()
H A DHeadsUpEntry.java41 HeadsUpEntry(StatusBarNotification statusBarNotification) { in HeadsUpEntry() argument
42 super(statusBarNotification); in HeadsUpEntry()
/aosp12/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/telecom/
H A DInCallServiceImplTest.java181 StatusBarNotification statusBarNotification = in onRingingCallAdded_showNotification() local
183 assertThat(statusBarNotification.getTag()).isEqualTo(TELECOM_CALL_ID); in onRingingCallAdded_showNotification()
184 assertThat(statusBarNotification.getNotification()).isNotNull(); in onRingingCallAdded_showNotification()
185 Notification notification = statusBarNotification.getNotification(); in onRingingCallAdded_showNotification()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
H A DNotificationGutsManagerTest.java362 StatusBarNotification statusBarNotification = entry.getSbn(); in testInitializeNotificationInfoView_highPriority() local
370 eq(statusBarNotification.getPackageName()), in testInitializeNotificationInfoView_highPriority()
392 StatusBarNotification statusBarNotification = row.getEntry().getSbn(); in testInitializeNotificationInfoView_PassesAlongProvisionedState() local
404 eq(statusBarNotification.getPackageName()), in testInitializeNotificationInfoView_PassesAlongProvisionedState()
426 StatusBarNotification statusBarNotification = row.getEntry().getSbn(); in testInitializeNotificationInfoView_withInitialAction() local
436 eq(statusBarNotification.getPackageName()), in testInitializeNotificationInfoView_withInitialAction()
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/alarms/
H A DAlarmNotifications.kt257 for (statusBarNotification in notifications) {
258 val n: Notification = statusBarNotification.getNotification()
260 statusBarNotification.getId() != canceledNotificationId) {
275 for (statusBarNotification in notifications) {
276 val n: Notification = statusBarNotification.getNotification()
/aosp12/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/
H A DFallbackAssistant.java241 ActionRequestInfo(@Nullable StatusBarNotification statusBarNotification, in ActionRequestInfo() argument
243 mStatusBarNotification = statusBarNotification; in ActionRequestInfo()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationRemoteInputManager.java173 StatusBarNotification statusBarNotification = entry.getSbn();
174 Notification.Action[] actions = statusBarNotification.getNotification().actions;
180 statusBarNotification.getNotification().actions[actionIndex];
/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
H A DPreprocessingManagerTest.java974 StatusBarNotification statusBarNotification = new StatusBarNotification( in getEmptyAutoGeneratedGroupSummary() local
977 statusBarNotification.setOverrideGroupKey(OVERRIDE_GROUP_KEY); in getEmptyAutoGeneratedGroupSummary()
979 return new AlertEntry(statusBarNotification); in getEmptyAutoGeneratedGroupSummary()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DExpandableNotificationRow.java370 Context context, StatusBarNotification statusBarNotification) { in isSystemNotification() argument
372 context, statusBarNotification.getUser().getIdentifier()); in isSystemNotification()
377 statusBarNotification.getPackageName(), PackageManager.GET_SIGNATURES); in isSystemNotification()