/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationInfoTest.java | 100 private NotificationChannel mNotificationChannel; field in NotificationInfoTest 157 mNotificationChannel = new NotificationChannel( in setUp() 159 mNotificationChannelSet.add(mNotificationChannel); in setUp() 187 mNotificationChannel, in testBindNotification_SetsTextApplicationName() 212 mNotificationChannel, in testBindNotification_SetsPackageIcon() 233 mNotificationChannel, in testBindNotification_noDelegate() 263 mNotificationChannel, in testBindNotification_delegate() 285 mNotificationChannel, in testBindNotification_GroupNameHiddenIfNoGroup() 300 mNotificationChannel.setGroup("test_group_id"); in testBindNotification_SetsGroupNameIfNonNull() 312 mNotificationChannel, in testBindNotification_SetsGroupNameIfNonNull() [all …]
|
D | PartialConversationInfoTest.java | 88 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 …]
|
D | NotificationConversationInfoTest.java | 118 private NotificationChannel mNotificationChannel; field in NotificationConversationInfoTest 204 mNotificationChannel = new NotificationChannel( in setUp() 207 Notification notification = new Notification.Builder(mContext, mNotificationChannel.getId()) in setUp() 249 mNotificationChannel, in testBindNotification_SetsShortcutIcon() 273 mNotificationChannel, in testBindNotification_SetsTextApplicationName() 315 mNotificationChannel.setGroup(group.getId()); in testBindNotification_SetsTextGroupName() 324 mNotificationChannel, in testBindNotification_SetsTextGroupName() 349 mNotificationChannel, in testBindNotification_GroupNameHiddenIfNoGroup() 373 mNotificationChannel, in testBindNotification_noDelegate() 408 mNotificationChannel, in testBindNotification_delegate() [all …]
|
/frameworks/base/core/java/android/service/notification/ |
D | ConversationChannelWrapper.java | 32 private NotificationChannel mNotificationChannel; field in ConversationChannelWrapper 42 mNotificationChannel = in.readParcelable(NotificationChannel.class.getClassLoader()); in ConversationChannelWrapper() 52 dest.writeParcelable(mNotificationChannel, flags); in writeToParcel() 80 return mNotificationChannel; in getNotificationChannel() 85 mNotificationChannel = notificationChannel; in setNotificationChannel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationConversationInfo.java | 100 private NotificationChannel mNotificationChannel; field in NotificationConversationInfo 234 mNotificationChannel = notificationChannel; in bindNotification() 253 mNotificationChannel = NotificationChannelHelper.createConversationChannelIfNeeded( in bindNotification() 254 getContext(), mINotificationManager, entry, mNotificationChannel); in bindNotification() 312 mOnSettingsClickListener.onClick(view, mNotificationChannel, appUidF); in getSettingsOnClickListener() 320 channelName.setText(mNotificationChannel.getName()); in bindConversationDetails() 326 bindIcon(mNotificationChannel.isImportantConversation()); in bindConversationDetails() 366 if (mNotificationChannel != null && mNotificationChannel.getGroup() != null) { in bindGroup() 370 mNotificationChannel.getGroup(), mPackageName, mAppUid); in bindGroup() 499 if (mNotificationChannel.getImportance() <= IMPORTANCE_LOW in getSelectedAction() [all …]
|
D | PartialConversationInfo.java | 67 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/ |
D | DataManagerTest.java | 135 private NotificationChannel mNotificationChannel; field in DataManagerTest 203 mNotificationChannel = new NotificationChannel( in setUp() 205 mNotificationChannel.setConversationId("test", TEST_SHORTCUT_ID); in setUp() 476 mNotificationChannel, NOTIFICATION_CHANNEL_OR_GROUP_UPDATED); in testShortcutNotUncachedIfNotificationChannelCreated() 498 mNotificationChannel, NOTIFICATION_CHANNEL_OR_GROUP_ADDED); in testNotificationChannelCreated() 511 mNotificationChannel.setImportantConversation(true); in testNotificationChannelModified() 523 mNotificationChannel, NOTIFICATION_CHANNEL_OR_GROUP_UPDATED); in testNotificationChannelModified() 546 mNotificationChannel, NOTIFICATION_CHANNEL_OR_GROUP_ADDED); in testNotificationChannelDeleted() 553 mNotificationChannel, NOTIFICATION_CHANNEL_OR_GROUP_DELETED); in testNotificationChannelDeleted() 601 mNotificationChannel, NOTIFICATION_CHANNEL_OR_GROUP_UPDATED); in testDoNotUncacheShortcutWhenShutdownIfNotificationChannelCreated()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageInstallerService.java | 111 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()
|