/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
rtp_analyze.cc | 17 #include "webrtc/modules/audio_coding/neteq/tools/packet.h" 107 rtc::scoped_ptr<webrtc::test::Packet> packet; local 109 packet.reset(file_source->NextPacket()); 110 if (!packet.get()) { 114 // Write packet data to file. Use virtual_packet_length_bytes so that the 115 // correct packet sizes are printed also for RTP header-only dumps. 118 packet->header().sequenceNumber, 119 packet->header().timestamp, 120 static_cast<unsigned int>(packet->time_ms()) [all...] |
/external/webrtc/webrtc/modules/remote_bitrate_estimator/tools/ |
bwe_rtp_play.cc | 61 webrtc::test::RtpPacket packet; local 62 if (!rtp_reader->NextPacket(&packet)) { 63 printf("No RTP packet found\n"); 66 first_rtp_time_ms = packet.time_ms; 67 packet.time_ms = packet.time_ms - first_rtp_time_ms; 70 if (!parser->IsRtcp(packet.data, packet.length)) { 72 parser->Parse(packet.data, packet.length, &header) [all...] |
/external/webrtc/webrtc/modules/video_coding/test/ |
stream_generator.cc | 18 #include "webrtc/modules/video_coding/packet.h" 61 VCMPacket packet; local 62 packet.seqNum = sequence_number; 63 packet.timestamp = timestamp; 64 packet.frameType = type; 65 packet.isFirstPacket = first_packet; 66 packet.markerBit = marker_bit; 67 packet.sizeBytes = size; 68 packet.dataPtr = packet_buffer_; 69 if (packet.isFirstPacket [all...] |
/external/webrtc/webrtc/p2p/base/ |
stunserver_unittest.cc | 54 rtc::TestClient::Packet* packet = local 56 if (packet) { 57 rtc::ByteBuffer buf(packet->buf, packet->size); 60 delete packet;
|
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/ |
NativeLlcpConnectionlessSocket.java | 61 LlcpPacket packet = doReceiveFrom(mLinkMiu); local 62 if (packet == null) { 65 return packet;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/netfilter/ |
xt_statistic.h | 29 __u32 packet; member in struct:xt_statistic_info::__anon62683::__anon62685
|
/system/bt/vendor_libs/test_vendor_lib/test/ |
iterator_test.cc | 45 void SetUp() { packet = TestPacket::make_new_packet(complete_l2cap_packet); } 47 void TearDown() { packet.reset(); } 49 std::shared_ptr<TestPacket> packet; member in class:test_vendor_lib::IteratorTest 53 Iterator general_case = packet->get_begin(); 62 Iterator bounds_test = packet->get_end(); 71 Iterator dereference_test = packet->get_end(); 77 Iterator plus_eq = packet->get_begin(); 87 Iterator plus_plus = packet->get_begin(); 96 Iterator plus_plus = packet->get_begin(); 105 Iterator plus = packet->get_begin() [all...] |
/development/samples/ToyVpn/src/com/example/android/toyvpn/ |
ToyVpnConnection.java | 45 /** Maximum packet size is constrained by the MTU, which is given as a signed short. */ 168 // Allocate the buffer for a single packet. 169 ByteBuffer packet = ByteBuffer.allocate(MAX_PACKET_SIZE); local 182 // Read the outgoing packet from the input stream. 183 int length = in.read(packet.array()); 185 // Write the outgoing packet to the tunnel. 186 packet.limit(length); 187 tunnel.write(packet); 188 packet.clear(); 195 // Read the incoming packet from the tunnel 256 ByteBuffer packet = ByteBuffer.allocate(1024); local [all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/socionext/uniphier/ |
uniphier_scp.c | 43 static void uniphier_scp_send_packet(const uint8_t *packet, int packet_len) 54 word |= *packet++ << (8 * i); 66 uint8_t packet[32]; /* long enough */ local 67 uint8_t *p = packet; 86 uniphier_scp_send_packet(packet, p - packet);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/ |
GetValuesTest.java | 130 CommandPacket packet = new CommandPacket( local 134 packet.setNextValueAsReferenceTypeID(classID); 136 packet.setNextValueAsInt(1); 138 packet.setNextValueAsFieldID(fieldID); 139 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 181 CommandPacket packet = new CommandPacket( local 184 packet.setNextValueAsArrayID(arrayID); 185 packet.setNextValueAsInt(firstIndex); 186 packet.setNextValueAsInt(length); 188 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); [all...] |
LengthTest.java | 83 CommandPacket packet = new CommandPacket( local 86 packet.setNextValueAsReferenceTypeID(classID); 87 packet.setNextValueAsInt(1); 88 packet.setNextValueAsFieldID(fieldID); 89 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 100 packet = new CommandPacket( 103 packet.setNextValueAsArrayID(arrayID); 104 reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/ |
SuperClassTest.java | 43 CommandPacket packet = new CommandPacket( local 46 packet.setNextValueAsClassID(classID); 47 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/MultiSession/ |
AttachConnectorTest.java | 59 CommandPacket packet = new CommandPacket( local 62 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
ListenConnectorTest.java | 66 CommandPacket packet = new CommandPacket( local 70 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StringReference/ |
ValueTest.java | 136 CommandPacket packet = new CommandPacket( local 139 packet.setNextValueAsObjectID(stringID); 140 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadGroupReference/ |
ChildrenTest.java | 63 CommandPacket packet; local 72 packet = new CommandPacket( 75 packet.setNextValueAsThreadID(threadID); 76 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 83 packet = new CommandPacket( 86 packet.setNextValueAsThreadID(groupID); 87 reply = debuggeeWrapper.vmMirror.performCommand(packet); 189 CommandPacket packet = new CommandPacket( local 192 packet.setNextValueAsThreadGroupID(groupID); 193 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
CurrentContendedMonitorTest.java | 72 CommandPacket packet = new CommandPacket( local 75 packet.setNextValueAsThreadID(testedThreadID); 77 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 86 packet = new CommandPacket( 89 packet.setNextValueAsObjectID(tobj.objectID); 90 ReplyPacket replyObj = debuggeeWrapper.vmMirror.performCommand(packet); 114 packet = new CommandPacket( 117 packet.setNextValueAsThreadID(testedThreadID); 119 reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
InterruptTest.java | 68 CommandPacket packet = new CommandPacket( local 71 packet.setNextValueAsThreadID(threadID); 74 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
StopTest.java | 75 CommandPacket packet = new CommandPacket( local 78 packet.setNextValueAsReferenceTypeID(classID); 79 packet.setNextValueAsInt(1); 80 packet.setNextValueAsFieldID(fieldID); 81 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 93 packet = new CommandPacket( 96 packet.setNextValueAsThreadID(threadID); 97 packet.setNextValueAsObjectID(fieldValue.getLongValue()); 99 reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
SuspendTest.java | 125 CommandPacket packet = new CommandPacket( local 128 packet.setNextValueAsThreadID(threadID); 129 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 136 packet = new CommandPacket( 139 packet.setNextValueAsReferenceTypeID(threadID); 140 reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VMDebug/ |
VMDebugTest002.java | 65 CommandPacket packet = new CommandPacket( local 68 packet.setNextValueAsInt(type); 69 packet.setNextValueAsInt(0x0); 70 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
AllThreadsTest.java | 61 CommandPacket packet = new CommandPacket( local 65 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 82 packet = new CommandPacket( 85 packet.setNextValueAsReferenceTypeID(threadID); 87 replyName = debuggeeWrapper.vmMirror.performCommand(packet); 119 CommandPacket packet = new CommandPacket( local 123 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 142 packet = new CommandPacket( 145 packet.setNextValueAsReferenceTypeID(threadID); 147 replyName = debuggeeWrapper.vmMirror.performCommand(packet); 192 CommandPacket packet = new CommandPacket( local [all...] |
TopLevelThreadGroupsTest.java | 51 * <BR> - there are no extra data in the reply packet; 59 CommandPacket packet = new CommandPacket( local 62 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 83 CommandPacket packet = new CommandPacket( local 86 packet.setNextValueAsThreadGroupID(rootID); 87 ReplyPacket replyParent = debuggeeWrapper.vmMirror.performCommand(packet); 94 packet = new CommandPacket( 97 packet.setNextValueAsThreadGroupID(rootID); 98 ReplyPacket replyChilds = debuggeeWrapper.vmMirror.performCommand(packet); 108 packet = new CommandPacket [all...] |
/external/oj-libjdwp/src/share/back/ |
debugLoop.c | 48 jdwpPacket packet; member in struct:PacketList 115 * Its a reply packet. 120 * Its a cmd packet. 225 jdwpPacket packet; local 234 rc = transport_receivePacket(&packet); 237 if (rc != 0 || (rc == 0 && packet.type.cmd.len == 0)) { 240 } else if (packet.type.cmd.flags != JDWPTRANSPORT_FLAGS_NONE) { 251 JDWPTRANSPORT_FLAGS_NONE, packet.type.cmd.flags)); 255 cmd = &packet.type.cmd; 263 enqueue(&packet); [all...] |
/external/perfetto/test/ |
end_to_end_shared_memory_fuzzer.cc | 87 auto packet = trace_writer->NewTracePacket(); variable 88 packet->stream_writer_->WriteBytes(data_, size_);
|