HomeSort by relevance Sort by last modified time
    Searched refs:packet (Results 1 - 25 of 893) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
PacketListener.java 11 void read(String packet);
13 void write(String packet);
  /external/chromium_org/remoting/codec/
audio_encoder_verbatim.cc 17 scoped_ptr<AudioPacket> packet) {
18 DCHECK_EQ(AudioPacket::ENCODING_RAW, packet->encoding());
19 DCHECK_EQ(1, packet->data_size());
20 DCHECK_NE(AudioPacket::SAMPLING_RATE_INVALID, packet->sampling_rate());
21 DCHECK_NE(AudioPacket::BYTES_PER_SAMPLE_INVALID, packet->bytes_per_sample());
22 DCHECK_NE(AudioPacket::CHANNELS_INVALID, packet->channels());
23 return packet.Pass();
audio_decoder_verbatim.cc 19 scoped_ptr<AudioPacket> packet) {
20 // Return a null scoped_ptr if we get a corrupted packet.
21 if ((packet->encoding() != AudioPacket::ENCODING_RAW) ||
22 (packet->data_size() != 1) ||
23 (packet->sampling_rate() == AudioPacket::SAMPLING_RATE_INVALID) ||
24 (packet->bytes_per_sample() != AudioPacket::BYTES_PER_SAMPLE_2) ||
25 (packet->channels() != AudioPacket::CHANNELS_STEREO) ||
26 (packet->data(0).size() %
28 LOG(WARNING) << "Verbatim decoder received an invalid packet.";
31 return packet.Pass()
    [all...]
audio_encoder_speex.cc 52 scoped_ptr<AudioPacket> packet) {
53 DCHECK_EQ(AudioPacket::ENCODING_RAW, packet->encoding());
54 DCHECK_EQ(1, packet->data_size());
55 DCHECK_EQ(AudioPacket::BYTES_PER_SAMPLE_2, packet->bytes_per_sample());
56 DCHECK_NE(AudioPacket::SAMPLING_RATE_INVALID, packet->sampling_rate());
57 DCHECK_EQ(AudioPacket::CHANNELS_STEREO, packet->channels());
60 packet->data(0).size() / packet->bytes_per_sample() / packet->channels();
62 reinterpret_cast<const int16*>(packet->data(0).data())
    [all...]
video_encoder_verbatim.cc 52 scoped_ptr<VideoPacket> packet(new VideoPacket());
53 PrepareUpdateStart(frame, rect, packet.get());
57 uint8* out = GetOutputBuffer(packet.get(), max_packet_size_);
63 if (!packet.get()) {
64 packet.reset(new VideoPacket());
65 out = GetOutputBuffer(packet.get(), max_packet_size_);
87 packet->mutable_data()->resize(filled);
88 packet->set_flags(packet->flags() | VideoPacket::LAST_PACKET);
90 packet->set_capture_time_ms(frame->capture_time_ms())
    [all...]
  /external/smack/src/org/jivesoftware/smack/
PacketInterceptor.java 22 import org.jivesoftware.smack.packet.Packet;
30 * This allows event-style programming -- every time a new packet is found,
31 * the {@link #interceptPacket(Packet)} method will be called.
39 * Process the packet that is about to be sent to the server. The intercepted
40 * packet can be modified by the interceptor.<p>
42 * Interceptors are invoked using the same thread that requested the packet
46 * @param packet the packet to is going to be sent to the server.
48 public void interceptPacket(Packet packet);
    [all...]
PacketListener.java 23 import org.jivesoftware.smack.packet.Packet;
27 * This allows event-style programming -- every time a new packet is found,
28 * the {@link #processPacket(Packet)} method will be called. This is the
38 * Process the next packet sent to this packet listener.<p>
44 * @param packet the packet to process.
46 public void processPacket(Packet packet);
    [all...]
  /external/smack/src/org/jivesoftware/smack/filter/
PacketFilter.java 23 import org.jivesoftware.smack.packet.Packet;
26 * Defines a way to filter packets for particular attributes. Packet filters are
27 * used when constructing packet listeners or collectors -- the filter defines
29 * packet processing.<p>
32 * for more complex packet filtering by using the
39 * // Use an anonymous inner class to define a packet filter that returns
40 * // all packets that have a packet ID of "RS145".
42 * public boolean accept(Packet packet) {
    [all...]
IQTypeFilter.java 22 import org.jivesoftware.smack.packet.IQ;
23 import org.jivesoftware.smack.packet.Packet;
26 * A filter for IQ packet types. Returns true only if the packet is an IQ packet
43 * @see org.jivesoftware.smack.filter.PacketFilter#accept(org.jivesoftware.smack.packet.Packet)
45 public boolean accept(Packet packet) {
    [all...]
MessageTypeFilter.java 23 import org.jivesoftware.smack.packet.Message;
24 import org.jivesoftware.smack.packet.Packet;
29 * @see org.jivesoftware.smack.packet.Message.Type
45 public boolean accept(Packet packet) {
46 if (!(packet instanceof Message)) {
50 return ((Message) packet).getType().equals(this.type);
ThreadFilter.java 23 import org.jivesoftware.smack.packet.Packet;
24 import org.jivesoftware.smack.packet.Message;
47 public boolean accept(Packet packet) {
48 return packet instanceof Message && thread.equals(((Message) packet).getThread());
FromContainsFilter.java 23 import org.jivesoftware.smack.packet.Packet;
37 * @param from the from field value the packet must contain.
46 public boolean accept(Packet packet) {
47 if (packet.getFrom() == null) {
51 return packet.getFrom().toLowerCase().indexOf(from) != -1;
ToContainsFilter.java 23 import org.jivesoftware.smack.packet.Packet;
38 * @param to the to field value the packet must contain.
47 public boolean accept(Packet packet) {
48 if (packet.getTo() == null) {
52 return packet.getTo().toLowerCase().indexOf(to) != -1;
NotFilter.java 23 import org.jivesoftware.smack.packet.Packet;
26 * Implements the logical NOT operation on a packet filter. In other words, packets
47 public boolean accept(Packet packet) {
48 return !filter.accept(packet);
PacketIDFilter.java 23 import org.jivesoftware.smack.packet.Packet;
26 * Filters for packets with a particular packet ID.
35 * Creates a new packet ID filter using the specified packet ID.
37 * @param packetID the packet ID to filter for.
41 throw new IllegalArgumentException("Packet ID cannot be null.");
46 public boolean accept(Packet packet) {
47 return packetID.equals(packet.getPacketID())
    [all...]
FromMatchesFilter.java 23 import org.jivesoftware.smack.packet.Packet;
30 * if the sender of the packet matches the specified resource.
45 * specified address is a full JID then the filter will only match if the sender of the packet
48 * @param address the from field value the packet must match. Could be a full or bare JID.
58 public boolean accept(Packet packet) {
59 if (packet.getFrom() == null) {
63 // Check if the bare JID of the sender of the packet matches the specified JID
64 return packet.getFrom().toLowerCase().startsWith(address)
    [all...]
  /frameworks/av/media/mtp/
MtpObjectInfo.cpp 58 void MtpObjectInfo::read(MtpDataPacket& packet) {
62 mStorageID = packet.getUInt32();
63 mFormat = packet.getUInt16();
64 mProtectionStatus = packet.getUInt16();
65 mCompressedSize = packet.getUInt32();
66 mThumbFormat = packet.getUInt16();
67 mThumbCompressedSize = packet.getUInt32();
68 mThumbPixWidth = packet.getUInt32();
69 mThumbPixHeight = packet.getUInt32();
70 mImagePixWidth = packet.getUInt32()
    [all...]
MtpDeviceInfo.cpp 62 void MtpDeviceInfo::read(MtpDataPacket& packet) {
66 mStandardVersion = packet.getUInt16();
67 mVendorExtensionID = packet.getUInt32();
68 mVendorExtensionVersion = packet.getUInt16();
70 packet.getString(string);
73 mFunctionalCode = packet.getUInt16();
74 mOperations = packet.getAUInt16();
75 mEvents = packet.getAUInt16();
76 mDeviceProperties = packet.getAUInt16();
77 mCaptureFormats = packet.getAUInt16()
    [all...]
MtpStorageInfo.cpp 46 void MtpStorageInfo::read(MtpDataPacket& packet) {
50 mStorageType = packet.getUInt16();
51 mFileSystemType = packet.getUInt16();
52 mAccessCapability = packet.getUInt16();
53 mMaxCapacity = packet.getUInt64();
54 mFreeSpaceBytes = packet.getUInt64();
55 mFreeSpaceObjects = packet.getUInt32();
57 packet.getString(string);
59 packet.getString(string);
  /external/chromium_org/media/filters/
ffmpeg_h264_to_annex_b_bitstream_converter.cc 21 bool FFmpegH264ToAnnexBBitstreamConverter::ConvertPacket(AVPacket* packet) {
25 if (packet == NULL) {
48 converter_.CalculateNeededOutputBufferSize(packet->data, packet->size);
50 return false; // Invalid input packet.
54 // Allocate new packet for the output.
60 // the pointer of the old packet with a new one, we will initially copy the
61 // metadata from old packet to new bigger packet.
62 dest_packet.pts = packet->pts
    [all...]
  /external/android-clat/
ipv4.h 16 * ipv4.h - takes an ipv4 packet and hands it off to the proper translate function
23 int ipv4_packet(clat_packet out, int pos, const char *packet, size_t len);
ipv6.h 16 * ipv6.h - takes an ipv6 packet and hands it off to the proper translate function
23 int ipv6_packet(clat_packet out, int pos, const char *packet, size_t len);
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
lp_scene_queue.c 92 struct scene_packet packet; local
95 packet.scene = NULL;
98 &packet.header,
99 sizeof packet / 4,
104 return packet.scene;
112 struct scene_packet packet; local
114 packet.header.dwords = sizeof packet / 4;
115 packet.header.data24 = 0;
116 packet.scene = scene
    [all...]
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_scene_queue.c 92 struct scene_packet packet; local
95 packet.scene = NULL;
98 &packet.header,
99 sizeof packet / 4,
104 return packet.scene;
112 struct scene_packet packet; local
114 packet.header.dwords = sizeof packet / 4;
115 packet.header.data24 = 0;
116 packet.scene = scene
    [all...]
  /external/ppp/pppd/plugins/rp-pppoe/
debug.c 78 * packet -- a PPPoE packet
83 * Dumps the PPPoE packet to fp in an easy-to-read format
86 dumpPacket(FILE *fp, PPPoEPacket *packet, char const *dir)
88 int len = ntohs(packet->length);
97 UINT16_t type = etherType(packet);
113 switch(packet->code) {
123 (int) ntohs(packet->session),
130 (unsigned) packet->ethHdr.h_source[0],
131 (unsigned) packet->ethHdr.h_source[1]
    [all...]

Completed in 1135 milliseconds

1 2 3 4 5 6 7 8 91011>>