Searched refs:mAlertEntry (Results 1 – 3 of 3) sorted by relevance
/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
H A D | NotificationUtilsTest.java | 52 private AlertEntry mAlertEntry; field in NotificationUtilsTest 64 mAlertEntry = new AlertEntry(mStatusBarNotification); in setup() 74 assertThat(NotificationUtils.isSystemPrivilegedOrPlatformKey(mContext, mAlertEntry)) in onIsSystemPrivilegedOrPlatformKey_isPlatformKey_returnsTrue() 84 assertThat(NotificationUtils.isSystemPrivilegedOrPlatformKey(mContext, mAlertEntry)) in onIsSystemPrivilegedOrPlatformKey_isSystemPrivileged_returnsTrue() 94 assertThat(NotificationUtils.isSystemPrivilegedOrPlatformKey(mContext, mAlertEntry)) in onIsSystemPrivilegedOrPlatformKey_isSystemNotPrivileged_returnsFalse() 114 assertThat(NotificationUtils.isSystemOrPlatformKey(mContext, mAlertEntry)) in onIsSystemOrPlatformKey_isPlatformKey_returnsTrue() 124 assertThat(NotificationUtils.isSystemOrPlatformKey(mContext, mAlertEntry)) in onIsSystemOrPlatformKey_isSystemPrivileged_returnsTrue() 134 assertThat(NotificationUtils.isSystemOrPlatformKey(mContext, mAlertEntry)) in onIsSystemOrPlatformKey_isSystemNotPrivileged_returnsTrue() 144 assertThat(NotificationUtils.isSystemOrPlatformKey(mContext, mAlertEntry)) in onIsSystemOrPlatformKey_isNeither_returnsFalse() 175 mAlertEntry.getStatusBarNotification())) in onIsSignedWithPlatformKey_isSignedWithPlatformKey_returnsTrue() [all …]
|
/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/template/ |
H A D | CarNotificationActionsView.java | 97 private AlertEntry mAlertEntry; field in CarNotificationActionsView 191 mAlertEntry = alertEntry; in bind() 241 mAlertEntry = null; in reset() 338 if (mNotificationClickHandlerFactory == null || mAlertEntry == null) { in onCallStateChanged() 344 Log.d(TAG, "Call state activated: " + mAlertEntry); in onCallStateChanged() 346 Log.d(TAG, "Call state deactivated: " + mAlertEntry); in onCallStateChanged() 352 bind(mNotificationClickHandlerFactory, mAlertEntry); in onCallStateChanged()
|
H A D | CarNotificationBaseViewHolder.java | 92 private AlertEntry mAlertEntry; field in CarNotificationBaseViewHolder 155 mAlertEntry = alertEntry; in bind() 281 mAlertEntry = null; in reset() 319 return mAlertEntry; in getAlertEntry() 326 if (mAlertEntry == null) { in isDismissible()
|