/external/chromium_org/remoting/host/ |
audio_capturer_linux.cc | 72 scoped_ptr<AudioPacket> packet(new AudioPacket()); 73 packet->add_data(data->data()); 74 packet->set_encoding(AudioPacket::ENCODING_RAW); 75 packet->set_sampling_rate(kSamplingRate); 76 packet->set_bytes_per_sample(AudioPacket::BYTES_PER_SAMPLE_2); 77 packet->set_channels(AudioPacket::CHANNELS_STEREO); 78 callback_.Run(packet.Pass());
|
audio_scheduler.cc | 82 void AudioScheduler::EncodeAudioPacket(scoped_ptr<AudioPacket> packet) { 84 DCHECK(packet.get()); 90 audio_encoder_->Encode(packet.Pass()); 92 // The audio encoder returns a NULL audio packet if there's no audio to send. 100 void AudioScheduler::SendAudioPacket(scoped_ptr<AudioPacket> packet) { 102 DCHECK(packet.get()); 107 audio_stub_->ProcessAudioPacket(packet.Pass(), base::Closure());
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
rtpdataengine.cc | 234 talk_base::Buffer* packet, const talk_base::PacketTime& packet_time) { 236 if (!GetRtpHeader(packet->data(), packet->length(), &header)) { 237 // Don't want to log for every corrupt packet. 238 // LOG(LS_WARNING) << "Could not read rtp header from packet of length " 239 // << packet->length() << "."; 244 if (!GetRtpHeaderLen(packet->data(), packet->length(), &header_length)) { 245 // Don't want to log for every corrupt packet. 247 // << length from packet of length 356 talk_base::Buffer packet; local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
mediarecorder_unittest.cc | 75 talk_base::StreamResult ReadPacket(RtpDumpPacket* packet) { 81 return reader_->ReadPacket(packet); 92 // By default, the sink is disabled. The 1st packet is not written. 97 // Enable the sink. The 2nd packet is written. 103 // Disable the sink. The 3rd packet is not written. 108 // Read the recorded file and verify it contains only the 2nd packet. 109 RtpDumpPacket packet; local 110 EXPECT_EQ(talk_base::SR_SUCCESS, ReadPacket(&packet)); 112 &packet, &RtpTestUtility::kTestRawRtpPackets[1], false)); 113 EXPECT_EQ(talk_base::SR_EOS, ReadPacket(&packet)); 130 RtpDumpPacket packet; local 160 RtpDumpPacket packet; local [all...] |
/external/smack/src/org/jivesoftware/smack/filter/ |
AndFilter.java | 23 import org.jivesoftware.smack.packet.Packet; 29 * Implements the logical AND operation over two or more packet filters. 67 * Adds a filter to the filter list for the AND operation. A packet 79 public boolean accept(Packet packet) { 81 if (!filter.accept(packet)) {
|
/external/smack/src/org/jivesoftware/smackx/workgroup/packet/ |
TranscriptSearch.java | 20 package org.jivesoftware.smackx.workgroup.packet;
22 import org.jivesoftware.smack.packet.IQ;
28 * IQ packet for retrieving the transcript search form, submiting the completed search form
36 * Element name of the packet extension.
41 * Namespace of the packet extension.
49 // Add packet extensions, if any are defined.
74 // Parse the packet extension
|
/external/tcpdump/ |
send-ack.awk | 2 # we need the number of bytes in a packet to do the output 3 # in packet numbers rather than byte numbers. 19 # we have a data packet record: 23 # * -> re-sent packet 24 # - -> packet after hole (missing packet(s)) 25 # # -> odd size packet
|
packetdat.awk | 2 # we need to know (usual) packet size to convert byte numbers 3 # to packet numbers 8 # print out per-packet data in the form: 9 # <packet #> 48 # be the ack time of next explicitly acked packet.
|
/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());
|
/external/android-clat/ |
translate.h | 35 // A clat_packet is an array of iovec structures representing a packet that we are translating. 37 // specific parts of the packet. The packet_* functions operate on all the packet segments past a 46 // Calculates the checksum over all the packet components starting from pos. 47 uint16_t packet_checksum(uint32_t checksum, clat_packet packet, int pos); 49 // Returns the total length of the packet components after pos. 50 uint16_t packet_length(clat_packet packet, int pos); 63 void translate_packet(const struct tun_data *tunnel, struct tun_pi *tun_header, const char *packet, 67 int ipv4_packet(clat_packet out, int pos, const char *packet, size_t len); 68 int ipv6_packet(clat_packet out, int pos, const char *packet, size_t len) [all...] |
/external/chromium_org/media/base/ |
media_file_checker.cc | 61 AVPacket packet; 70 result = av_read_frame(glue.format_context(), &packet); 73 result = av_dup_packet(&packet); 78 stream_contexts.find(packet.stream_index); 80 av_free_packet(&packet); 87 // A shallow copy of packet so we can slide packet.data as frames are 89 AVPacket temp_packet = packet; 102 &packet); 104 av_free_packet(&packet); [all...] |
/external/chromium_org/media/cast/net/rtp_sender/packet_storage/ |
packet_storage_unittest.cc | 34 Packet test_123(100, 123); // 100 insertions of the value 123. 46 Packet packet; local 60 Packet test_123(100, 123); // 100 insertions of the value 123. 68 Packet packet; local 80 Packet test_123(100, 123); // 100 insertions of the value 123. 81 Packet test_234(200, 234); // 200 insertions of the value 234. 86 // Every other packet. 98 // Every other packet [all...] |
/external/dropbear/ |
process-packet.c | 26 #include "packet.h" 42 /* process a decrypted packet, call the appropriate handler */ 51 TRACE(("process_packet: packet type = %d", type)) 74 /* This applies for KEX, where the spec says the next packet MUST be 79 dropbear_exit("unexpected packet type %d, expected %d", type, 87 /* Check if we should ignore this packet. Used currently only for 90 TRACE(("Ignoring packet, type = %d", type)) 118 TRACE(("preauth unknown packet")) 130 /* This must be called directly after receiving the unimplemented packet. 131 * Isn't the most clean implementation, it relies on packet processin [all...] |
/external/smack/src/org/jivesoftware/smack/packet/ |
DefaultPacketExtension.java | 21 package org.jivesoftware.smack.packet; 28 * instances of this class will be returned when getting packet extensions.<p> 54 * Creates a new generic packet extension. 65 * Returns the XML element name of the extension sub-packet root element. 67 * @return the XML element name of the packet extension. 74 * Returns the XML namespace of the extension sub-packet root element. 76 * @return the XML namespace of the packet extension. 97 * values of the packet extension. 109 * Returns a packet extension value given a name. 122 * Sets a packet extension value using the given name [all...] |
IQ.java | 21 package org.jivesoftware.smack.packet; 26 * The base IQ (Info/Query) packet. IQ packets are used to get and set information 28 * accounts. Each IQ packet has a specific type that indicates what type of action 33 * type of IQ packet it is. Some example IQ subpacket snippets:<ul> 42 public abstract class IQ extends Packet { 55 * Returns the type of the IQ packet. 57 * @return the type of the IQ packet. 64 * Sets the type of the IQ packet. 66 * @param type the type of the IQ packet. 100 // Add the error sub-packet, if there is one [all...] |
/external/smack/src/org/jivesoftware/smackx/pubsub/packet/ |
PubSub.java | 14 package org.jivesoftware.smackx.pubsub.packet;
16 import org.jivesoftware.smack.packet.IQ;
17 import org.jivesoftware.smack.packet.PacketExtension;
21 * The standard PubSub extension of an {@link IQ} packet. This is the topmost
32 * Returns the XML element name of the extension sub-packet root element.
34 * @return the XML element name of the packet extension.
41 * Returns the XML namespace of the extension sub-packet root element.
48 * @return the XML namespace of the packet extension.
56 * Set the namespace for the packet if it something other than the default
85 * The XML representation will be inside of an iq packet like [all...] |
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
filemediaengine.cc | 87 void OnPacketReceived(talk_base::Buffer* packet); 93 // Read the next RTP dump packet, whose RTP SSRC is the same as first_ssrc_. 95 bool ReadNextPacket(RtpDumpPacket* packet); 96 // Send a RTP packet to the network. The input parameter data points to the 97 // start of the RTP packet and len is the packet size. Return true if the sent 106 // RTP dump packet read from the input stream. 152 void RtpSenderReceiver::OnPacketReceived(talk_base::Buffer* packet) { 154 rtp_dump_writer_->WriteRtpPacket(packet->data(), packet->length()) [all...] |
/external/chromium_org/media/cast/net/pacing/ |
paced_sender.h | 32 virtual bool SendRtcpPacket(const Packet& packet) = 0; 49 virtual bool SendRtcpPacket(const Packet& packet) OVERRIDE; 53 // next packet burst.
|
/external/chromium_org/net/tools/quic/ |
quic_server_test.cc | 27 void MaybeDispatchPacket(const QuicEncryptedPacket& packet) { 29 QuicServer::MaybeDispatchPacket(&dispatcher_, packet, 41 // Packet too short to be considered valid. 46 // We expect the invalid packet to be dropped, and ProcessPacket should never 59 // packet sequence number
|
/external/iproute2/man/man8/ |
tc-choke.8 | 28 Once the queue hits a certain average length, a random packet is drawn from the 29 queue. If both the to-be-queued and the drawn packet belong to the same flow, 31 the new packet has a configurable chance of being marked (which may mean dropped). 34 , the new packet will always be marked (or dropped). 37 , the new packet is always dropped.
|
/external/kernel-headers/original/linux/ |
if_packet.h | 22 /* Packet types */ 33 /* Packet socket options */ 38 /* Value 4 is still used by obsolete turbo-packet. */ 76 - Gap, chosen so that packet data (Start+tp_net) alignes to TPACKET_ALIGNMENT=16 78 - Start+tp_net: Packet data, aligned to TPACKET_ALIGNMENT=16.
|
/external/smack/src/org/jivesoftware/smackx/workgroup/ext/forms/ |
WorkgroupForm.java | 22 import org.jivesoftware.smack.packet.IQ;
30 * Element name of the packet extension.
35 * Namespace of the packet extension.
43 // Add packet extensions, if any are defined.
68 // Parse the packet extension
|
/frameworks/base/core/java/android/net/dhcp/ |
DhcpDiscoverPacket.java | 24 * This class implements the DHCP-DISCOVER packet. 28 * Generates a DISCOVER packet with the specified parameters. 42 * Fills in a packet with the requested DISCOVER parameters. 55 * Adds optional parameters to a DISCOVER packet. 64 * Informs the state machine of the arrival of a DISCOVER packet.
|
DhcpInformPacket.java | 23 * This class implements the (unused) DHCP-INFORM packet. 27 * Generates an INFORM packet with the specified parameters. 41 * Builds an INFORM packet. 53 * Adds additional parameters to the INFORM packet. 67 * Informs the state machine of the arrival of an INFORM packet. Not
|
DhcpNakPacket.java | 24 * This class implements the DHCP-NAK packet. 28 * Generates a NAK packet with the specified parameters. 43 * Fills in a packet with the requested NAK attributes. 57 * Adds the optional parameters to the client-generated NAK packet. 67 * Notifies the specified state machine of the newly-arrived NAK packet.
|