Home
last modified time | relevance | path

Searched refs:notifKey (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconsViewData.kt76 val prevKeys = prev.visibleIcons.asSequence().map { it.notifKey }.toSet() in <lambda>()
77 val newKeys = new.visibleIcons.asSequence().map { it.notifKey }.toSet() in <lambda>()
80 prev.visibleIcons.filter { it.notifKey !in newKeys } in <lambda>()
89 vs.takeIf { it.size == 1 }?.get(0)?.notifKey in <lambda>()
91 return Diff(added, removed.map { it.notifKey }, replacements) in <lambda>()
99 val notifKey: String, constant in com.android.systemui.statusbar.notification.icon.ui.viewmodel.NotificationIconInfo
112 notifKey = key, in ActiveNotificationModel()
DNotificationIconContainerStatusBarViewModel.kt105 iconsViewData.visibleIcons.firstOrNull { it.notifKey == isolatedNotif } in <lambda>()
116 iconInfo?.notifKey == prev?.notifKey -> false in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ui/viewbinder/
DNotificationIconContainerViewBinder.kt162 val iconView = iconInfo.value?.let { viewStore.iconView(it.notifKey) } in <lambda>()
227 iconsDiff.groupReplacements.mapValuesNotNullTo(ArrayMap()) { (_, notifKey) -> in <lambda>() method
228 boundViewsByNotifKey[notifKey]?.first?.statusBarIcon in <lambda>()
232 for (notifKey in iconsDiff.removed) { in <lambda>() method
233 failedBindings.remove(notifKey) in <lambda>()
234 val (child, job) = boundViewsByNotifKey.remove(notifKey) ?: continue in <lambda>()
243 for (notifKey in toAdd) { in <lambda>() constant
245 val sbiv = viewStore.iconView(notifKey) in <lambda>()
247 failedBindings.add(notifKey) in <lambda>()
250 failedBindings.remove(notifKey) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DLaunchConversationActivity.java175 void clearNotificationIfPresent(String notifKey, String packageName, UserHandle userHandle) { in clearNotificationIfPresent() argument
176 if (TextUtils.isEmpty(notifKey)) { in clearNotificationIfPresent()
183 Log.d(TAG, "Skipping clear notification: null services, key: " + notifKey); in clearNotificationIfPresent()
188 NotificationEntry entry = mCommonNotifCollection.getEntry(notifKey); in clearNotificationIfPresent()
192 + " is null, key: " + notifKey); in clearNotificationIfPresent()
200 if (DEBUG) Log.d(TAG, "Clearing notification, key: " + notifKey + ", rank: " + rank); in clearNotificationIfPresent()
204 packageName, userHandle.getIdentifier(), notifKey, in clearNotificationIfPresent()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconContainerStatusBarViewModelTest.kt309 assertThat(isolatedIcon?.value?.notifKey).isEqualTo("notif1") in isolatedIcon_animateOnAppear_shadeCollapsed()
336 assertThat(isolatedIcon?.value?.notifKey).isEqualTo("notif1") in isolatedIcon_dontAnimateOnAppear_shadeExpanded()
364 assertThat(isolatedIcon?.value?.notifKey).isEqualTo("notif1") in isolatedIcon_updateWhenIconDataChanges()
389 assertThat(isolatedIcon?.value?.notifKey).isEqualTo("notif1") in isolatedIcon_lastMessageIsFromReply_notNull()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
DBubbleDataTest.java1356 private BubbleEntry createBubbleEntry(int userId, String notifKey, String packageName, in createBubbleEntry() argument
1358 return createBubbleEntry(userId, notifKey, packageName, ranking, 1000, null); in createBubbleEntry()
1361 private BubbleEntry createBubbleEntry(int userId, String notifKey, String packageName, in createBubbleEntry() argument
1363 return createBubbleEntry(userId, notifKey, packageName, ranking, 1000, locusId); in createBubbleEntry()
1375 private BubbleEntry createBubbleEntry(int userId, String notifKey, String packageName, in createBubbleEntry() argument
1394 when(sbn.getKey()).thenReturn(notifKey); in createBubbleEntry()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRowControllerTest.kt79 private val notifKey = "MyNotifKey" constant
131 notifKey, in setUp()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleData.java519 void addSummaryToSuppress(String groupKey, String notifKey) { in addSummaryToSuppress() argument
520 mSuppressedGroupKeys.put(groupKey, notifKey); in addSummaryToSuppress()