Home
last modified time | relevance | path

Searched refs:isConversation (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationUiAdjustment.java41 public final boolean isConversation; field in NotificationUiAdjustment
46 boolean isConversation) { in NotificationUiAdjustment() argument
54 this.isConversation = isConversation; in NotificationUiAdjustment()
61 entry.getRanking().isConversation()); in extractFromNotificationEntry()
70 if (oldAdjustment.isConversation != newAdjustment.isConversation) { in needReinflate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DConversationCoordinator.kt50 isConversation(entry.representativeEntry!!) in isInSection()
58 private fun isConversation(entry: NotificationEntry): Boolean = in isConversation() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DRankingBuilder.java85 mIsConversation = ranking.isConversation(); in RankingBuilder()
197 public RankingBuilder setIsConversation(boolean isConversation) { in setIsConversation() argument
198 mIsConversation = isConversation; in setIsConversation()
DNotificationUiAdjustmentTest.java258 String key, boolean isConversation) { in createUiAdjustmentForConversation() argument
259 return new NotificationUiAdjustment(key, null, null, isConversation); in createUiAdjustmentForConversation()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationListenerServiceTest.java122 assertEquals(isConversation(i), ranking.isConversation()); in testRanking()
193 tweak.isConversation(), in testRankingUpdate_equals()
274 isConversation(i), in generateUpdate()
386 private boolean isConversation(int index) { in isConversation() method in NotificationListenerServiceTest
442 assertEquals(comment, a.isConversation(), b.isConversation()); in detailedAssertEquals()
DNotificationRecordTest.java1167 assertTrue(record.isConversation()); in testIsConversation()
1181 assertFalse(record.isConversation()); in testIsConversation_shortcutHasOneBot_targetsR()
1194 assertTrue(record.isConversation()); in testIsConversation_shortcutHasOnePerson_targetsR()
1209 assertTrue(record.isConversation()); in testIsConversation_shortcutHasOneBotOnePerson_targetsR()
1219 assertTrue(record.isConversation()); in testIsConversation_noShortcut()
1230 assertFalse(record.isConversation()); in testIsConversation_noShortcut_appHasPreviousSentFullConversation()
1241 assertFalse(record.isConversation()); in testIsConversation_noShortcut_userDemotedApp()
1250 assertFalse(record.isConversation()); in testIsConversation_noShortcut_targetsR()
1260 assertFalse(record.isConversation()); in testIsConversation_channelDemoted()
1277 assertFalse(record.isConversation()); in testIsConversation_withAdjustmentOverride()
[all …]
DZenModeFilteringTest.java94 when(r.isConversation()).thenReturn(true); in getConversationRecord()
215 when(r.isConversation()).thenReturn(true); in testConversation_allAllowed()
/frameworks/base/core/java/android/app/people/
DPeopleManager.java99 public boolean isConversation(@NonNull String packageName, @NonNull String shortcutId) { in isConversation() method in PeopleManager
103 return mService.isConversation(packageName, mContext.getUserId(), shortcutId); in isConversation()
DIPeopleManager.aidl54 boolean isConversation(in String packageName, int userId, in String shortcutId); in isConversation() method
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationChannelLoggerImpl.java45 /* bool is_conversation */ channel.isConversation(), in logNotificationChannel()
DZenModeFiltering.java188 if (isConversation(record)) { in shouldIntercept()
296 protected boolean isConversation(NotificationRecord record) { in isConversation() method in ZenModeFiltering
297 return record.isConversation(); in isConversation()
DBubbleExtractor.java76 && record.isConversation() in process()
DNotificationRecord.java1266 if (isConversation()) { in getNotificationType()
1424 public boolean isConversation() { in isConversation() method in NotificationRecord
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleBackupHelper.java442 boolean isConversation = peopleManager.isConversation( in isReadyForRestore()
445 Log.d(TAG, "Checked if shortcut exists, should follow up: " + !isConversation); in isReadyForRestore()
447 return isConversation; in isReadyForRestore()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationRankingManager.kt173 usePeopleFiltering && entry.isConversation() -> BUCKET_PEOPLE in <lambda>()
206 private fun NotificationEntry.isConversation() = getPeopleNotificationType() != TYPE_NON_PERSON in <lambda>() method in com.android.systemui.statusbar.notification.collection.NotificationRankingManager
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
DPeopleBackupFollowUpJobTest.java103 when(mIPeopleManager.isConversation(any(), anyInt(), any())).thenReturn(true); in setUp()
120 when(mIPeopleManager.isConversation(any(), anyInt(), any())).thenReturn(false); in testProcessFollowUpFile_shouldFollowUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DConversationNotifications.kt158 if (rankingMap.getRanking(entry.sbn.key, ranking) && ranking.isConversation) { in onNotificationRankingUpdated()
189 if (!entry.ranking.isConversation) { in onEntryInflated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/
DPeopleNotificationIdentifier.kt105 !isConversation -> TYPE_NON_PERSON in upperBound()
/frameworks/base/services/people/java/com/android/server/people/
DPeopleService.java199 public boolean isConversation(String packageName, int userId, String shortcutId) {
202 return mDataManager.isConversation(packageName, userId, shortcutId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationChildrenContainer.java317 public void recreateNotificationHeader(OnClickListener listener, boolean isConversation) {
319 mIsConversation = isConversation;
338 recreateLowPriorityHeader(builder, isConversation);
348 private void recreateLowPriorityHeader(Notification.Builder builder, boolean isConversation) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DPeopleBackupHelperTest.java118 when(mIPeopleManager.isConversation(any(), anyInt(), any())).thenReturn(true); in setUp()
517 when(mIPeopleManager.isConversation(any(), anyInt(), any())).thenReturn(false); in testRestoreKey_peopleTileKey_shortcutNotYetRestored_shouldFollowUpBoth()
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java1993 public boolean isConversation() { in isConversation() method in NotificationListenerService.Ranking
2035 boolean visuallyInterruptive, boolean isConversation, ShortcutInfo shortcutInfo, in populate() argument
2058 mIsConversation = isConversation; in populate()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DDataManagerTest.java768 assertThat(mDataManager.isConversation(TEST_PKG_NAME, USER_ID_PRIMARY, in testIsConversation()
775 assertThat(mDataManager.isConversation(TEST_PKG_NAME, USER_ID_PRIMARY, in testIsConversation()
777 assertThat(mDataManager.isConversation(TEST_PKG_NAME, USER_ID_PRIMARY, in testIsConversation()
784 assertThat(mDataManager.isConversation(TEST_PKG_NAME, USER_ID_PRIMARY, in testIsConversation_demoted()
798 assertThat(mDataManager.isConversation(TEST_PKG_NAME, USER_ID_PRIMARY, in testIsConversation_demoted()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java544 private boolean isConversation() { in isConversation() method in ExpandableNotificationRow
560 mChildrenContainer.recreateNotificationHeader(mExpandClickListener, isConversation()); in onNotificationUpdated()
2388 isConversation());
DNotificationContentInflater.java800 if (mEntry.getRanking().isConversation()) { in doInBackground()

12