Home
last modified time | relevance | path

Searched refs:mNotificationChannel (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationInfoTest.java97 private NotificationChannel mNotificationChannel; field in NotificationInfoTest
156 mNotificationChannel = new NotificationChannel( in setUp()
158 mNotificationChannelSet.add(mNotificationChannel); in setUp()
180 mNotificationChannel, in testBindNotification_SetsTextApplicationName()
206 mNotificationChannel, in testBindNotification_SetsPackageIcon()
228 mNotificationChannel, in testBindNotification_noDelegate()
259 mNotificationChannel, in testBindNotification_delegate()
282 mNotificationChannel, in testBindNotification_GroupNameHiddenIfNoGroup()
298 mNotificationChannel.setGroup("test_group_id"); in testBindNotification_SetsGroupNameIfNonNull()
310 mNotificationChannel, in testBindNotification_SetsGroupNameIfNonNull()
[all …]
DPartialConversationInfoTest.java88 private NotificationChannel mNotificationChannel; field in PartialConversationInfoTest
149 mNotificationChannel = new NotificationChannel( in setUp()
151 mNotificationChannelSet.add(mNotificationChannel); in setUp()
156 Notification n = new Notification.Builder(mContext, mNotificationChannel.getId()) in setUp()
172 mNotificationChannel, in testBindNotification_SetsName()
191 mNotificationChannel, in testBindNotification_setsIcon()
208 mNotificationChannel, in testBindNotification_noDelegate()
234 mNotificationChannel, in testBindNotification_delegate()
253 mNotificationChannel, in testBindNotification_SetsOnClickListenerForSettings()
257 assertEquals(mNotificationChannel, c); in testBindNotification_SetsOnClickListenerForSettings()
[all …]
DNotificationConversationInfoTest.java115 private NotificationChannel mNotificationChannel; field in NotificationConversationInfoTest
198 mNotificationChannel = new NotificationChannel( in setUp()
201 Notification notification = new Notification.Builder(mContext, mNotificationChannel.getId()) in setUp()
246 mNotificationChannel, in testBindNotification_SetsShortcutIcon()
271 mNotificationChannel, in testBindNotification_SetsTextApplicationName()
313 mNotificationChannel.setGroup(group.getId()); in testBindNotification_SetsTextGroupName()
324 mNotificationChannel, in testBindNotification_SetsTextGroupName()
350 mNotificationChannel, in testBindNotification_GroupNameHiddenIfNoGroup()
375 mNotificationChannel, in testBindNotification_noDelegate()
411 mNotificationChannel, in testBindNotification_delegate()
[all …]
/frameworks/base/core/java/android/app/people/
DConversationChannel.java39 private NotificationChannel mNotificationChannel; field in ConversationChannel
64 mNotificationChannel = parentNotificationChannel; in ConversationChannel()
77 mNotificationChannel = parentNotificationChannel; in ConversationChannel()
88 mNotificationChannel = in.readParcelable(NotificationChannel.class.getClassLoader()); in ConversationChannel()
107 dest.writeParcelable(mNotificationChannel, flags); in writeToParcel()
124 return mNotificationChannel; in getNotificationChannel()
158 ", mNotificationChannel=" + mNotificationChannel + in toString()
/frameworks/base/core/java/android/service/notification/
DConversationChannelWrapper.java33 private NotificationChannel mNotificationChannel; field in ConversationChannelWrapper
43 mNotificationChannel = in.readParcelable(NotificationChannel.class.getClassLoader()); in ConversationChannelWrapper()
53 dest.writeParcelable(mNotificationChannel, flags); in writeToParcel()
81 return mNotificationChannel; in getNotificationChannel()
86 mNotificationChannel = notificationChannel; in setNotificationChannel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationConversationInfo.java101 private NotificationChannel mNotificationChannel; field in NotificationConversationInfo
219 mNotificationChannel = notificationChannel; in bindNotification()
237 mNotificationChannel = NotificationChannelHelper.createConversationChannelIfNeeded( in bindNotification()
238 getContext(), mINotificationManager, entry, mNotificationChannel); in bindNotification()
297 mOnSettingsClickListener.onClick(view, mNotificationChannel, appUidF); in getSettingsOnClickListener()
305 channelName.setText(mNotificationChannel.getName()); in bindConversationDetails()
311 bindIcon(mNotificationChannel.isImportantConversation()); in bindConversationDetails()
376 if (mNotificationChannel != null && mNotificationChannel.getGroup() != null) { in bindGroup()
380 mNotificationChannel.getGroup(), mPackageName, mAppUid); in bindGroup()
512 if (mNotificationChannel.getImportance() <= IMPORTANCE_LOW in getPriority()
[all …]
DPartialConversationInfo.java67 private NotificationChannel mNotificationChannel; field in PartialConversationInfo
117 mNotificationChannel = notificationChannel; in bindNotification()
160 mOnSettingsClickListener.onClick(view, mNotificationChannel, appUidF); in getSettingsOnClickListener()
218 if (mNotificationChannel != null && mNotificationChannel.getGroup() != null) {
222 mNotificationChannel.getGroup(), mPackageName, mAppUid);
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DDataManagerTest.java181 private NotificationChannel mNotificationChannel; field in DataManagerTest
253 mNotificationChannel = new NotificationChannel( in setUp()
255 mNotificationChannel.setConversationId(PARENT_NOTIFICATION_CHANNEL_ID, TEST_SHORTCUT_ID); in setUp()
257 eq(mNotificationChannel.getId()))).thenReturn(mNotificationChannel); in setUp()
547 mNotificationChannel, NOTIFICATION_CHANNEL_OR_GROUP_UPDATED); in testConversationIsNotRecentIfCustomized()
679 assertEquals(mNotificationChannel.getId(), result.getNotificationChannel().getId()); in testGetConversation()
705 NotificationChannel updated = new NotificationChannel(mNotificationChannel.getId(), in testOnNotificationChannelModified()
706 mNotificationChannel.getDescription(), mNotificationChannel.getImportance()); in testOnNotificationChannelModified()
707 updated.setConversationId(mNotificationChannel.getParentChannelId(), in testOnNotificationChannelModified()
708 mNotificationChannel.getConversationId()); in testOnNotificationChannelModified()
[all …]
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java111 private NotificationChannel mNotificationChannel; field in WearPackageInstallerService
573 if (mNotificationChannel == null) { in buildNotification()
574 mNotificationChannel = new NotificationChannel(WEAR_APPS_CHANNEL, in buildNotification()
577 notificationManager.createNotificationChannel(mNotificationChannel); in buildNotification()