Searched defs:packet (Results 1 - 11 of 11) sorted by relevance

/frameworks/av/media/mtp/
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 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 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 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...]
/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/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/
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/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/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...]
/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...]

Completed in 170 milliseconds