Searched refs:oldNotification (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | CarNotificationDiff.java | 156 StatusBarNotification oldNotification = oldChildNotifications.get(i); in areContentsTheSame() local 158 if (!sameNotificationContent(oldNotification, newNotification)) { in areContentsTheSame() 190 Notification oldNotification = oldItem.getNotification(); in sameNotificationContent() local 193 if (oldNotification.flags != newNotification.flags in sameNotificationContent() 194 || oldNotification.category != newNotification.category in sameNotificationContent() 195 || oldNotification.color != newNotification.color in sameNotificationContent() 196 || !areBundlesEqual(oldNotification.extras, newNotification.extras) in sameNotificationContent() 197 || !Objects.equals(oldNotification.contentIntent, newNotification.contentIntent) in sameNotificationContent() 198 || !Objects.equals(oldNotification.deleteIntent, newNotification.deleteIntent) in sameNotificationContent() 200 oldNotification.fullScreenIntent, newNotification.fullScreenIntent) in sameNotificationContent() [all …]
|
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/ |
D | CarNotificationDiffTest.java | 268 Notification.Builder oldNotification = new Notification.Builder(mContext, in areBundleEqual_sameSize_shouldReturnTrue() local 279 ID, TAG, UID, INITIAL_PID, oldNotification.build(), USER_HANDLE, in areBundleEqual_sameSize_shouldReturnTrue() 309 Notification.Builder oldNotification = new Notification.Builder(mContext, in areBundleEqual_diffSize_shouldReturnFalse() local 323 ID, TAG, UID, INITIAL_PID, oldNotification.build(), USER_HANDLE, in areBundleEqual_diffSize_shouldReturnFalse() 353 Notification.Builder oldNotification = new Notification.Builder(mContext, in areBundleEqual_sameKeySetWithSameValue_shouldReturnTrue() local 366 ID, TAG, UID, INITIAL_PID, oldNotification.build(), USER_HANDLE, in areBundleEqual_sameKeySetWithSameValue_shouldReturnTrue() 396 Notification.Builder oldNotification = new Notification.Builder(mContext, in areBundleEqual_sameKeySetWithDiffValue_shouldReturnFalse() local 409 ID, TAG, UID, INITIAL_PID, oldNotification.build(), USER_HANDLE, in areBundleEqual_sameKeySetWithDiffValue_shouldReturnFalse() 439 Notification.Builder oldNotification = new Notification.Builder(mContext, in areBundleEqual_diffKeySet_shouldReturnFalse() local 452 ID, TAG, UID, INITIAL_PID, oldNotification.build(), USER_HANDLE, in areBundleEqual_diffKeySet_shouldReturnFalse()
|