Searched refs:statusBarNotification (Results 1 – 14 of 14) sorted by relevance
42 private sealed class NotificationEvent(val statusBarNotification: StatusBarNotification) in <lambda>() constant in com.android.safetycenter.testing.TestNotificationListener.NotificationEvent44 private class NotificationPosted(statusBarNotification: StatusBarNotification) : in <lambda>()45 NotificationEvent(statusBarNotification) { in <lambda>()46 override fun toString(): String = "Posted $statusBarNotification" in <lambda>()49 private class NotificationRemoved(statusBarNotification: StatusBarNotification) : in <lambda>()50 NotificationEvent(statusBarNotification) { in <lambda>()51 override fun toString(): String = "Removed $statusBarNotification" in <lambda>()54 override fun onNotificationPosted(statusBarNotification: StatusBarNotification) { in <lambda>()55 super.onNotificationPosted(statusBarNotification) in <lambda>()56 if (statusBarNotification.isSafetyCenterNotification()) { in <lambda>()[all …]
56 statusBarNotification: StatusBarNotification, in safetySourceIdMatches()60 SafetyCenterIds.issueKeyFromString(statusBarNotification.tag).safetySourceId == in safetySourceIdMatches()68 val notif = statusBarNotificationWithChannel.statusBarNotification.notification in isMatch()77 statusBarNotificationWithChannel.statusBarNotification, in isMatch()
24 val statusBarNotification: StatusBarNotification, constant in com.android.safetycenter.testing.StatusBarNotificationWithChannel
34 public AlertEntry(StatusBarNotification statusBarNotification) { in AlertEntry() argument35 mStatusBarNotification = statusBarNotification; in AlertEntry()36 mKey = statusBarNotification.getKey(); in AlertEntry()45 public AlertEntry(StatusBarNotification statusBarNotification, long postTime) { in AlertEntry() argument46 this(statusBarNotification); in AlertEntry()
90 StatusBarNotification statusBarNotification) { in isSystemApp() argument91 PackageInfo packageInfo = getPackageInfo(context, statusBarNotification); in isSystemApp()101 StatusBarNotification statusBarNotification) { in isSignedWithPlatformKey() argument102 PackageInfo packageInfo = getPackageInfo(context, statusBarNotification); in isSignedWithPlatformKey()191 StatusBarNotification statusBarNotification) { in getPackageInfo() argument196 statusBarNotification.getPackageName(), /* flags= */ 0, in getPackageInfo()199 Log.e(TAG, "package not found: " + statusBarNotification.getPackageName()); in getPackageInfo()
42 HeadsUpEntry(StatusBarNotification statusBarNotification) { in HeadsUpEntry() argument43 super(statusBarNotification); in HeadsUpEntry()
519 assertThat(initialNotification.statusBarNotification.key) in setSafetySourceData_twiceWithSameIssueId_updatesNotification()520 .isEqualTo(revisedNotification.statusBarNotification.key) in setSafetySourceData_twiceWithSameIssueId_updatesNotification()640 TestNotificationListener.cancelAndWait(notificationWithChannel.statusBarNotification.key) in setSafetySourceData_withDismissedIssueId_doesNotNotify()676 TestNotificationListener.cancelAndWait(notificationWithChannel.statusBarNotification.key) in setSafetySourceData_withDismissedIssueIdButResurfaceDelayZero_doesNotify()742 TestNotificationListener.cancelAndWait(notificationWithChannel.statusBarNotification.key) in setSafetySourceData_duplicateIssueOfLowerSeverityDismissed_sendsNotification()860 TestNotificationListener.cancelAndWait(notificationWithChannel.statusBarNotification.key) in dismissingNotification_doesNotUpdateSafetyCenterData()901 TestNotificationListener.cancelAndWait(notificationWithChannel.statusBarNotification.key) in dismissingNotification_withDuplicateIssues_allDismissed()939 notificationWithChannel.statusBarNotification.notification.actions.firstOrNull() in sendActionPendingIntent_successful_updatesListener()971 notificationWithChannel.statusBarNotification.notification.actions.firstOrNull() in sendActionPendingIntent_successfulNoSuccessMessage_removesNotification()999 notificationWithChannel.statusBarNotification.notification.actions.firstOrNull() in sendActionPendingIntent_successfulWithSuccessMessage_successNotification()[all …]
361 public void postNotification(StatusBarNotification statusBarNotification) { in postNotification() argument362 mNotificationListener.onNotificationPosted(statusBarNotification); in postNotification()366 public void removeNotification(StatusBarNotification statusBarNotification) { in removeNotification() argument367 mNotificationListener.onNotificationRemoved(statusBarNotification); in removeNotification()
240 val statusBarNotification = in testNotificationClickOpenSafetyCenter() constant242 Assert.assertNotNull(statusBarNotification) in testNotificationClickOpenSafetyCenter()243 val contentIntent = statusBarNotification!!.notification.contentIntent in testNotificationClickOpenSafetyCenter()
257 for (statusBarNotification in notifications) { in getFirstActiveNotification() variable258 val n: Notification = statusBarNotification.getNotification() in getFirstActiveNotification()260 statusBarNotification.getId() != canceledNotificationId) { in getFirstActiveNotification()275 for (statusBarNotification in notifications) { in getActiveGroupSummaryNotification() constant276 val n: Notification = statusBarNotification.getNotification() in getActiveGroupSummaryNotification()
241 ActionRequestInfo(@Nullable StatusBarNotification statusBarNotification, in ActionRequestInfo() argument243 mStatusBarNotification = statusBarNotification; in ActionRequestInfo()
104 statusBarNotificationWithChannel.statusBarNotification.notification.contentIntent in newTestDataWithNotifiableIssue()
192 val statusBarNotification = in runNotificationJob_whenLocationSharingUpdatesForLocationGrantedApps_showsNotification() constant194 val contentIntent = statusBarNotification!!.notification.contentIntent in runNotificationJob_whenLocationSharingUpdatesForLocationGrantedApps_showsNotification()
1231 StatusBarNotification statusBarNotification = new StatusBarNotification( in getEmptyAutoGeneratedGroupSummary() local1234 statusBarNotification.setOverrideGroupKey(OVERRIDE_GROUP_KEY); in getEmptyAutoGeneratedGroupSummary()1236 return new AlertEntry(statusBarNotification); in getEmptyAutoGeneratedGroupSummary()