Home
last modified time | relevance | path

Searched refs:newAttr (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DGroupHelper.java273 NotificationAttributes newAttr = updateAutobundledSummaryAttributes( in maybeUngroup() local
275 if (!newAttr.equals(attr)) { in maybeUngroup()
277 attr = newAttr; in maybeUngroup()
347 NotificationAttributes newAttr = getAutobundledSummaryAttributes(packageName, in updateAutobundledSummaryAttributes() local
349 Icon newIcon = newAttr.icon; in updateAutobundledSummaryAttributes()
350 int newColor = newAttr.iconColor; in updateAutobundledSummaryAttributes()
351 if (newAttr.icon == null) { in updateAutobundledSummaryAttributes()
354 if (newAttr.iconColor == Notification.COLOR_INVALID) { in updateAutobundledSummaryAttributes()
358 return new NotificationAttributes(oldAttr.flags, newIcon, newColor, newAttr.visibility); in updateAutobundledSummaryAttributes()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DGroupHelperTest.java1031 NotificationAttributes newAttr = new NotificationAttributes(BASE_FLAGS, monochromeIcon, in testAddSummary_diffIcon_diffColor_disableFlag() local
1033 verify(mCallback, times(1)).updateAutogroupSummary(anyInt(), anyString(), eq(newAttr)); in testAddSummary_diffIcon_diffColor_disableFlag()
1076 NotificationAttributes newAttr = new NotificationAttributes(BASE_FLAGS, monochromeIcon, in testAddSummary_diffIcon_diffColor() local
1078 verify(mCallback, times(1)).updateAutogroupSummary(anyInt(), anyString(), eq(newAttr)); in testAddSummary_diffIcon_diffColor()
1113 NotificationAttributes newAttr = new NotificationAttributes(BASE_FLAGS, icon, iconColor, in testAddSummary_diffVisibility_alwaysAutogroup() local
1115 verify(mCallback, times(1)).updateAutogroupSummary(anyInt(), anyString(), eq(newAttr)); in testAddSummary_diffVisibility_alwaysAutogroup()
1155 NotificationAttributes newAttr = new NotificationAttributes(BASE_FLAGS, icon, iconColor, in testAddSummary_diffVisibility() local
1157 verify(mCallback, times(1)).updateAutogroupSummary(anyInt(), anyString(), eq(newAttr)); in testAddSummary_diffVisibility()