Home
last modified time | relevance | path

Searched refs:newChannel (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DChannelsTest.java90 NotificationChannel newChannel = in testInheritFromLegacy_keepsUserLockedLegacySettings() local
93 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() local
103 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() local
113 assertEquals(null, newChannel.getSound()); in testInheritFromLegacy_noLegacyExists()
114 assertEquals("newName", newChannel.getName()); in testInheritFromLegacy_noLegacyExists()
[all …]
/frameworks/base/core/java/android/bluetooth/
DBluetoothServerSocket.java227 /*package*/ void setChannel(int newChannel) { in setChannel() argument
233 if (mSocket.getPort() != newChannel) { in setChannel()
235 + mSocket.getPort() + " requested newChannel: " + newChannel); in setChannel()
238 mChannel = newChannel; in setChannel()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java1435 NotificationChannel newChannel = new NotificationChannel( in testCreateDeletedChannel() local
1437 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() local
1477 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 …]
/frameworks/base/telecomm/java/android/telecom/
DConnection.java934 Channels.newInputStream(Channels.newChannel(mFromInCallFileInputStream))); in RttTextStream()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...