/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/ |
H A D | mt_test_common.cc | 55 // Insert outgoing packet into list 61 // Simulate receive time = network delay + packet jitter 77 RtpPacket* packet = NULL; local 83 // Take first packet in list 84 packet = _rtpPackets.front(); 85 int64_t timeToReceive = packet->receiveTime - now; 96 if (!parser->Parse(packet->data, packet->length, &header)) { 97 delete packet; 105 if (!rtp_receiver_->IncomingRtpPacket(header, packet [all...] |
/external/chromium_org/media/cast/net/rtp/ |
H A D | rtp_packetizer.cc | 59 PacketRef packet(new base::RefCountedData<Packet>); 66 &packet->data, remaining_size == 0, frame.rtp_timestamp); 79 packet->data.push_back(byte0); 80 packet->data.push_back(static_cast<uint8>(frame.frame_id)); 81 size_t start_size = packet->data.size(); 82 packet->data.resize(start_size + 4); 84 reinterpret_cast<char*>(&(packet->data[start_size])), 4); 87 packet->data.push_back(static_cast<uint8>(frame.referenced_frame_id)); 89 packet->data.push_back(kCastRtpExtensionAdaptiveLatency << 2); 90 packet 124 BuildCommonRTPheader(Packet* packet, bool marker_bit, uint32 time_stamp) argument [all...] |
/external/chromium_org/remoting/protocol/ |
H A D | host_video_dispatcher.cc | 28 void HostVideoDispatcher::ProcessVideoPacket(scoped_ptr<VideoPacket> packet, argument 30 writer_.Write(SerializeAndFrameMessage(*packet), done);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_ringbuffer.h | 22 const struct util_packet *packet ); 25 struct util_packet *packet,
|
/external/chromium_org/third_party/webrtc/test/ |
H A D | null_transport.h | 22 virtual bool SendRtp(const uint8_t* packet, size_t length) OVERRIDE; 23 virtual bool SendRtcp(const uint8_t* packet, size_t length) OVERRIDE;
|
H A D | fake_network_pipe.cc | 65 // The packet data. 69 // The time the packet was sent out on the network. 71 // The time the packet should arrive at the reciver. 114 // Too many packet on the link, drop this one. 133 NetworkPacket* packet = new NetworkPacket(data, data_length, time_now, local 135 capacity_link_.push(packet); 163 // Time to get this packet. 164 NetworkPacket* packet = capacity_link_.front(); local 169 delete packet; 174 // earlier than the last packet i 193 NetworkPacket* packet = delay_link_.front(); local 204 NetworkPacket* packet = packets_to_deliver.front(); local [all...] |
/external/chromium_org/third_party/webrtc/ |
H A D | transport.h | 23 virtual bool SendRtp(const uint8_t* packet, size_t length) = 0; 24 virtual bool SendRtcp(const uint8_t* packet, size_t length) = 0;
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_ringbuffer.h | 22 const struct util_packet *packet ); 25 struct util_packet *packet,
|
/external/smack/src/org/jivesoftware/smackx/ping/packet/ |
H A D | Pong.java | 17 package org.jivesoftware.smackx.ping.packet; 19 import org.jivesoftware.smack.packet.IQ; 24 * Composes a Pong packet from a received ping packet. This basically swaps
|
/external/smack/src/org/jivesoftware/smackx/pubsub/ |
H A D | EmbeddedPacketExtension.java | 18 import org.jivesoftware.smack.packet.Packet;
19 import org.jivesoftware.smack.packet.PacketExtension;
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/ |
H A D | InvokeMethodTest.java | 60 CommandPacket packet = new CommandPacket( 63 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); 64 packet.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); 65 packet.setNextValueAsInt(1); 66 packet.setNextValueAsByte((byte) 5); 67 packet.setNextValueAsString("*.InvokeMethodDebuggee"); 70 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 107 CommandPacket packet = new CommandPacket( 110 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); 111 packet [all...] |
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
H A D | producer_fec_unittest.cc | 24 RedPacket* packet, 26 EXPECT_GT(packet->length(), static_cast<int>(kRtpHeaderSize)); 27 EXPECT_TRUE(packet->data() != NULL); 28 uint8_t* data = packet->data(); 68 producer_->SetFecParameters(¶ms, 0); // Expecting one FEC packet. 80 RedPacket* packet = producer_->GetFecPacket(kRedPayloadType, local 85 ASSERT_TRUE(packet != NULL); 87 kRedPayloadType, kFecPayloadType, packet, false); 92 delete packet; 108 producer_->SetFecParameters(¶ms, 0); // Expecting one FEC packet 20 VerifyHeader(uint16_t seq_num, uint32_t timestamp, int red_pltype, int fec_pltype, RedPacket* packet, bool marker_bit) argument 123 RedPacket* packet = producer_->GetFecPacket(kRedPayloadType, local 140 RtpPacket* packet = generator_->NextPacket(0, 10); local [all...] |
/external/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunicationServer.cpp | 67 // StringExtractorGDBRemote packet; 71 // if (packet. 87 StringExtractorGDBRemote packet; local 88 if (WaitForPacketWithTimeoutMicroSecondsNoLock (packet, timeout_usec)) 90 const StringExtractorGDBRemote::ServerPacketType packet_type = packet.GetServerPacketType (); 98 error.SetErrorString("invalid packet"); 108 return SendUnimplementedResponse (packet.GetStringRef().c_str()) > 0; 111 return Handle_A (packet); 114 return Handle_qfProcessInfo (packet); 117 return Handle_qsProcessInfo (packet); 187 char packet[16]; local [all...] |
/external/ppp/pppd/plugins/rp-pppoe/ |
H A D | common.c | 36 * packet -- the PPPoE discovery packet to parse 37 * func -- function called for each tag in the packet 42 * Parses a PPPoE discovery packet, calling "func" for each tag in the packet. 46 parsePacket(PPPoEPacket *packet, ParseFunc *func, void *extra) argument 48 UINT16_t len = ntohs(packet->length); 52 if (packet->ver != 1) { 53 syslog(LOG_ERR, "Invalid PPPoE version (%d)", (int) packet->ver); 56 if (packet 101 findTag(PPPoEPacket *packet, UINT16_t type, PPPoETag *tag) argument 243 clampMSS(PPPoEPacket *packet, char const *dir, int clampMss) argument 398 PPPoEPacket packet; local [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/ |
H A D | SetValuesTest.java | 57 CommandPacket packet = new CommandPacket( 60 packet.setNextValueAsReferenceTypeID(classID); 61 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 100 CommandPacket packet = new CommandPacket( 103 packet.setNextValueAsReferenceTypeID(classID); 104 packet.setNextValueAsInt(1); 105 packet.setNextValueAsFieldID(fieldID); 107 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 122 CommandPacket packet = new CommandPacket( 125 packet [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/ |
H A D | InvokeMethod003Test.java | 57 CommandPacket packet = new CommandPacket( 60 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); 61 packet.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); 62 packet.setNextValueAsInt(1); 63 packet.setNextValueAsByte((byte) 4); // class-only modifier. 64 packet.setNextValueAsReferenceTypeID(debuggeeTypeID); 65 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 96 packet = new CommandPacket( 99 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); 100 packet [all...] |
H A D | NewInstance002Test.java | 58 CommandPacket packet = new CommandPacket( 61 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); 62 packet.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); 63 packet.setNextValueAsInt(1); 64 packet.setNextValueAsByte((byte) 4); // class-only modifier. 65 packet.setNextValueAsReferenceTypeID(debuggeeTypeID); 66 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 97 packet = new CommandPacket( 100 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); 101 packet [all...] |
H A D | InvokeMethodTest.java | 66 CommandPacket packet = new CommandPacket( 70 packet.setNextValueAsString(classSig); 71 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 91 packet = new CommandPacket( 94 packet.setNextValueAsClassID(typeID); 95 reply = debuggeeWrapper.vmMirror.performCommand(packet); 115 packet = new CommandPacket( 118 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); 119 packet.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); 120 packet [all...] |
/external/smack/src/org/jivesoftware/smack/ |
H A D | PacketWriter.java | 23 import org.jivesoftware.smack.packet.Packet; 50 * Creates a new packet writer with the specified connection. 78 * Sends the specified packet to the server. 80 * @param packet the packet to send. 82 public void sendPacket(Packet packet) { argument 84 // Invoke interceptors for the new packet that is about to be sent. Interceptors 85 // may modify the content of the packet. 86 connection.firePacketInterceptors(packet); 89 queue.put(packet); [all...] |
/external/chromium_org/ui/events/gesture_detection/ |
H A D | touch_disposition_gesture_filter.cc | 21 const GestureEventDataPacket& packet) { 27 packet.timestamp(), 28 packet.touch_location().x(), 29 packet.touch_location().y(), 30 packet.raw_touch_location().x(), 31 packet.raw_touch_location().y(), 33 gfx::RectF(packet.touch_location(), gfx::SizeF()), 150 const GestureEventDataPacket& packet) { 151 if (packet.gesture_source() == GestureEventDataPacket::UNDEFINED || 152 packet 18 CreateGesture(EventType type, int motion_event_id, MotionEvent::ToolType primary_tool_type, const GestureEventDataPacket& packet) argument 149 OnGesturePacket( const GestureEventDataPacket& packet) argument 205 const GestureEventDataPacket packet = sequence.front(); local 216 FilterAndSendPacket( const GestureEventDataPacket& packet) argument [all...] |
/external/qemu/android/ |
H A D | sdk-controller-socket.c | 58 /* The packet is a message. */ 60 /* The packet is a query. */ 62 /* The packet is a response to a query. */ 107 /* Data packet descriptor. 110 * header, with packet data immediately following this header. 115 /* Total size of the data to transfer with this packet, including this 118 /* Encodes packet type. See SDKCTL_PACKET_XXX for the list of packet types 126 * When packet descriptors are allocated by this API, they are allocated large 127 * enough to contain this header, and packet dat 166 SDKCtlPacketHeader* packet; member in struct:SDKCtlDirectPacket 186 SDKCtlPacketHeader packet; member in struct:SDKCtlQueryHeader 247 SDKCtlPacketHeader packet; member in struct:SDKCtlQueryReplyHeader 264 SDKCtlPacketHeader packet; member in struct:SDKCtlMessageHeader 276 SDKCtlPacket packet; member in struct:SDKCtlMessage 325 SDKCtlPacket* packet; member in struct:SDKCtlIODispatcher 624 SDKCtlPacket* const packet = local 644 _sdkctl_packet_free(SDKCtlPacket* packet) argument 659 _sdkctl_packet_reference(SDKCtlPacket* packet) argument 668 _sdkctl_packet_release(SDKCtlPacket* packet) argument 691 SDKCtlPacket* const packet = (SDKCtlPacket*)io_opaque; local 735 _sdkctl_packet_transmit(SDKCtlPacket* packet) argument 757 SDKCtlDirectPacket* const packet = local 773 _sdkctl_direct_packet_free(SDKCtlDirectPacket* packet) argument 788 sdkctl_direct_packet_reference(SDKCtlDirectPacket* packet) argument 797 sdkctl_direct_packet_release(SDKCtlDirectPacket* packet) argument 821 SDKCtlDirectPacket* const packet = (SDKCtlDirectPacket*)io_opaque; local 864 sdkctl_direct_packet_send(SDKCtlDirectPacket* packet, void* data, on_sdkctl_direct_cb cb, void* cb_opaque) argument 1300 _on_sdkctl_packet_received(SDKCtlSocket* sdkctl, SDKCtlPacket* packet) argument 1512 SDKCtlPacket* const packet = dispatcher->packet; local [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
H A D | packet_buffer.cc | 12 // an STL list. The list is kept sorted at all times so that the next packet to 25 // Operator() returns true when |packet| goes before |new_packet|. 31 bool operator()(Packet* packet) { argument 32 return (*new_packet_ >= *packet); 52 int PacketBuffer::InsertPacket(Packet* packet) { argument 53 if (!packet || !packet->payload) { 54 if (packet) { 55 delete packet; 68 // Get an iterator pointing to the place in the buffer where the new packet 85 Packet* packet = packet_list->front(); local 162 Packet* packet = buffer_.front(); local 213 Packet* packet = (*it); local [all...] |
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/tools/ |
H A D | rtp_to_text.cc | 28 " -t is an optional flag, if set only packet arrival time will be" 46 webrtc::test::RtpFileReader::Packet packet; local 47 while (rtp_reader->NextPacket(&packet)) { 49 parser->Parse(packet.data, packet.length, &header); 56 ss << static_cast<int64_t>(packet.time_ms) * 1000000; 65 packet.time_ms, 68 static_cast<int>(packet.length));
|
/external/smack/src/org/jivesoftware/smackx/pubsub/packet/ |
H A D | SyncPacketSend.java | 14 package org.jivesoftware.smackx.pubsub.packet;
22 import org.jivesoftware.smack.packet.Packet;
26 * methods for sending a packet to the server and waiting for the reply.
35 static public Packet getReply(Connection connection, Packet packet, long timeout)
argument 38 PacketFilter responseFilter = new PacketIDFilter(packet.getPacketID());
41 connection.sendPacket(packet);
58 static public Packet getReply(Connection connection, Packet packet)
argument 61 return getReply(connection, packet, SmackConfiguration.getPacketReplyTimeout());
|
/external/chromium_org/remoting/codec/ |
H A D | video_encoder_helper.cc | 25 scoped_ptr<VideoPacket> packet(new VideoPacket()); 31 VideoPacketFormat* format = packet->mutable_format(); 40 Rect* dirty_rect = packet->add_dirty_rects(); 49 packet->set_use_desktop_shape(true); 52 Rect* rect = packet->add_desktop_shape_rects(); 61 packet->set_capture_time_ms(frame.capture_time_ms()); 63 packet->mutable_format()->set_x_dpi(frame.dpi().x()); 64 packet->mutable_format()->set_y_dpi(frame.dpi().y()); 67 return packet.Pass();
|