/libcore/luni/src/test/java/libcore/java/nio/channels/ |
OldSocketChannelTest.java | 47 private SocketChannel channel1; field in class:OldSocketChannelTest 57 this.channel1 = SocketChannel.open(); 65 if (null != this.channel1) { 67 this.channel1.close(); 106 assertEquals(13, this.channel1.validOps()); 122 assertEquals(this.channel1.provider(), testMSChannelnotnull.provider()); 124 this.channel1.write(buf); 132 assertTrue(this.channel1.isOpen()); 133 this.channel1.close(); 134 assertFalse(this.channel1.isOpen()) [all...] |
SocketChannelTest.java | 350 try (SocketChannel channel1 = SocketChannel.open(); 362 channel1.connect(localAddr1); 370 channel1.configureBlocking(false); 372 channel1.shutdownInput(); 373 assertEquals(-1, channel1.read(readContent)); 378 try (SocketChannel channel1 = SocketChannel.open(); 391 channel1.shutdownOutput(); 397 channel1.connect(localAddr1); 398 channel1.shutdownOutput(); 401 channel1.write(writeContent) [all...] |
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
NotificationChannelTest.java | 49 NotificationChannel channel1 = NotificationChannel.CREATOR.createFromParcel(parcel); local 50 assertEquals(channel, channel1);
|
NotificationManagerServiceTest.java | 413 final NotificationChannel channel1 = local 418 new ParceledListSlice(Arrays.asList(channel1, channel2))); 485 final NotificationChannel channel1 = local 490 new ParceledListSlice(Arrays.asList(channel1, channel2))); [all...] |
RankingHelperTest.java | 367 NotificationChannel channel1 = local 383 mHelper.createNotificationChannel(PKG, UID, channel1, true, false); 389 ByteArrayOutputStream baos = writeXmlAndPurge(PKG, UID, false, channel1.getId(), 397 assertEquals(channel1, mHelper.getNotificationChannel(PKG, UID, channel1.getId(), false)); 428 NotificationChannel channel1 = local 445 mHelper.createNotificationChannel(PKG, UID, channel1, true, false); 454 ByteArrayOutputStream baos = writeXmlAndPurge(PKG, UID, true, channel1.getId(), 465 assertEquals(channel1, mHelper.getNotificationChannel(PKG, UID, channel1.getId(), false)) 601 NotificationChannel channel1 = local 1304 NotificationChannel channel1 = local 1390 NotificationChannel channel1 = local 1462 NotificationChannel channel1 = local 1476 NotificationChannel channel1 = local 1494 NotificationChannel channel1 = local 1541 NotificationChannel channel1 = local [all...] |
/system/connectivity/wificond/tests/ |
scan_settings_unittest.cpp | 91 ChannelSettings channel, channel1, channel2; local 93 channel1.frequency_ = kFakeFrequency1; 101 scan_settings.channel_settings_ = {channel, channel1, channel2}; 117 ChannelSettings channel, channel1, channel2; local 119 channel1.frequency_ = kFakeFrequency1; 127 scan_settings.channel_settings_ = {channel, channel1, channel2};
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
DatagramChannelTest.java | 66 private DatagramChannel channel1; field in class:DatagramChannelTest 75 channel1 = DatagramChannel.open(); 78 channel1.socket().bind(new InetSocketAddress(Inet6Address.LOOPBACK, 0)); 81 channel1Address = (InetSocketAddress) channel1.socket().getLocalSocketAddress(); 92 IoUtils.closeQuietly(channel1); 112 int val = this.channel1.validOps(); 127 assertEquals(this.channel1.provider(), testMock.provider()); 142 this.channel1.read(readBuf); 157 readres = this.channel1.read(readBuf); 178 this.channel1.read(readBuf) [all...] |
SocketChannelTest.java | 59 private SocketChannel channel1; field in class:SocketChannelTest 73 this.channel1 = SocketChannel.open(); 84 if (null != this.channel1) { 86 this.channel1.close(); 122 assertEquals(13, this.channel1.validOps()); 137 assertNotNull(this.channel1); 138 assertEquals(this.channel1.provider(), testMSChannelnotnull.provider()); 140 this.channel1.write(buf); 160 assertNull(channel1.socket().getLocalSocketAddress()); 162 channel1.socket().bind(null) [all...] |
/cts/tests/app/src/android/app/cts/ |
NotificationChannelTest.java | 69 NotificationChannel channel1 = NotificationChannel.CREATOR.createFromParcel(parcel); local 70 assertEquals(channel, channel1);
|
NotificationManagerTest.java | 370 NotificationChannel channel1 = local 381 mNotificationManager.createNotificationChannel(channel1); 390 compareChannels(channel1, 391 mNotificationManager.getNotificationChannel(channel1.getId())); 397 NotificationChannel channel1 = local 410 channelMap.put(channel1.getId(), channel1); local 414 mNotificationManager.createNotificationChannel(channel1); [all...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowNotificationManagerTest.java | 71 NotificationChannel channel1 = new NotificationChannel("id", "name", 1); local 74 notificationManager.createNotificationChannels(ImmutableList.of(channel1, channel2));
|
/external/webrtc/webrtc/p2p/base/ |
transportcontroller_unittest.cc | 109 FakeTransportChannel* channel1 = CreateChannel("audio", 1); local 110 ASSERT_NE(nullptr, channel1); 123 channel1->SignalCandidateGathered(channel1, CreateCandidate(1)); 125 channel1->SetCandidatesGatheringComplete(); 127 channel1->SetConnectionCount(2); 129 channel1->SetReceiving(true); 131 channel1->SetWritable(true); 133 channel1->SetConnectionCount(1); 201 FakeTransportChannel* channel1 = CreateChannel("audio", 1) local 229 FakeTransportChannel* channel1 = CreateChannel("audio", 1); local 246 FakeTransportChannel* channel1 = CreateChannel("audio", 1); local 279 FakeTransportChannel* channel1 = CreateChannel("audio", 1); local 390 FakeTransportChannel* channel1 = CreateChannel("audio", 1); local 405 FakeTransportChannel* channel1 = CreateChannel("audio", 1); local 427 FakeTransportChannel* channel1 = CreateChannel("audio", 1); local 444 FakeTransportChannel* channel1 = CreateChannel("audio", 1); local 478 FakeTransportChannel* channel1 = CreateChannel("audio", 1); local 519 FakeTransportChannel* channel1 = CreateChannel("audio", 1); local 562 FakeTransportChannel* channel1 = CreateChannel("audio", 1); local 590 FakeTransportChannel* channel1 = CreateChannel("audio", 1); local 630 FakeTransportChannel* channel1 = CreateChannel("audio", 1); local [all...] |
turnserver.cc | 739 Channel* channel1 = FindChannel(channel_id); local 741 if (channel1 != channel2) { 747 if (!channel1) { 748 channel1 = new Channel(thread_, channel_id, peer_attr->GetAddress()); 749 channel1->SignalDestroyed.connect(this, 751 channels_.push_back(channel1); 753 channel1->Refresh();
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
ChannelDataManagerTest.java | 221 Channel channel1 = channelList.get(0); local 222 mChannelDataManager.addChannelListener(channel1.getId(), channelListener); 225 mChannelDataManager.updateBrowsable(channel1.getId(), false, false); 227 assertThat(mChannelDataManager.getBrowsableChannelList()).doesNotContain(channel1); 228 MoreAsserts.assertContentsInAnyOrder(channelListener.updatedChannels, channel1); 238 assertThat(browsableChannelList).doesNotContain(channel1); 253 Channel channel1 = channels.get(0); local 255 mChannelDataManager.addChannelListener(channel1.getId(), channelListener); 259 mChannelDataManager.updateBrowsable(channel1.getId(), false, true); 261 mChannelDataManager.updateBrowsable(channel1.getId(), true, true) [all...] |
/cts/tests/tests/systemui/src/android/systemui/cts/ |
LightBarTests.java | 77 NotificationChannel channel1 = new NotificationChannel(NOTIFICATION_CHANNEL_ID, local 79 mNm.createNotificationChannel(channel1);
|
/external/webrtc/talk/media/sctp/ |
sctpdataengine_unittest.cc | 265 channel1()->SetSend(false); 325 cricket::SctpDataMediaChannel* channel1() { return chan1_.get(); } function in class:SctpDataMediaChannelTest 361 channel1()->SignalReadyToSend.connect(&signal_observer_1, 367 ASSERT_TRUE(SendData(channel1(), 1, "hello?", &result)); 383 ASSERT_TRUE(SendData(channel1(), 1, "hello?", &result)); 420 channel1()->SendData( 432 chan_1_sig_receiver.BindSelf(channel1()); 436 ASSERT_TRUE(SendData(channel1(), 1, "hello?", &result)); 444 channel1()->RemoveSendStream(1); 452 chan_1_sig_receiver.BindSelf(channel1()); [all...] |
/bionic/libc/kernel/uapi/linux/ |
cdrom.h | 99 __u8 channel1; member in struct:cdrom_volctrl
|
/external/kernel-headers/original/uapi/linux/ |
cdrom.h | 200 __u8 channel1; member in struct:cdrom_volctrl
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
cdrom.h | 199 __u8 channel1; member in struct:cdrom_volctrl
|
/external/python/cpython2/Mac/Modules/qt/ |
_Qtmodule.c | 17841 Fixed channel1; local 17867 Fixed channel1; local [all...] |
/external/valgrind/include/vki/ |
vki-linux.h | 1938 __vki_u8 channel1; member in struct:vki_cdrom_volctrl [all...] |