Home
last modified time | relevance | path

Searched refs:GroupEntry (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DGroupEntryBuilder.java32 @Nullable private GroupEntry mParent = GroupEntry.ROOT_ENTRY;
38 public GroupEntry build() { in build()
39 GroupEntry ge = new GroupEntry(mKey, mCreationTime); in build()
65 public GroupEntryBuilder setParent(@Nullable GroupEntry entry) { in setParent()
93 public static List<NotificationEntry> getRawChildren(GroupEntry groupEntry) { in getRawChildren()
DHighPriorityProviderTest.java143 final GroupEntry groupEntry = new GroupEntryBuilder() in highImportanceConversationWhenAnyOfChildIsHighPriority()
144 .setParent(GroupEntry.ROOT_ENTRY) in highImportanceConversationWhenAnyOfChildIsHighPriority()
232 final GroupEntry parentEntry = new GroupEntryBuilder() in testIsHighPriority_summaryUpdated()
256 final GroupEntry parentEntry = new GroupEntryBuilder() in testIsHighPriority_checkChildrenToCalculatePriority()
275 final GroupEntry parentEntry = new GroupEntryBuilder() in testIsHighPriority_childEntryRankingUpdated()
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
DViewerConfigParser.kt48 data class GroupEntry(val tag: String) in <lambda>() dataClass
50 fun parseGroup(jsonReader: JsonReader): GroupEntry { in <lambda>()
63 return GroupEntry(tag) in <lambda>()
79 fun parseGroups(jsonReader: JsonReader): Map<String, GroupEntry> { in <lambda>()
80 val config: MutableMap<String, GroupEntry> = mutableMapOf() in <lambda>()
94 var groups: Map<String, GroupEntry>? = null in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DGroupEntry.java31 public class GroupEntry extends ListEntry { class
39 GroupEntry(String key, long creationTime) { in GroupEntry() method in GroupEntry
78 public static final GroupEntry ROOT_ENTRY = new GroupEntry("<root>", 0);
DShadeListBuilder.java21 import static com.android.systemui.statusbar.notification.collection.GroupEntry.ROOT_ENTRY;
112 private final Map<String, GroupEntry> mGroups = new ArrayMap<>();
526 for (GroupEntry group : mGroups.values()) { in resetNotifs()
546 if (entry instanceof GroupEntry) { in filterNotifs()
547 final GroupEntry groupEntry = (GroupEntry) entry; in filterNotifs()
586 GroupEntry group = mGroups.get(topLevelKey); in groupNotifs()
588 group = new GroupEntry(topLevelKey, mSystemClock.uptimeMillis()); in groupNotifs()
641 if (tle instanceof GroupEntry) { in stabilizeGroupingNotifs()
643 GroupEntry groupEntry = (GroupEntry) tle; in stabilizeGroupingNotifs()
670 final GroupEntry prevParent = entry.getPreviousAttachState().getParent(); in maybeSuppressGroupChange()
[all …]
DListEntry.java67 @Nullable public GroupEntry getParent() { in getParent()
71 void setParent(@Nullable GroupEntry parent) { in setParent()
75 @Nullable public GroupEntry getPreviousParent() { in getPreviousParent()
DListDumper.java57 if (entry instanceof GroupEntry) { in dumpTree()
58 GroupEntry ge = (GroupEntry) entry; in dumpTree()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DGroupCountCoordinator.kt20 import com.android.systemui.statusbar.notification.collection.GroupEntry in <lambda>()
30 private val untruncatedChildCounts = ArrayMap<GroupEntry, Int>() in <lambda>()
40 entries.asSequence().filterIsInstance<GroupEntry>().forEach { groupEntry -> in <lambda>()
45 private fun onAfterRenderGroup(group: GroupEntry, controller: NotifGroupController) { in <lambda>()
DPreparationCoordinatorLogger.kt22 import com.android.systemui.statusbar.notification.collection.GroupEntry
56 fun logDoneWaitingForGroupInflation(group: GroupEntry) { in logDoneWaitingForGroupInflation()
64 fun logGroupInflationTookTooLong(group: GroupEntry) { in logGroupInflationTookTooLong()
72 fun logDelayingGroupRelease(group: GroupEntry, child: NotificationEntry) { in logDelayingGroupRelease()
DGroupWhenCoordinator.kt20 import com.android.systemui.statusbar.notification.collection.GroupEntry in <lambda>()
42 private val notificationGroupTimes = ArrayMap<GroupEntry, Long>() in <lambda>()
61 entries.asSequence().filterIsInstance<GroupEntry>().forEach { groupEntry -> in <lambda>()
80 private fun onAfterRenderGroupListener(group: GroupEntry, controller: NotifGroupController) { in <lambda>()
85 groupEntry: GroupEntry, in <lambda>()
DPreparationCoordinator.java36 import com.android.systemui.statusbar.notification.collection.GroupEntry;
206 private final Map<GroupEntry, Boolean> mIsDelayedGroupCache = new ArrayMap<>();
214 final GroupEntry parent = requireNonNull(entry.getParent());
264 if (entry instanceof GroupEntry) { in inflateAllRequiredViews()
265 GroupEntry groupEntry = (GroupEntry) entry; in inflateAllRequiredViews()
274 private void inflateRequiredGroupViews(GroupEntry groupEntry) { in inflateRequiredGroupViews()
406 private boolean shouldWaitForGroupToInflate(GroupEntry group, long now) {
407 if (group == GroupEntry.ROOT_ENTRY || group.wasAttachedInPreviousPass()) {
431 private boolean isBeyondGroupInitializationWindow(GroupEntry entry, long now) {
DDismissibilityCoordinator.kt19 import com.android.systemui.statusbar.notification.collection.GroupEntry in <lambda>()
71 if (entry is GroupEntry) { in <lambda>()
DDataStoreCoordinator.kt19 import com.android.systemui.statusbar.notification.collection.GroupEntry in <lambda>()
56 is GroupEntry -> { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/
DGroupMembershipManagerImpl.java19 import static com.android.systemui.statusbar.notification.collection.GroupEntry.ROOT_ENTRY;
23 import com.android.systemui.statusbar.notification.collection.GroupEntry;
65 if (entry instanceof GroupEntry) { in getChildren()
66 return ((GroupEntry) entry).getChildren(); in getChildren()
DRenderExtensions.kt19 import com.android.systemui.statusbar.notification.collection.GroupEntry
25 inline val GroupEntry.requireSummary get() = checkNotNull(summary) { "No Summary: $this" } in <lambda>()
DNotifViewRenderer.kt19 import com.android.systemui.statusbar.notification.collection.GroupEntry
49 fun getGroupController(group: GroupEntry): NotifGroupController in onRenderList()
DRenderStageManager.kt20 import com.android.systemui.statusbar.notification.collection.GroupEntry in <lambda>()
107 entries.asSequence().filterIsInstance<GroupEntry>().forEach { group -> in <lambda>()
143 is GroupEntry -> { in <lambda>()
DShadeViewManager.kt22 import com.android.systemui.statusbar.notification.collection.GroupEntry
77 override fun getGroupController(group: GroupEntry): NotifGroupController = in getStackController()
DNodeSpecBuilder.kt20 import com.android.systemui.statusbar.notification.collection.GroupEntry in <lambda>()
105 is GroupEntry -> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/pluggable/
DNotifStabilityManager.kt18 import com.android.systemui.statusbar.notification.collection.GroupEntry
61 abstract fun isGroupPruneAllowed(entry: GroupEntry): Boolean in isPipelineRunAllowed()
101 override fun isGroupPruneAllowed(entry: GroupEntry): Boolean = true in isPipelineRunAllowed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/
DHighPriorityProvider.java25 import com.android.systemui.statusbar.notification.collection.GroupEntry;
122 if (!(entry instanceof GroupEntry)) { in isNotificationEntryWithAtLeastOneImportantChild()
125 final GroupEntry groupEntry = (GroupEntry) entry; in isNotificationEntryWithAtLeastOneImportantChild()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/
DOnAfterRenderGroupListener.java21 import com.android.systemui.statusbar.notification.collection.GroupEntry;
34 @NonNull GroupEntry groupEntry, in onAfterRenderGroup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DPreparationCoordinatorTest.java22 import static com.android.systemui.statusbar.notification.collection.GroupEntry.ROOT_ENTRY;
53 import com.android.systemui.statusbar.notification.collection.GroupEntry;
273 NotificationEntryBuilder.setNewParent(mEntry, mock(GroupEntry.class)); in testMinimizedEntryMovedIntoGroupWillRebindViews()
367 GroupEntry groupEntry = new GroupEntryBuilder() in testCutoffGroupChildrenNotInflated()
398 final GroupEntry group = new GroupEntryBuilder() in testPartiallyInflatedGroupsAreFilteredOut()
418 final GroupEntry group = new GroupEntryBuilder() in testPartiallyInflatedGroupsAreFilteredOutSummaryVersion()
443 final GroupEntry group = new GroupEntryBuilder() in testNullGroupSummary()
475 final GroupEntry group = new GroupEntryBuilder() in testPartiallyInflatedGroupsAreNotFilteredOutIfSummaryReinflate()
507 final GroupEntry group = new GroupEntryBuilder() in testCompletedInflatedGroupsAreReleased()
541 final GroupEntry group = new GroupEntryBuilder() in testPartiallyInflatedGroupsAreReleasedAfterTimeout()
[all …]
DConversationCoordinatorTest.kt27 import com.android.systemui.statusbar.notification.collection.GroupEntry
127 .setParent(GroupEntry.ROOT_ENTRY) in testPromotedImportantConversationsMakesSummaryUnimportant()
134 NotificationEntryBuilder.setNewParent(entry, GroupEntry.ROOT_ENTRY) in testPromotedImportantConversationsMakesSummaryUnimportant()
194 .setParent(GroupEntry.ROOT_ENTRY) in testInAlertingPeopleSectionWhenThereIsAnImportantChild()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/
DNotifUiAdjustmentProvider.kt29 import com.android.systemui.statusbar.notification.collection.GroupEntry
106 val isTopLevelEntry = parent == GroupEntry.ROOT_ENTRY in isEntryMinimized()

12