/system/connectivity/wificond/net/ |
nl80211_packet.h | 34 // (via the nl80211 interface). An NL80211 packet is a type of generic netlink 35 // packet (i.e. it includes netlink and generic netlink headers). 56 NL80211Packet(const NL80211Packet& packet); 59 NL80211Packet(NL80211Packet&& packet) = default; member in class:android::wificond::NL80211Packet 62 // Returns whether a packet has consistent header fields.
|
/system/core/libappfuse/tests/ |
FuseBufferTest.cc | 45 FuseRequest* const packet = reinterpret_cast<FuseRequest*>(buffer); local 46 packet->header.len = headerSize; 47 ASSERT_NE(-1, write(fd, packet, write_size)) << strerror(errno); 50 EXPECT_FALSE(packet->Read(fd)); 58 FuseRequest* const packet = reinterpret_cast<FuseRequest*>(buffer); local 59 packet->header.len = size; 60 EXPECT_FALSE(packet->Write(fd));
|
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/ |
PingReflector.java | 50 Log.e(TAG, "Received packet version: " + version + ". Ignoring."); 56 Log.w(TAG, "Failed processing packet", e); 68 Ipv4Packet packet = new Ipv4Packet(stream); local 69 Log.i(TAG, "Packet contents:\n" + packet); 71 if (packet.protocol != PROTOCOL_ICMP) { 72 Log.i(TAG, "Protocol is " + packet.protocol + " not ICMP. Ignoring."); 77 new DataInputStream(new ByteArrayInputStream(packet.data)), packet.data.length); 78 Log.i(TAG, "Ping packet:\n" + echo) [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/ |
InvokeMethod003Test.java | 58 CommandPacket packet = new CommandPacket( local 61 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); 62 packet.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); 63 packet.setNextValueAsInt(1); 64 packet.setNextValueAsByte((byte) 4); // class-only modifier. 65 packet.setNextValueAsReferenceTypeID(debuggeeTypeID); 66 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 97 packet = new CommandPacket( 100 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); 101 packet.setNextValueAsInt(requestID) [all...] |
NewInstance002Test.java | 59 CommandPacket packet = new CommandPacket( local 62 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); 63 packet.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); 64 packet.setNextValueAsInt(1); 65 packet.setNextValueAsByte((byte) 4); // class-only modifier. 66 packet.setNextValueAsReferenceTypeID(debuggeeTypeID); 67 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 98 packet = new CommandPacket( 101 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); 102 packet.setNextValueAsInt(requestID) [all...] |
NewInstanceTest.java | 65 CommandPacket packet = new CommandPacket( local 69 packet.setNextValueAsString(classSig); 70 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 91 packet = new CommandPacket( 94 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); 95 packet.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); 96 packet.setNextValueAsInt(1); 97 packet.setNextValueAsByte((byte) 5); 98 packet.setNextValueAsString("*.InvokeMethodDebuggee"); 100 reply = debuggeeWrapper.vmMirror.performCommand(packet); 253 CommandPacket packet = new CommandPacket( local [all...] |
SetValuesTest.java | 124 CommandPacket packet = new CommandPacket( local 127 packet.setNextValueAsClassID(classID); 128 packet.setNextValueAsInt(1); 129 packet.setNextValueAsFieldID(fieldInfo.getFieldID()); 131 packet.setNextValueAsUntaggedValue(value); 133 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 136 packet = new CommandPacket( 139 packet.setNextValueAsReferenceTypeID(classID); 140 packet.setNextValueAsInt(1); 141 packet.setNextValueAsFieldID(fieldInfo.getFieldID()) [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/ |
InvokeMethod002Test.java | 58 CommandPacket packet = new CommandPacket( local 61 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); 62 packet.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); 63 packet.setNextValueAsInt(1); 64 packet.setNextValueAsByte((byte) 4); // class-only modifier. 65 packet.setNextValueAsReferenceTypeID(debuggeeTypeID); 66 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 97 packet = new CommandPacket( 100 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); 101 packet.setNextValueAsInt(requestID) [all...] |
InvokeMethod003Test.java | 60 CommandPacket packet = new CommandPacket( local 63 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); 64 packet.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); 65 packet.setNextValueAsInt(1); 66 packet.setNextValueAsByte((byte) 4); // class-only modifier. 67 packet.setNextValueAsReferenceTypeID(debuggeeTypeID); 68 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 99 packet = new CommandPacket( 102 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); 103 packet.setNextValueAsInt(requestID) [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/ |
GetValuesTest.java | 65 CommandPacket packet = new CommandPacket(StackFrameCommandSet.CommandSetID, local 67 packet.setNextValueAsThreadID(invalidThreadID); 68 packet.setNextValueAsFrameID(0); 69 packet.setNextValueAsInt(0); 70 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.performCommand(packet); 85 CommandPacket packet = new CommandPacket(StackFrameCommandSet.CommandSetID, local 87 packet.setNextValueAsThreadID(threadID); 88 packet.setNextValueAsFrameID(0); 89 packet.setNextValueAsInt(0); 90 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.performCommand(packet); 110 CommandPacket packet = new CommandPacket(StackFrameCommandSet.CommandSetID, local 151 CommandPacket packet = new CommandPacket(StackFrameCommandSet.CommandSetID, local 194 CommandPacket packet = new CommandPacket( local [all...] |
SetValuesTest.java | 67 CommandPacket packet = new CommandPacket(StackFrameCommandSet.CommandSetID, local 69 packet.setNextValueAsThreadID(invalidThreadID); 70 packet.setNextValueAsFrameID(0); 71 packet.setNextValueAsInt(0); 72 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.performCommand(packet); 87 CommandPacket packet = new CommandPacket(StackFrameCommandSet.CommandSetID, local 89 packet.setNextValueAsThreadID(threadID); 90 packet.setNextValueAsFrameID(0); 91 packet.setNextValueAsInt(0); 92 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.performCommand(packet); 112 CommandPacket packet = new CommandPacket(StackFrameCommandSet.CommandSetID, local 155 CommandPacket packet = new CommandPacket(StackFrameCommandSet.CommandSetID, local 199 CommandPacket packet = new CommandPacket( local [all...] |
ProxyThisObjectTest.java | 41 CommandPacket packet = new CommandPacket( local 44 packet.setNextValueAsThreadID(context.getThreadId()); 45 packet.setNextValueAsLong(context.getFrameId()); 46 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
xt_statistic.h | 42 __u32 packet; member in struct:xt_statistic_info::__anon935::__anon937
|
/development/samples/ToyVpn/server/linux/ |
ToyVpnServer.cpp | 108 char packet[1024]; local 112 int n = recvfrom(tunnel, packet, sizeof(packet), 0, 117 packet[n] = 0; 118 } while (packet[0] != 0 || strcmp(secret, &packet[1])); 201 // Send the parameters several times in case of packet loss. 206 // Allocate the buffer for a single packet. 207 char packet[32767]; local 219 // Read the outgoing packet from the input stream [all...] |
/device/google/contexthub/firmware/os/core/ |
hostIntfSpi.c | 40 struct NanohubPacket *packet = gRxBuf; local 42 callback(NANOHUB_PACKET_SIZE(packet->len), err);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayType/ |
NewInstanceTest.java | 72 CommandPacket packet = new CommandPacket( local 75 packet.setNextValueAsString(testedArrayRefs[i]); 76 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 99 packet = new CommandPacket( 102 packet.setNextValueAsReferenceTypeID(typeArrayID); 103 packet.setNextValueAsInt(10); 104 reply = debuggeeWrapper.vmMirror.performCommand(packet); 121 packet = new CommandPacket( 124 packet.setNextValueAsObjectID(newArray.objectID); 125 reply = debuggeeWrapper.vmMirror.performCommand(packet); [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassLoaderReference/ |
VisibleClassesTest.java | 62 CommandPacket packet = new CommandPacket( local 65 packet.setNextValueAsClassLoaderID(0); 66 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Method/ |
IsObsoleteTest.java | 59 CommandPacket packet = new CommandPacket( local 62 packet.setNextValueAsClassID(classID); 63 packet.setNextValueAsMethodID(methodInfo.getMethodID()); 64 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadGroupReference/ |
NameTest.java | 59 CommandPacket packet; local 66 packet = new CommandPacket( 69 packet.setNextValueAsThreadID(threadID); 71 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 144 CommandPacket packet = new CommandPacket( local 147 packet.setNextValueAsThreadGroupID(groupID); 148 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
ParentTest.java | 60 CommandPacket packet; local 67 packet = new CommandPacket( 70 packet.setNextValueAsThreadID(threadID); 72 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 77 packet = new CommandPacket( 80 packet.setNextValueAsThreadID(groupID); 82 reply = debuggeeWrapper.vmMirror.performCommand(packet); 154 CommandPacket packet = new CommandPacket( local 157 packet.setNextValueAsThreadGroupID(groupID); 158 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
FrameCountTest.java | 70 CommandPacket packet = new CommandPacket( local 73 packet.setNextValueAsThreadID(threadID); 74 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 95 CommandPacket packet = new CommandPacket( local 98 packet.setNextValueAsThreadID(threadID); 99 packet.setNextValueAsInt(0); 100 packet.setNextValueAsInt(-1); 101 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
NameTest.java | 57 CommandPacket packet; local 63 packet = new CommandPacket( 66 packet.setNextValueAsThreadID(threadID); 68 thrdReply = debuggeeWrapper.vmMirror.performCommand(packet);
|
OwnedMonitorsTest.java | 74 CommandPacket packet = new CommandPacket( local 77 packet.setNextValueAsThreadID(testedThreadID); 78 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 94 packet = new CommandPacket( 97 packet.setNextValueAsObjectID(tobj.objectID); 98 ReplyPacket replyObj = debuggeeWrapper.vmMirror.performCommand(packet);
|
StatusTest.java | 68 CommandPacket packet = new CommandPacket( local 71 packet.setNextValueAsThreadID(threadID); 73 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 125 CommandPacket packet = new CommandPacket( local 128 packet.setNextValueAsThreadID(threadID); 130 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
ThreadGroupTest.java | 61 CommandPacket packet; local 75 packet = new CommandPacket( 78 packet.setNextValueAsThreadID(threadID); 80 replyThread = debuggeeWrapper.vmMirror.performCommand(packet);
|