/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/collection/render/ |
D | GroupMembershipManagerTest.kt | 48 val groupKey = "group" in isChildInGroup_summary() constant 51 .setGroup(mContext, groupKey) in isChildInGroup_summary() 54 GroupEntryBuilder().setKey(groupKey).setSummary(summary).build() in isChildInGroup_summary() 67 val groupKey = "group" in isGroupSummary_summary() constant 70 .setGroup(mContext, groupKey) in isGroupSummary_summary() 73 GroupEntryBuilder().setKey(groupKey).setSummary(summary).build() in isGroupSummary_summary() 80 val groupKey = "group" in isGroupSummary_child() constant 83 .setGroup(mContext, groupKey) in isGroupSummary_child() 86 val entry = NotificationEntryBuilder().setGroup(mContext, groupKey).build() in isGroupSummary_child() 87 GroupEntryBuilder().setKey(groupKey).setSummary(summary).addChild(entry).build() in isGroupSummary_child() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/ |
D | NotificationIconsViewData.kt | 87 .groupBy { it.groupInfo.groupKey } in <lambda>() 100 val groupKey: String, constant in com.android.systemui.statusbar.notification.icon.ui.viewmodel.NotificationIconInfo 109 groupKey?.let { groupKey -> in ActiveNotificationModel() method 113 groupKey = groupKey, in ActiveNotificationModel() 120 get() = IconGroupInfo(sourceIcon, groupKey) 124 val groupKey: String, constant in com.android.systemui.statusbar.notification.icon.ui.viewmodel.IconGroupInfo 133 if (groupKey != other.groupKey) return false in equals() 138 var result = groupKey.hashCode() in hashCode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/ |
D | GroupCoalescerLogger.kt | 35 fun logEmitBatch(groupKey: String, batchSize: Int, batchAgeMs: Long) { in logEmitBatch() 37 str1 = groupKey in logEmitBatch() 45 fun logEarlyEmit(modifiedKey: String, groupKey: String) { in logEarlyEmit() 48 str2 = groupKey in logEarlyEmit() 54 fun logMaxBatchTimeout(modifiedKey: String, groupKey: String) { in logMaxBatchTimeout() 57 str2 = groupKey in logMaxBatchTimeout()
|
D | EventBatch.java | 42 EventBatch(long createdTimestamp, String groupKey) { in EventBatch() argument 44 this.mGroupKey = groupKey; in EventBatch()
|
D | GroupCoalescer.java | 228 private EventBatch getOrBuildBatch(final String groupKey) { in getOrBuildBatch() argument 229 EventBatch batch = mBatches.get(groupKey); in getOrBuildBatch() 231 batch = new EventBatch(mClock.uptimeMillis(), groupKey); in getOrBuildBatch() 232 mBatches.put(groupKey, batch); in getOrBuildBatch()
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | GroupedAggregatedLogRecords.java | 46 abstract void dumpGroupHeader(IndentingPrintWriter pw, int groupKey); in dumpGroupHeader() argument 49 abstract long findGroupKeyProtoFieldId(int groupKey); in findGroupKeyProtoFieldId() argument 60 int groupKey = record.getGroupKey(); in add() local 61 if (!mGroupedRecords.contains(groupKey)) { in add() 62 mGroupedRecords.put(groupKey, new ArrayDeque<>(mSizeLimit)); in add() 64 ArrayDeque<AggregatedLogRecord<T>> records = mGroupedRecords.get(groupKey); in add()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/domain/interactor/ |
D | RenderNotificationListInteractor.kt | 126 groupKey = sbn.groupKey, in buildActiveNotificationsStore() 146 groupKey: String?, in createOrReuse() 165 groupKey = groupKey, in createOrReuse() 184 groupKey = groupKey, in createOrReuse() 204 groupKey: String?, in ActiveNotificationModel() 222 groupKey != this.groupKey -> false in ActiveNotificationModel()
|
/frameworks/base/core/java/android/service/notification/ |
D | StatusBarNotification.java | 55 private String groupKey; field in StatusBarNotification 92 this.groupKey = groupKey(); in StatusBarNotification() 115 this.groupKey = groupKey(); in StatusBarNotification() 139 this.groupKey = groupKey(); in StatusBarNotification() 177 private String groupKey() { in groupKey() method in StatusBarNotification 418 return groupKey; in getGroupKey() 438 groupKey = groupKey(); in setOverrideGroupKey()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/data/model/ |
D | ActiveNotificationModelBuilder.kt | 26 groupKey: String? = null, 44 groupKey = groupKey,
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | GroupedAggregatedLogRecordsTest.java | 166 private TestSingleLogRecord createRecord(int groupKey, int aggregateKey, long createTime) { in createRecord() argument 167 TestSingleLogRecord record = new TestSingleLogRecord(groupKey, aggregateKey, createTime); in createRecord() 215 void dumpGroupHeader(IndentingPrintWriter pw, int groupKey) { in dumpGroupHeader() argument 216 dumpGroupKeys.add(groupKey); in dumpGroupHeader() 220 long findGroupKeyProtoFieldId(int groupKey) { in findGroupKeyProtoFieldId() argument 233 TestSingleLogRecord(int groupKey, int aggregateKey, long createTime) { in TestSingleLogRecord() argument 234 mGroupKey = groupKey; in TestSingleLogRecord()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | RankingHelper.java | 148 final String groupKey = record.getGroupKey(); in sort() local 149 NotificationRecord existingProxy = mProxyByGroupTmp.get(groupKey); in sort() 153 mProxyByGroupTmp.put(groupKey, record); in sort() 156 final String groupKey = record.getGroupKey(); in sort() local 157 NotificationRecord existingProxy = mProxyByGroupTmp.get(groupKey); in sort() 159 mProxyByGroupTmp.put(groupKey, record); in sort()
|
D | NotificationRecordExtractorData.java | 52 boolean allowBubble, boolean isBubble, NotificationChannel channel, String groupKey, in NotificationRecordExtractorData() argument 64 mGroupKey = groupKey; in NotificationRecordExtractorData()
|
D | SnoozeHelper.java | 169 String groupKey, Integer userId) { in getNotifications() argument 175 && Objects.equals(r.getSbn().getGroup(), groupKey)) { in getNotifications() 345 protected void repostGroupSummary(String pkg, int userId, String groupKey) { in repostGroupSummary() argument 355 && groupKey.equals(potentialGroupSummary.getGroupKey())) { in repostGroupSummary()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | HeadsUpCoordinatorLogger.kt | 52 fun logEvaluatingGroup(groupKey: String, numPostedEntries: Int, logicalGroupSize: Int) { in logEvaluatingGroup() 55 str1 = groupKey in logEvaluatingGroup()
|
D | HeadsUpCoordinator.kt | 137 val postedEntriesByGroup = mPostedEntries.values.groupBy { it.entry.sbn.groupKey } in <lambda>() 139 .filter { postedEntriesByGroup.contains(it.sbn.groupKey) } in <lambda>() 140 .groupBy { it.sbn.groupKey } in <lambda>() 144 postedEntriesByGroup.forEach { (groupKey, postedEntries) -> in <lambda>() method 146 val logicalMembers = logicalMembersByGroup[groupKey] ?: emptyList() in <lambda>() 150 mLogger.logEvaluatingGroup(groupKey, postedEntries.size, logicalMembers.size) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationTestHelper.java | 517 @Nullable String groupKey) in createRow() argument 519 Notification notif = createNotification(isGroupSummary, groupKey); in createRow() 539 private Notification createNotification(boolean isGroupSummary, @Nullable String groupKey) { in createNotification() argument 540 return createNotification(isGroupSummary, groupKey, null /* bubble metadata */); in createNotification() 552 @Nullable String groupKey, @Nullable BubbleMetadata bubbleMetadata) { in createNotification() argument 567 if (!TextUtils.isEmpty(groupKey)) { in createNotification() 568 notificationBuilder.setGroup(groupKey); in createNotification()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/ |
D | SbnBuilder.java | 141 public SbnBuilder setGroup(Context context, String groupKey) { in setGroup() argument 142 modifyNotification(context).setGroup(groupKey); in setGroup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/shared/ |
D | ActiveNotificationModel.kt | 34 val groupKey: String?, constant in com.android.systemui.statusbar.notification.shared.ActiveNotificationModel
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/ |
D | NotificationIconContainerStatusBarViewModelTest.kt | 297 groupKey = "group", in isolatedIcon_animateOnAppear_shadeCollapsed() 324 groupKey = "group", in isolatedIcon_dontAnimateOnAppear_shadeExpanded() 356 groupKey = "group", in isolatedIcon_updateWhenIconDataChanges() 378 groupKey = "group", in isolatedIcon_lastMessageIsFromReply_notNull()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubbleData.java | 519 void addSummaryToSuppress(String groupKey, String notifKey) { in addSummaryToSuppress() argument 520 mSuppressedGroupKeys.put(groupKey, notifKey); in addSummaryToSuppress() 522 mStateChange.suppressedSummaryGroup = groupKey; in addSummaryToSuppress() 532 String getSummaryKey(String groupKey) { in getSummaryKey() argument 533 return mSuppressedGroupKeys.get(groupKey); in getSummaryKey() 539 void removeSuppressedSummary(String groupKey) { in removeSuppressedSummary() argument 540 mSuppressedGroupKeys.remove(groupKey); in removeSuppressedSummary() 542 mStateChange.suppressedSummaryGroup = groupKey; in removeSuppressedSummary() 550 public boolean isSummarySuppressed(String groupKey) { in isSummarySuppressed() argument 551 return mSuppressedGroupKeys.containsKey(groupKey); in isSummarySuppressed()
|
D | BubbleController.java | 1253 public boolean isBubbleNotificationSuppressedFromShade(String key, String groupKey) { in isBubbleNotificationSuppressedFromShade() argument 1257 boolean isSuppressedSummary = mBubbleData.isSummarySuppressed(groupKey); in isBubbleNotificationSuppressedFromShade() 1258 boolean isSummary = key.equals(mBubbleData.getSummaryKey(groupKey)); in isBubbleNotificationSuppressedFromShade() 1726 final String groupKey = entry.getStatusBarNotification().getGroupKey(); in onEntryRemoved() local 1727 mBubbleData.removeSuppressedSummary(groupKey); in onEntryRemoved() 1730 final List<Bubble> bubbleChildren = getBubblesInGroup(groupKey); in onEntryRemoved() 1803 private ArrayList<Bubble> getBubblesInGroup(@Nullable String groupKey) { in getBubblesInGroup() argument 1805 if (groupKey == null) { in getBubblesInGroup() 1809 if (bubble.getGroupKey() != null && groupKey.equals(bubble.getGroupKey())) { in getBubblesInGroup() 2145 String groupKey = entry.getStatusBarNotification().getGroupKey(); in isSummaryOfBubbles() local [all …]
|
D | Bubbles.java | 99 boolean isBubbleNotificationSuppressedFromShade(String key, String groupKey); in isBubbleNotificationSuppressedFromShade() argument
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationEntryBuilder.java | 246 public NotificationEntryBuilder setGroup(Context context, String groupKey) { in setGroup() argument 247 mSbnBuilder.setGroup(context, groupKey); in setGroup()
|
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/ |
D | Tile.java | 389 public void setGroupKey(String groupKey) { in setGroupKey() argument 390 mGroupKey = groupKey; in setGroupKey()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationAttentionHelperTest.java | 415 private NotificationRecord getBeepyNotificationRecord(String groupKey, int groupAlertBehavior) { in getBeepyNotificationRecord() argument 417 groupKey, groupAlertBehavior, false, mUser); in getBeepyNotificationRecord() 420 private NotificationRecord getLightsNotificationRecord(String groupKey, in getLightsNotificationRecord() argument 423 true, true, groupKey, groupAlertBehavior, false, mUser); in getLightsNotificationRecord() 429 boolean defaultSound, boolean defaultLights, String groupKey, int groupAlertBehavior, in getNotificationRecord() argument 432 defaultSound, defaultLights, groupKey, groupAlertBehavior, isLeanback, false, in getNotificationRecord() 439 boolean defaultSound, boolean defaultLights, String groupKey, int groupAlertBehavior, in getNotificationRecord() argument 442 defaultSound, defaultLights, groupKey, groupAlertBehavior, isLeanback, false, in getNotificationRecord() 449 boolean defaultSound, boolean defaultLights, String groupKey, int groupAlertBehavior, in getNotificationRecord() argument 500 builder.setGroup(groupKey); in getNotificationRecord() [all …]
|