Home
last modified time | relevance | path

Searched refs:mAlertEntry (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DNotificationUtilsTest.java61 private AlertEntry mAlertEntry; field in NotificationUtilsTest
79 mAlertEntry = new AlertEntry(mStatusBarNotification); in setup()
98 assertThat(NotificationUtils.isSystemPrivilegedOrPlatformKey(mContext, mAlertEntry)) in onIsSystemPrivilegedOrPlatformKey_isPlatformKey_returnsTrue()
108 assertThat(NotificationUtils.isSystemPrivilegedOrPlatformKey(mContext, mAlertEntry)) in onIsSystemPrivilegedOrPlatformKey_isSystemPrivileged_returnsTrue()
118 assertThat(NotificationUtils.isSystemPrivilegedOrPlatformKey(mContext, mAlertEntry)) in onIsSystemPrivilegedOrPlatformKey_isSystemNotPrivileged_returnsFalse()
128 assertThat(NotificationUtils.isSystemPrivilegedOrPlatformKey(mContext, mAlertEntry)) in onIsSystemPrivilegedOrPlatformKey_isNeither_returnsFalse()
138 assertThat(NotificationUtils.isSystemOrPlatformKey(mContext, mAlertEntry)) in onIsSystemOrPlatformKey_isPlatformKey_returnsTrue()
148 assertThat(NotificationUtils.isSystemOrPlatformKey(mContext, mAlertEntry)) in onIsSystemOrPlatformKey_isSystemPrivileged_returnsTrue()
158 assertThat(NotificationUtils.isSystemOrPlatformKey(mContext, mAlertEntry)) in onIsSystemOrPlatformKey_isSystemNotPrivileged_returnsTrue()
168 assertThat(NotificationUtils.isSystemOrPlatformKey(mContext, mAlertEntry)) in onIsSystemOrPlatformKey_isNeither_returnsFalse()
[all …]
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationActionsView.java99 private AlertEntry mAlertEntry; field in CarNotificationActionsView
194 mAlertEntry = alertEntry; in bind()
247 mAlertEntry = null; in reset()
344 if (mNotificationClickHandlerFactory == null || mAlertEntry == null) { in onCallStateChanged()
350 Log.d(TAG, "Call state activated: " + mAlertEntry); in onCallStateChanged()
352 Log.d(TAG, "Call state deactivated: " + mAlertEntry); in onCallStateChanged()
358 bind(mNotificationClickHandlerFactory, mAlertEntry); in onCallStateChanged()
DCarNotificationBaseViewHolder.java104 private AlertEntry mAlertEntry; field in CarNotificationBaseViewHolder
180 mAlertEntry = alertEntry; in bind()
334 mAlertEntry = null; in reset()
369 return mAlertEntry; in getAlertEntry()
376 if (mAlertEntry == null) { in isDismissible()