Home
last modified time | relevance | path

Searched refs:isConversation (Results 1 – 25 of 36) 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/inflation/
DNotifUiAdjustment.kt33 val isConversation: Boolean, constant in com.android.systemui.statusbar.notification.collection.inflation.NotifUiAdjustment
45 oldAdjustment.isConversation != newAdjustment.isConversation -> true in needReinflate()
DNotifUiAdjustmentProvider.kt102 isConversation = entry.ranking.isConversation,
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecordExtractorData.java56 boolean isConversation, int proposedImportance) { in NotificationRecordExtractorData() argument
72 mIsConversation = isConversation; in NotificationRecordExtractorData()
115 || mIsConversation != r.isConversation() in hasDiffForLoggingLocked()
DNotificationChannelLoggerImpl.java45 /* bool is_conversation */ channel.isConversation(), in logNotificationChannel()
DZenModeFiltering.java228 if (isConversation(record)) { in shouldIntercept()
368 protected boolean isConversation(NotificationRecord record) { in isConversation() method in ZenModeFiltering
369 return record.isConversation(); in isConversation()
DBubbleExtractor.java82 && record.isConversation() in process()
/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()
275 isConversation(i), in generateUpdate()
388 private boolean isConversation(int index) { in isConversation() method in NotificationListenerServiceTest
448 assertEquals(comment, a.isConversation(), b.isConversation()); in detailedAssertEquals()
DNotificationRecordExtractorDataTest.java67 r.isConversation(), in testHasDiffs_noDiffs()
94 r.isConversation(), in testHasDiffs_proposedImportanceChange()
DNotificationRecordTest.java1185 assertTrue(record.isConversation()); in testIsConversation()
1199 assertFalse(record.isConversation()); in testIsConversation_shortcutHasOneBot_targetsR()
1212 assertTrue(record.isConversation()); in testIsConversation_shortcutHasOnePerson_targetsR()
1227 assertTrue(record.isConversation()); in testIsConversation_shortcutHasOneBotOnePerson_targetsR()
1237 assertTrue(record.isConversation()); in testIsConversation_noShortcut()
1248 assertFalse(record.isConversation()); in testIsConversation_noShortcut_appHasPreviousSentFullConversation()
1259 assertFalse(record.isConversation()); in testIsConversation_noShortcut_userDemotedApp()
1268 assertFalse(record.isConversation()); in testIsConversation_noShortcut_targetsR()
1278 assertFalse(record.isConversation()); in testIsConversation_channelDemoted()
1295 assertFalse(record.isConversation()); in testIsConversation_withAdjustmentOverride()
[all …]
DZenModeFilteringTest.java112 when(r.isConversation()).thenReturn(true); in getConversationRecord()
256 when(r.isConversation()).thenReturn(true); in testConversation_allAllowed()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/
DRankingBuilder.java88 mIsConversation = ranking.isConversation(); in RankingBuilder()
202 public RankingBuilder setIsConversation(boolean isConversation) { in setIsConversation() argument
203 mIsConversation = isConversation; in setIsConversation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DConversationCoordinator.kt83 isConversation(entry) in <lambda>()
103 private fun isConversation(entry: ListEntry): Boolean = in <lambda>() method
/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/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/tests/src/com/android/systemui/statusbar/
DNotificationUiAdjustmentTest.java258 String key, boolean isConversation) { in createUiAdjustmentForConversation() argument
259 return new NotificationUiAdjustment(key, null, null, isConversation); in createUiAdjustmentForConversation()
/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.kt149 if (rankingMap.getRanking(entry.sbn.key, ranking) && ranking.isConversation) { in updateNotificationRanking()
177 if (!entry.ranking.isConversation) { in onEntryViewBound()
/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.java382 public void recreateNotificationHeader(OnClickListener listener, boolean isConversation) {
384 mIsConversation = isConversation;
410 recreateLowPriorityHeader(builder, isConversation);
420 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.java2021 public boolean isConversation() { in isConversation() method in NotificationListenerService.Ranking
2063 boolean isTextChanged, boolean isConversation, ShortcutInfo shortcutInfo, in populate() argument
2086 mIsConversation = isConversation; in populate()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DDataManagerTest.java830 assertThat(mDataManager.isConversation(TEST_PKG_NAME, USER_ID_PRIMARY, in testIsConversation()
837 assertThat(mDataManager.isConversation(TEST_PKG_NAME, USER_ID_PRIMARY, in testIsConversation()
839 assertThat(mDataManager.isConversation(TEST_PKG_NAME, USER_ID_PRIMARY, in testIsConversation()
846 assertThat(mDataManager.isConversation(TEST_PKG_NAME, USER_ID_PRIMARY, in testIsConversation_demoted()
860 assertThat(mDataManager.isConversation(TEST_PKG_NAME, USER_ID_PRIMARY, in testIsConversation_demoted()

12