Searched refs:newChannel (Results 1 – 5 of 5) sorted by relevance
90 NotificationChannel newChannel = in testInheritFromLegacy_keepsUserLockedLegacySettings() local93 assertEquals(NotificationManager.IMPORTANCE_NONE, newChannel.getImportance()); in testInheritFromLegacy_keepsUserLockedLegacySettings()94 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, newChannel.getSound()); in testInheritFromLegacy_keepsUserLockedLegacySettings()101 NotificationChannel newChannel = in testInheritFromLegacy_dropsUnlockedLegacySettings() local103 assertEquals(null, newChannel.getSound()); in testInheritFromLegacy_dropsUnlockedLegacySettings()104 assertEquals("newName", newChannel.getName()); in testInheritFromLegacy_dropsUnlockedLegacySettings()106 assertEquals(NotificationManager.IMPORTANCE_HIGH, newChannel.getImportance()); in testInheritFromLegacy_dropsUnlockedLegacySettings()111 NotificationChannel newChannel = in testInheritFromLegacy_noLegacyExists() local113 assertEquals(null, newChannel.getSound()); in testInheritFromLegacy_noLegacyExists()114 assertEquals("newName", newChannel.getName()); in testInheritFromLegacy_noLegacyExists()[all …]
227 /*package*/ void setChannel(int newChannel) { in setChannel() argument233 if (mSocket.getPort() != newChannel) { in setChannel()235 + mSocket.getPort() + " requested newChannel: " + newChannel); in setChannel()238 mChannel = newChannel; in setChannel()
1435 NotificationChannel newChannel = new NotificationChannel( in testCreateDeletedChannel() local1437 newChannel.setVibrationPattern(new long[]{100}); in testCreateDeletedChannel()1439 mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, newChannel, true, false); in testCreateDeletedChannel()1443 mHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, newChannel.getId(), false)); in testCreateDeletedChannel()1475 NotificationChannel newChannel = new NotificationChannel( in testCreateChannel_alreadyExists() local1477 newChannel.setVibrationPattern(new long[]{100}); in testCreateChannel_alreadyExists()1478 newChannel.setAllowBubbles(!channel.canBubble()); in testCreateChannel_alreadyExists()1479 newChannel.setLightColor(Color.BLUE); in testCreateChannel_alreadyExists()1480 newChannel.setSound(Uri.EMPTY, null); in testCreateChannel_alreadyExists()1481 newChannel.setShowBadge(!channel.canShowBadge()); in testCreateChannel_alreadyExists()[all …]
934 Channels.newInputStream(Channels.newChannel(mFromInCallFileInputStream))); in RttTextStream()
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...