Home
last modified time | relevance | path

Searched defs:packet (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/tests/net/java/android/net/util/
DConnectivityPacketSummaryTest.java43 final String packet = in testParseICMPv6DADProbe() local
64 final String packet = in testParseICMPv6RS() local
85 final String packet = in testParseICMPv6RA() local
117 final String packet = in testParseICMPv6NS() local
139 final String packet = in testInvalidICMPv6NDLength() local
163 final String packet = in testParseICMPv6NA() local
183 final String packet = in testParseARPRequest() local
201 final String packet = in testParseARPReply() local
221 final String packet = in testParseDHCPv4Discover() local
266 final String packet = in testParseDHCPv4Offer() local
[all …]
DIpUtilsTest.java77 ByteBuffer packet = ByteBuffer.wrap(new byte[] { in testIpv6TcpChecksum() local
123 ByteBuffer packet = ByteBuffer.wrap(new byte[] { in testIpv4UdpChecksum() local
/frameworks/base/tests/net/java/android/net/dhcp/
DDhcpPacketTest.java125 ByteBuffer packet = new TestDhcpPacket(DHCP_MESSAGE_TYPE_OFFER) in assertDomainAndVendorInfoParses() local
170 ByteBuffer packet = testPacket.build(); in assertLeaseTimeParses() local
223 ByteBuffer packet = new TestDhcpPacket(type, clientIp, yourIp) in checkIpAddress() local
286 final ByteBuffer packet = ByteBuffer.wrap(HexDump.hexStringToByteArray( in testOffer1() local
316 final ByteBuffer packet = ByteBuffer.wrap(HexDump.hexStringToByteArray( in testOffer2() local
537 private void checkMtu(ByteBuffer packet, int expectedMtu, byte[] mtuBytes) throws Exception { in checkMtu()
552 final ByteBuffer packet = ByteBuffer.wrap(HexDump.hexStringToByteArray( in testMtu() local
588 final ByteBuffer packet = ByteBuffer.wrap(HexDump.hexStringToByteArray( in testBadHwaddrLength() local
664 final ByteBuffer packet = ByteBuffer.wrap(HexDump.hexStringToByteArray( in testPadAndOverloadedOptionsOffer() local
696 final ByteBuffer packet = ByteBuffer.wrap(HexDump.hexStringToByteArray( in testBug2111() local
[all …]
/frameworks/av/media/mtp/
DMtpProperty.cpp126 bool MtpProperty::read(MtpDataPacket& packet) { in read()
178 void MtpProperty::write(MtpDataPacket& packet) { in write()
239 void MtpProperty::setCurrentValue(MtpDataPacket& packet) { in setCurrentValue()
429 bool MtpProperty::readValue(MtpDataPacket& packet, MtpPropertyValue& value) { in readValue()
484 void MtpProperty::writeValue(MtpDataPacket& packet, MtpPropertyValue& value) { in writeValue()
539 MtpPropertyValue* MtpProperty::readArrayValues(MtpDataPacket& packet, uint32_t& length) { in readArrayValues()
559 void MtpProperty::writeArrayValues(MtpDataPacket& packet, MtpPropertyValue* values, uint32_t length… in writeArrayValues()
DMtpDeviceInfo.cpp62 bool MtpDeviceInfo::read(MtpDataPacket& packet) { in read()
DMtpStorageInfo.cpp48 bool MtpStorageInfo::read(MtpDataPacket& packet) { in read()
DMtpObjectInfo.cpp58 bool MtpObjectInfo::read(MtpDataPacket& packet) { in read()
DMtpStringBuffer.cpp126 bool MtpStringBuffer::readFromPacket(MtpDataPacket* packet) { in readFromPacket()
/frameworks/base/tests/net/java/android/net/apf/
DApfTest.java105 private void assertVerdict(int expected, byte[] program, byte[] packet, int filterAge) { in assertVerdict()
109 private void assertVerdict(int expected, byte[] program, byte[] packet) { in assertVerdict()
113 private void assertPass(byte[] program, byte[] packet, int filterAge) { in assertPass()
117 private void assertPass(byte[] program, byte[] packet) { in assertPass()
121 private void assertDrop(byte[] program, byte[] packet, int filterAge) { in assertDrop()
125 private void assertDrop(byte[] program, byte[] packet) { in assertDrop()
129 private void assertVerdict(int expected, ApfGenerator gen, byte[] packet, int filterAge) in assertVerdict()
134 private void assertPass(ApfGenerator gen, byte[] packet, int filterAge) in assertPass()
139 private void assertDrop(ApfGenerator gen, byte[] packet, int filterAge) in assertDrop()
618 public void pretendPacketReceived(byte[] packet) throws IOException, ErrnoException { in pretendPacketReceived()
[all …]
/frameworks/base/tools/preload2/src/com/android/preload/classdataretrieval/jdwp/
DJDWPClassDataRetriever.java83 CommandPacket packet = new CommandPacket( in retrieveImpl() local
93 CommandPacket packet = new CommandPacket( in retrieveImpl() local
152 CommandPacket packet = new CommandPacket( in retrieveImpl() local
161 CommandPacket packet = new CommandPacket( in checkClass() local
182 CommandPacket packet = new CommandPacket( in checkArrayClass() local
/frameworks/base/obex/javax/obex/
DServerOperation.java141 ObexPacket packet; in ServerOperation() local
228 private boolean handleObexPacket(ObexPacket packet) throws IOException { in handleObexPacket()
274 private byte[] updateRequestHeaders(ObexPacket packet) throws IOException { in updateRequestHeaders()
528 ObexPacket packet = ObexPacket.read(mInput); in sendReply() local
599 ObexPacket packet = ObexPacket.read(mInput); in checkSrmRemoteAbort() local
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpClient.java363 DhcpPacket packet = null; in run() local
424 ByteBuffer packet = DhcpPacket.buildDiscoverPacket( in sendDiscoverPacket() local
437 ByteBuffer packet = DhcpPacket.buildRequestPacket( in sendRequestPacket() local
646 public boolean isValidPacket(DhcpPacket packet) { in isValidPacket()
662 public void setDhcpLeaseExpiry(DhcpPacket packet) { in setDhcpLeaseExpiry()
719 abstract protected void receivePacket(DhcpPacket packet); in receivePacket()
767 protected void receivePacket(DhcpPacket packet) { in receivePacket()
795 protected void receivePacket(DhcpPacket packet) { in receivePacket()
939 protected void receivePacket(DhcpPacket packet) { in receivePacket()
DDhcpPacket.java670 private static Inet4Address readIpAddress(ByteBuffer packet) { in readIpAddress()
733 static DhcpPacket decodeFullPacket(ByteBuffer packet, int pktType) throws ParseException in decodeFullPacket()
1099 public static DhcpPacket decodeFullPacket(byte[] packet, int length, int pktType) in decodeFullPacket()
/frameworks/base/services/net/java/android/net/apf/
DApfFilter.java449 Ra(byte[] packet, int length) throws InvalidRaException { in Ra()
540 boolean matches(byte[] packet, int length) { in matches()
553 long minLifetime(byte[] packet, int length) { in minLifetime()
996 private void hexDump(String msg, byte[] packet, int length) { in hexDump()
1018 synchronized ProcessRaResult processRa(byte[] packet, int length) { in processRa()
/frameworks/base/services/core/java/com/android/server/connectivity/
DKeepaliveTracker.java102 KeepalivePacketData packet, int interval) { in KeepaliveInfo()
348 KeepalivePacketData packet; in startNattKeepalive() local
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp369 MtpDataPacket& packet) { in getObjectPropertyValue()
488 static bool readLongValue(int type, MtpDataPacket& packet, jlong& longValue) { in readLongValue()
547 MtpDataPacket& packet) { in setObjectPropertyValue()
577 MtpDataPacket& packet) { in getDevicePropertyValue()
650 MtpDataPacket& packet) { in setDevicePropertyValue()
686 MtpDataPacket& packet) { in getObjectPropertyList()
/frameworks/base/tests/net/jni/
Dapf_jni.cpp31 JNIEnv* env, jclass, jbyteArray program, jbyteArray packet, jint filter_age) { in com_android_server_ApfTest_apfSimulate()
/frameworks/av/media/libstagefright/mpeg2ts/
DMPEG2TSExtractor.cpp315 uint8_t packet[kTSPacketSize]; in feedMore() local
374 uint8_t packet[kTSPacketSize]; in estimateDurationsFromTimesUsAtEnd() local
/frameworks/av/media/libstagefright/foundation/
DANetworkSession.cpp370 sp<ABuffer> packet = new ABuffer(packetSize); in readMore() local
494 sp<ABuffer> packet = new ABuffer(payloadLen); in readMore() local
/frameworks/av/media/libstagefright/wifi-display/rtp/
DRTPSender.cpp209 const sp<ABuffer> &packet, uint8_t packetType) { in queueRawPacket()
/frameworks/av/media/libstagefright/
DOggExtractor.cpp271 MediaBuffer *packet; in read() local
836 MediaBuffer *packet; in init() local
/frameworks/base/libs/common_time/
Dcommon_time_server.cpp1001 const MasterAnnouncementPacket* packet, in handleMasterAnnouncement()