/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
rtpcat.cc | 40 webrtc::test::RtpPacket packet; local 41 while (input->NextPacket(&packet)) 42 RTC_CHECK(output->WritePacket(&packet));
|
constant_pcm_packet_source.cc | 17 #include "webrtc/modules/audio_coding/neteq/tools/packet.h" 38 Packet* ConstantPcmPacketSource::NextPacket() { 41 // Fill the payload part of the packet memory with the pre-encoded value. 45 // |packet| assumes ownership of |packet_memory|. 46 Packet* packet = local 47 new Packet(packet_memory, packet_len_bytes_, next_arrival_time_ms_); 49 return packet;
|
/external/deqp/framework/referencerenderer/ |
rrPrimitivePacket.cpp | 21 * \brief Primitive packet 40 VertexPacket* packet; local 48 packet = m_vpalloc.alloc(); 50 packet->position = position; 51 packet->pointSize = pointSize; 52 packet->primitiveID = primitiveID; 55 packet->outputs[ndx] = varyings[ndx]; 57 m_emitted.push_back(packet);
|
/external/webrtc/webrtc/modules/audio_coding/neteq/test/ |
rtp_to_text.cc | 42 NETEQTEST_RTPpacket* packet; local 53 packet = new NETEQTEST_DummyRTPpacket; 58 packet = new NETEQTEST_RTPpacket; 105 while (packet->readFromFile(inFile) >= 0) 107 // write packet headers to 108 DataLog::InsertCell(table_name, "seq", packet->sequenceNumber()); 109 DataLog::InsertCell(table_name, "ssrc", packet->SSRC()); 110 DataLog::InsertCell(table_name, "payload type", packet->payloadType()); 111 DataLog::InsertCell(table_name, "length", packet->dataLen()); 112 DataLog::InsertCell(table_name, "timestamp", packet->timeStamp()) [all...] |
/external/webrtc/webrtc/modules/remote_bitrate_estimator/tools/ |
rtp_to_text.cc | 36 webrtc::test::RtpPacket packet; local 37 while (rtp_reader->NextPacket(&packet)) { 39 parser->Parse(packet.data, packet.length, &header); 46 ss << static_cast<int64_t>(packet.time_ms) * 1000000; 55 packet.time_ms, 58 packet.length, 59 packet.original_length);
|
/external/webrtc/webrtc/modules/video_coding/ |
decoding_state_unittest.cc | 18 #include "webrtc/modules/video_coding/packet.h" 34 VCMPacket packet; local 35 packet.isFirstPacket = true; 36 packet.timestamp = 1; 37 packet.seqNum = 0xffff; 38 packet.frameType = kVideoFrameDelta; 39 packet.codecSpecificHeader.codec = kRtpVideoVp8; 40 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 0x007F; 44 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 48 packet.frameType = kVideoFrameKey 166 VCMPacket packet; local 212 VCMPacket packet; local 365 VCMPacket packet; local 400 VCMPacket packet; local 419 VCMPacket packet; local 452 VCMPacket packet; local 495 VCMPacket packet; local 550 VCMPacket packet; local [all...] |
/external/webrtc/webrtc/test/ |
rtcp_packet_parser.cc | 25 const uint8_t* packet = static_cast<const uint8_t*>(data); local 26 RTCPUtility::RTCPParserV2 parser(packet, len, true); 32 sender_report_.Set(parser.Packet().SR); 35 receiver_report_.Set(parser.Packet().RR); 38 report_block_.Set(parser.Packet().ReportBlockItem); 39 ++report_blocks_per_ssrc_[parser.Packet().ReportBlockItem.SSRC]; 45 sdes_chunk_.Set(parser.Packet().CName); 48 bye_.Set(parser.Packet().BYE); 51 app_.Set(parser.Packet().APP); 54 app_item_.Set(parser.Packet().APP) [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Method/ |
BytecodesTest.java | 61 CommandPacket packet = new CommandPacket( local 64 packet.setNextValueAsClassID(classID); 65 packet.setNextValueAsMethodID(methodsInfo[i].getMethodID()); 66 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
VariableTableTest.java | 60 CommandPacket packet = new CommandPacket( local 63 packet.setNextValueAsClassID(classID); 64 packet.setNextValueAsMethodID(methodsInfo[i].getMethodID()); 65 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
VariableTableWithGenericTest.java | 61 CommandPacket packet = new CommandPacket( local 64 packet.setNextValueAsClassID(classID); 65 packet.setNextValueAsMethodID(methodsInfo[i].getMethodID()); 66 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/ |
SetValuesTest.java | 66 CommandPacket packet = new CommandPacket(StackFrameCommandSet.CommandSetID, local 68 packet.setNextValueAsThreadID(invalidThreadID); 69 packet.setNextValueAsFrameID(0); 70 packet.setNextValueAsInt(0); 71 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.performCommand(packet); 86 CommandPacket packet = new CommandPacket(StackFrameCommandSet.CommandSetID, local 88 packet.setNextValueAsThreadID(threadID); 89 packet.setNextValueAsFrameID(0); 90 packet.setNextValueAsInt(0); 91 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.performCommand(packet); 111 CommandPacket packet = new CommandPacket(StackFrameCommandSet.CommandSetID, local 154 CommandPacket packet = new CommandPacket(StackFrameCommandSet.CommandSetID, local 198 CommandPacket packet = new CommandPacket( local [all...] |
ThisObjectTest.java | 122 CommandPacket packet = new CommandPacket( local 125 packet.setNextValueAsThreadID(mainThread); 126 packet.setNextValueAsLong(frameIDs[i].getFrameID()); 128 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
/frameworks/base/services/tests/servicestests/src/android/net/ |
IpUtilsTest.java | 54 // out = " ByteBuffer packet = ByteBuffer.wrap(new byte[] {\n " 65 // packet = (scapy.IPv6(src="2001:db8::1", dst="2001:db8::2") / 68 // print JavaPacketDefinition(str(packet)) 72 // packet = (scapy.IPv6(src="2001:db8::1", dst="2001:db8::2", tc=0x80) / 77 ByteBuffer packet = ByteBuffer.wrap(new byte[] { local 98 // Check that a valid packet has checksum 0. 99 int transportLen = packet.limit() - IPV6_HEADER_LENGTH; 100 assertEquals(0, IpUtils.tcpChecksum(packet, 0, IPV6_HEADER_LENGTH, transportLen)); 104 int sum = getUnsignedByte(packet, sumOffset) * 256 + getUnsignedByte(packet, sumOffset + 1) 123 ByteBuffer packet = ByteBuffer.wrap(new byte[] { local [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassObjectReference/ |
AbstractReflectedTypeTestCase.java | 48 CommandPacket packet = new CommandPacket( local 51 packet.setNextValueAsString(array[i].typeSignature); 52 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 75 packet = new CommandPacket( 78 packet.setNextValueAsReferenceTypeID(typeInitID); 79 ReplyPacket reply2 = debuggeeWrapper.vmMirror.performCommand(packet); 103 packet = new CommandPacket( 106 packet.setNextValueAsReferenceTypeID(typeInitID); 107 reply = debuggeeWrapper.vmMirror.performCommand(packet); 117 packet = new CommandPacket [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldDatagramPacketTest.java | 35 DatagramPacket packet = new DatagramPacket(new byte[256], 256); 37 ss.receive(packet); 38 ss.send(packet); 49 DatagramPacket packet = new DatagramPacket(bytes, 6, InetAddress.getByName("localhost"), ss.getLocalPort()); local 50 cs.send(packet); 52 cs.receive(packet); 54 assertEquals(packet.getPort(), ss.getLocalPort());
|
/bionic/libc/kernel/uapi/linux/ |
pg.h | 30 char packet[12]; member in struct:pg_write_hdr
|
/development/ndk/platforms/android-21/include/linux/ |
pg.h | 30 char packet[12]; member in struct:pg_write_hdr
|
/device/google/contexthub/util/nanotool/ |
apptohostevent.cpp | 95 const HostHubRawPacket *packet = GetTypedData(); local 96 if (!packet) { 103 + packet->dataLen)) {
|
/external/android-clat/ |
ring.c | 16 * ring.c - packet ring buffer functions 35 logmsg(ANDROID_LOG_FATAL, "packet socket failed: %s", strerror(errno)); 87 * advances to the next position in the packet ring 88 * ring - packet ring buffer 113 * reads a packet from the ring buffer and translates it 114 * read_fd - file descriptor to read original packet from 115 * write_fd - file descriptor to write translated packet to 116 * to_ipv6 - whether the packet is to be translated to ipv6 or ipv4 121 uint8_t *packet = ((uint8_t *) tp) + tp->tp_net; local 122 translate_packet(write_fd, to_ipv6, packet, tp->tp_len) [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/DebuggerOnDemand/ |
OnthrowLaunchDebugger001.java | 46 CommandPacket packet = new CommandPacket( local 50 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
CapabilitiesNewTest.java | 84 * there are no extra data in the reply packet; 89 CommandPacket packet = new CommandPacket( local 93 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
CapabilitiesTest.java | 49 * there are no extra data in the reply packet; 54 CommandPacket packet = new CommandPacket( local 59 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
CreateStringTest.java | 56 CommandPacket packet = new CommandPacket( local 59 packet.setNextValueAsString(CHECKED_STRING); 62 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 67 packet = new CommandPacket( 70 packet.setNextValueAsObjectID(stringID); 73 reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
DisposeObjectsTest.java | 62 CommandPacket packet = new CommandPacket( local 65 packet.setNextValueAsString(CHECKED_STRING); 67 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 74 packet = new CommandPacket( 77 packet.setNextValueAsInt(1); 78 packet.setNextValueAsObjectID(stringID); 79 packet.setNextValueAsInt(0); 80 reply = debuggeeWrapper.vmMirror.performCommand(packet); 86 packet = new CommandPacket( 89 packet.setNextValueAsObjectID(stringID) [all...] |
DisposeTest.java | 55 CommandPacket packet = new CommandPacket( local 60 debuggeeWrapper.vmMirror.performCommand(packet); 66 packet = new CommandPacket( 70 debuggeeWrapper.vmMirror.performCommand(packet);
|