Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DChannelsTest.java93 NotificationChannel newChannel = in testInheritFromLegacy_keepsUserLockedLegacySettings() local
96 assertEquals(NotificationManager.IMPORTANCE_NONE, newChannel.getImportance()); in testInheritFromLegacy_keepsUserLockedLegacySettings()
97 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, newChannel.getSound()); in testInheritFromLegacy_keepsUserLockedLegacySettings()
104 NotificationChannel newChannel = in testInheritFromLegacy_dropsUnlockedLegacySettings() local
106 assertEquals(Uri.EMPTY, newChannel.getSound()); in testInheritFromLegacy_dropsUnlockedLegacySettings()
107 assertEquals("newName", newChannel.getName()); in testInheritFromLegacy_dropsUnlockedLegacySettings()
109 assertEquals(NotificationManager.IMPORTANCE_HIGH, newChannel.getImportance()); in testInheritFromLegacy_dropsUnlockedLegacySettings()
114 NotificationChannel newChannel = in testInheritFromLegacy_noLegacyExists() local
116 assertEquals(Uri.EMPTY, newChannel.getSound()); in testInheritFromLegacy_noLegacyExists()
117 assertEquals("newName", newChannel.getName()); in testInheritFromLegacy_noLegacyExists()
[all …]
/frameworks/base/core/java/android/bluetooth/
DBluetoothServerSocket.java219 /*package*/ void setChannel(int newChannel) { in setChannel() argument
225 if (mSocket.getPort() != newChannel) { in setChannel()
227 + mSocket.getPort() + " requested newChannel: " + newChannel); in setChannel()
230 mChannel = newChannel; in setChannel()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRankingHelperTest.java1240 NotificationChannel newChannel = new NotificationChannel( in testCreateDeletedChannel() local
1242 newChannel.setVibrationPattern(new long[]{100}); in testCreateDeletedChannel()
1244 mHelper.createNotificationChannel(PKG, UID, newChannel, true, false); in testCreateDeletedChannel()
1248 mHelper.getNotificationChannel(PKG, UID, newChannel.getId(), false)); in testCreateDeletedChannel()
1280 NotificationChannel newChannel = new NotificationChannel( in testCreateChannel_alreadyExists() local
1282 newChannel.setVibrationPattern(new long[]{100}); in testCreateChannel_alreadyExists()
1284 mHelper.createNotificationChannel(PKG, UID, newChannel, true, false); in testCreateChannel_alreadyExists()
1288 mHelper.getNotificationChannel(PKG, UID, newChannel.getId(), false)); in testCreateChannel_alreadyExists()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt43825 method public static java.nio.channels.ReadableByteChannel newChannel(java.io.InputStream);
43826 method public static java.nio.channels.WritableByteChannel newChannel(java.io.OutputStream);
/frameworks/base/config/
Dhiddenapi-public-dex.txt60984 Ljava/nio/channels/Channels;->newChannel(Ljava/io/InputStream;)Ljava/nio/channels/ReadableByteChann…
60985 Ljava/nio/channels/Channels;->newChannel(Ljava/io/OutputStream;)Ljava/nio/channels/WritableByteChan…
Dboot-image-profile.txt11215 HPLjava/nio/channels/Channels;->newChannel(Ljava/io/InputStream;)Ljava/nio/channels/ReadableByteCha…
46834 HSPLjava/nio/channels/Channels;->newChannel(Ljava/io/OutputStream;)Ljava/nio/channels/WritableByteC…
/frameworks/base/api/
Dcurrent.txt59589 method public static java.nio.channels.ReadableByteChannel newChannel(java.io.InputStream);
59590 method public static java.nio.channels.WritableByteChannel newChannel(java.io.OutputStream);