Searched refs:packet (Results 1 - 22 of 22) sorted by relevance

/frameworks/av/media/mtp/
H A DMtpObjectInfo.cpp58 void MtpObjectInfo::read(MtpDataPacket& packet) { argument
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
[all...]
H A DMtpDeviceInfo.cpp62 void MtpDeviceInfo::read(MtpDataPacket& packet) { argument
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
[all...]
H A DMtpStorageInfo.cpp46 void MtpStorageInfo::read(MtpDataPacket& packet) { argument
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);
H A DMtpProperty.cpp124 void MtpProperty::read(MtpDataPacket& packet) { argument
125 mCode = packet.getUInt16();
127 mType = packet.getUInt16();
128 mWriteable = (packet.getUInt8() == 1);
140 mDefaultArrayValues = readArrayValues(packet, mDefaultArrayLength);
142 mCurrentArrayValues = readArrayValues(packet, mCurrentArrayLength);
145 readValue(packet, mDefaultValue);
147 readValue(packet, mCurrentValue);
150 mGroupCode = packet.getUInt32();
151 mFormFlag = packet
165 write(MtpDataPacket& packet) argument
410 readValue(MtpDataPacket& packet, MtpPropertyValue& value) argument
463 writeValue(MtpDataPacket& packet, MtpPropertyValue& value) argument
518 readArrayValues(MtpDataPacket& packet, int& length) argument
528 writeArrayValues(MtpDataPacket& packet, MtpPropertyValue* values, int length) argument
[all...]
H A DMtpProperty.h86 void read(MtpDataPacket& packet);
87 void write(MtpDataPacket& packet);
105 void readValue(MtpDataPacket& packet, MtpPropertyValue& value);
106 void writeValue(MtpDataPacket& packet, MtpPropertyValue& value);
107 MtpPropertyValue* readArrayValues(MtpDataPacket& packet, int& length);
108 void writeArrayValues(MtpDataPacket& packet,
H A DMtpStringBuffer.h46 void readFromPacket(MtpDataPacket* packet);
47 void writeToPacket(MtpDataPacket* packet) const;
H A DMtpDeviceInfo.h47 void read(MtpDataPacket& packet);
H A DMtpStorageInfo.h42 void read(MtpDataPacket& packet);
H A DMtpDatabase.h65 MtpDataPacket& packet) = 0;
69 MtpDataPacket& packet) = 0;
72 MtpDataPacket& packet) = 0;
75 MtpDataPacket& packet) = 0;
82 MtpDataPacket& packet) = 0;
H A DMtpStringBuffer.cpp121 void MtpStringBuffer::readFromPacket(MtpDataPacket* packet) { argument
122 int count = packet->getUInt8();
125 uint16_t ch = packet->getUInt16();
142 void MtpStringBuffer::writeToPacket(MtpDataPacket* packet) const {
145 packet->putUInt8(count > 0 ? count + 1 : 0);
164 packet->putUInt16(ch);
168 packet->putUInt16(0);
H A DMtpObjectInfo.h53 void read(MtpDataPacket& packet);
/frameworks/base/core/java/android/net/dhcp/
H A DDhcpPacket.java83 * The maximum length of a packet that can be constructed.
207 * Asks the packet object to signal the next operation in the DHCP
214 * Asks the packet object to create a ByteBuffer serialization of
215 * the packet for transmission.
221 * Allows the concrete class to fill in packet-type-specific details,
222 * typically optional parameters at the end of the packet.
246 * Creates a new L3 packet (including IP header) containing the
247 * DHCP udp packet. This method relies upon the delegated method
248 * finishPacket() to insert the per-packet contents.
265 // if a full IP packet need
521 readIpAddress(ByteBuffer packet) argument
555 decodeFullPacket(ByteBuffer packet, int pktType) argument
811 decodeFullPacket(byte[] packet, int pktType) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp125 MtpDataPacket& packet);
129 MtpDataPacket& packet);
132 MtpDataPacket& packet);
135 MtpDataPacket& packet);
142 MtpDataPacket& packet);
355 MtpDataPacket& packet) {
384 packet.putString(date);
391 packet.putString(date);
397 packet.putInt8(longValue);
400 packet
353 getObjectPropertyValue(MtpObjectHandle handle, MtpObjectProperty property, MtpDataPacket& packet) argument
466 setObjectPropertyValue(MtpObjectHandle handle, MtpObjectProperty property, MtpDataPacket& packet) argument
524 getDevicePropertyValue(MtpDeviceProperty property, MtpDataPacket& packet) argument
590 setDevicePropertyValue(MtpDeviceProperty property, MtpDataPacket& packet) argument
651 getObjectPropertyList(MtpObjectHandle handle, uint32_t format, uint32_t property, int groupCode, int depth, MtpDataPacket& packet) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dpvamrwbdecoder.h139 void mime_unsorting(uint8 packet[],
/frameworks/av/media/libstagefright/
H A DOggExtractor.cpp182 MediaBuffer *packet; local
183 status_t err = mExtractor->mImpl->readNextPacket(&packet);
191 if (packet->meta_data()->findInt64(kKeyTime, &timeUs)) {
198 packet->meta_data()->setInt32(kKeyIsSyncFrame, 1);
200 *out = packet;
374 // XXX what if new page continues packet from last???
489 // this packet, we also stamp every packet in this page
518 // We've just read the entire packet.
535 // fall through, the buffer now contains the start of the packet
588 MediaBuffer *packet; local
[all...]
/frameworks/base/obex/javax/obex/
H A DClientSession.java92 * Write the OBEX CONNECT packet to the server.
111 // check with local max packet size
113 throw new IOException("Packet size exceeds max packet size");
125 * Byte 5&6: Max OBEX packet Length
206 throw new IOException("Packet size exceeds max packet size");
223 * Bytes 2 & 3: packet size
318 throw new IOException("Packet size exceeds max packet size");
336 * An OBEX SETPATH packet to the server:
338 * Byte 2 & 3: packet size
343 byte[] packet
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2TSExtractor.cpp208 uint8_t packet[kTSPacketSize]; local
209 ssize_t n = mDataSource->readAt(mOffset, packet, kTSPacketSize);
216 return mParser->feedTSPacket(packet, kTSPacketSize);
/frameworks/base/core/java/android/net/
H A DDnsPinger.java43 * Performs a simple DNS "ping" by sending a "server status" query packet to the
79 * Async response packet for dns pings.
84 /** An error code for a {@link #DNS_PING_RESULT} packet */
86 /** An error code for a {@link #DNS_PING_RESULT} packet */
166 DatagramPacket packet = new DatagramPacket(buf,
174 newActivePing.socket.send(packet);
193 // Check that ID field matches (we're throwing out the rest of the packet)
200 log("response ID didn't match, ignoring packet");
281 log("Responding to packet " + internalId +
/frameworks/base/services/common_time/
H A Dcommon_time_server.cpp360 // may have RXed a packet at the same time as a config change telling us
634 mBadPktLog.log("Failed to parse %d byte packet from %s.%s",
669 "unknown packet type (%d) from %s",
969 // if the RTT of the packet is significantly larger than the panic
971 // than to take cues from a packet like that.
1000 const MasterAnnouncementPacket* packet,
1002 uint64_t newDeviceID = packet->deviceID;
1003 uint8_t newDevicePrio = packet->devicePriority;
1004 uint64_t newTimelineID = packet->timelineID;
1272 // single time sync packet, the
999 handleMasterAnnouncement( const MasterAnnouncementPacket* packet, const sockaddr_storage& srcAddr) argument
[all...]
H A Dcommon_time_server.h128 bool handleMasterAnnouncement (const MasterAnnouncementPacket* packet,
206 // timestamp captured when a packet is received
/frameworks/av/media/libstagefright/wifi-display/
H A DANetworkSession.cpp314 sp<ABuffer> packet = new ABuffer(packetSize); local
315 memcpy(packet->data(), mInBuffer.c_str() + 2, packetSize);
320 notify->setBuffer("data", packet);
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
H A DSoftVorbis.cpp345 pack.packet = &ref;

Completed in 181 milliseconds