/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/collection/ |
D | GroupEntryBuilder.java | 32 @Nullable private GroupEntry mParent = GroupEntry.ROOT_ENTRY; 38 public GroupEntry build() { in build() 39 GroupEntry ge = new GroupEntry(mKey, mCreationTime); in build() 68 public GroupEntryBuilder setParent(@Nullable GroupEntry entry) { in setParent() 100 public static List<NotificationEntry> getRawChildren(GroupEntry groupEntry) { in getRawChildren()
|
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/ |
D | ViewerConfigParser.kt | 48 data class GroupEntry(val tag: String) in <lambda>() class in com.android.protolog.tool.ViewerConfigParser 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/render/ |
D | GroupMembershipManagerImpl.java | 19 import static com.android.systemui.statusbar.notification.collection.GroupEntry.ROOT_ENTRY; 25 import com.android.systemui.statusbar.notification.collection.GroupEntry; 79 if (entry instanceof GroupEntry) { in getChildren() 80 return ((GroupEntry) entry).getChildren(); in getChildren() 86 GroupEntry parent = representativeEntry.getParent(); in getChildren()
|
D | RenderExtensions.kt | 19 import com.android.systemui.statusbar.notification.collection.GroupEntry 25 inline val GroupEntry.requireSummary get() = checkNotNull(summary) { "No Summary: $this" } in <lambda>()
|
D | NotifViewRenderer.kt | 19 import com.android.systemui.statusbar.notification.collection.GroupEntry 49 fun getGroupController(group: GroupEntry): NotifGroupController in onRenderList()
|
D | RenderStageManager.kt | 20 import com.android.systemui.statusbar.notification.collection.GroupEntry in <lambda>() 107 entries.asSequence().filterIsInstance<GroupEntry>().forEach { group -> in <lambda>() 143 is GroupEntry -> { in <lambda>()
|
D | ShadeViewManager.kt | 22 import com.android.systemui.statusbar.notification.collection.GroupEntry 77 override fun getGroupController(group: GroupEntry): NotifGroupController = in getStackController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | GroupEntry.java | 31 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);
|
D | ShadeListBuilder.java | 21 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 …]
|
D | ListEntry.java | 67 @Nullable public GroupEntry getParent() { in getParent() 71 void setParent(@Nullable GroupEntry parent) { in setParent() 75 @Nullable public GroupEntry getPreviousParent() { in getPreviousParent()
|
D | ListDumper.java | 57 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/ |
D | GroupCountCoordinator.kt | 20 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>()
|
D | PreparationCoordinatorLogger.kt | 22 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()
|
D | GroupWhenCoordinator.kt | 20 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>()
|
D | RowAlertTimeCoordinator.kt | 19 import com.android.systemui.statusbar.notification.collection.GroupEntry in <lambda>() 44 entries.asSequence().filterIsInstance<GroupEntry>().forEach { groupEntry -> in <lambda>() 56 private fun GroupEntry.calculateLatestAlertTime(): Long { in <lambda>() method
|
D | PreparationCoordinator.java | 36 import com.android.systemui.statusbar.notification.collection.GroupEntry; 208 private final Map<GroupEntry, Boolean> mIsDelayedGroupCache = new ArrayMap<>(); 216 final GroupEntry parent = requireNonNull(entry.getParent()); 266 if (entry instanceof GroupEntry) { in inflateAllRequiredViews() 267 GroupEntry groupEntry = (GroupEntry) entry; in inflateAllRequiredViews() 276 private void inflateRequiredGroupViews(GroupEntry groupEntry) { in inflateRequiredGroupViews() 418 private boolean shouldWaitForGroupToInflate(GroupEntry group, long now) { 419 if (group == GroupEntry.ROOT_ENTRY || group.wasAttachedInPreviousPass()) { 443 private boolean isBeyondGroupInitializationWindow(GroupEntry entry, long now) {
|
D | DataStoreCoordinator.kt | 19 import com.android.systemui.statusbar.notification.collection.GroupEntry in <lambda>() 56 is GroupEntry -> { in <lambda>()
|
D | DismissibilityCoordinator.kt | 19 import com.android.systemui.statusbar.notification.collection.GroupEntry in <lambda>() 71 if (entry is GroupEntry) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/pluggable/ |
D | NotifStabilityManager.kt | 18 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/ |
D | HighPriorityProvider.java | 25 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/multivalentTests/src/com/android/systemui/statusbar/notification/collection/render/ |
D | GroupMembershipManagerTest.kt | 22 import com.android.systemui.statusbar.notification.collection.GroupEntry 36 val topLevelEntry = NotificationEntryBuilder().setParent(GroupEntry.ROOT_ENTRY).build() in isChildInGroup_topLevel() 61 val entry = NotificationEntryBuilder().setParent(GroupEntry.ROOT_ENTRY).build() in isGroupSummary_topLevelEntry() 94 val entry = NotificationEntryBuilder().setParent(GroupEntry.ROOT_ENTRY).build() in getGroupSummary_topLevelEntry()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/ |
D | OnAfterRenderGroupListener.java | 21 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/ |
D | PreparationCoordinatorTest.java | 22 import static com.android.systemui.statusbar.notification.collection.GroupEntry.ROOT_ENTRY; 53 import com.android.systemui.statusbar.notification.collection.GroupEntry; 284 NotificationEntryBuilder.setNewParent(mEntry, mock(GroupEntry.class)); in testMinimizedEntryMovedIntoGroupWillRebindViews() 378 GroupEntry groupEntry = new GroupEntryBuilder() in testCutoffGroupChildrenNotInflated() 409 final GroupEntry group = new GroupEntryBuilder() in testPartiallyInflatedGroupsAreFilteredOut() 429 final GroupEntry group = new GroupEntryBuilder() in testPartiallyInflatedGroupsAreFilteredOutSummaryVersion() 454 final GroupEntry group = new GroupEntryBuilder() in testNullGroupSummary() 486 final GroupEntry group = new GroupEntryBuilder() in testPartiallyInflatedGroupsAreNotFilteredOutIfSummaryReinflate() 518 final GroupEntry group = new GroupEntryBuilder() in testCompletedInflatedGroupsAreReleased() 552 final GroupEntry group = new GroupEntryBuilder() in testPartiallyInflatedGroupsAreReleasedAfterTimeout() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | HighPriorityProviderTest.java | 143 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/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/domain/interactor/ |
D | RenderNotificationsListInteractorTest.kt | 23 import com.android.systemui.statusbar.notification.collection.GroupEntry in <lambda>() 130 ): GroupEntry { in mockGroupEntry() 131 return mock<GroupEntry> { in mockGroupEntry()
|