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

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/tests/net/java/android/net/util/
ConnectivityPacketSummaryTest.java 43 final String packet = local
60 assertEquals(expected, getSummary(packet));
64 final String packet = local
81 assertEquals(expected, getSummary(packet));
85 final String packet = local
113 assertEquals(expected, getSummary(packet));
117 final String packet = local
135 assertEquals(expected, getSummary(packet));
139 final String packet = local
159 assertEquals(expected, getSummary(packet));
163 final String packet = local
183 final String packet = local
201 final String packet = local
221 final String packet = local
266 final String packet = local
311 final String packet = local
358 final String packet = local
    [all...]
IpUtilsTest.java 54 // out = " ByteBuffer packet = ByteBuffer.wrap(new byte[] {\n "
65 // packet = (scapy.IPv6(src="2001:db8::1", dst="2001:db8::2") /
68 // print JavaPacketDefinition(str(packet))
72 // packet = (scapy.IPv6(src="2001:db8::1", dst="2001:db8::2", tc=0x80) /
77 ByteBuffer packet = ByteBuffer.wrap(new byte[] { local
98 // Check that a valid packet has checksum 0.
99 int transportLen = packet.limit() - IPV6_HEADER_LENGTH;
100 assertEquals(0, IpUtils.tcpChecksum(packet, 0, IPV6_HEADER_LENGTH, transportLen));
104 int sum = getUnsignedByte(packet, sumOffset) * 256 + getUnsignedByte(packet, sumOffset + 1)
123 ByteBuffer packet = ByteBuffer.wrap(new byte[] { local
    [all...]
  /libcore/luni/src/main/java/android/system/
StructIcmpHdr.java 29 private byte[] packet; field in class:StructIcmpHdr
32 packet = new byte[8];
50 hdr.packet[0] = ipv4 ? (byte) ICMP_ECHO : (byte) ICMP6_ECHO_REQUEST;
51 // packet[1]: Code is always zero.
52 // packet[2,3]: Checksum is computed by kernel.
53 // packet[4,5]: ID (= port) inserted by kernel.
54 hdr.packet[6] = (byte) (seq >> 8);
55 hdr.packet[7] = (byte) seq;
60 return packet.clone();
  /external/webrtc/webrtc/modules/video_coding/
decoding_state_unittest.cc 18 #include "webrtc/modules/video_coding/packet.h"
34 VCMPacket packet; local
35 packet.isFirstPacket = true;
36 packet.timestamp = 1;
37 packet.seqNum = 0xffff;
38 packet.frameType = kVideoFrameDelta;
39 packet.codecSpecificHeader.codec = kRtpVideoVp8;
40 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 0x007F;
44 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
48 packet.frameType = kVideoFrameKey
166 VCMPacket packet; local
212 VCMPacket packet; local
365 VCMPacket packet; local
400 VCMPacket packet; local
419 VCMPacket packet; local
452 VCMPacket packet; local
495 VCMPacket packet; local
550 VCMPacket packet; local
    [all...]
  /system/core/debuggerd/
tombstoned_client.cpp 42 TombstonedCrashPacket packet = {}; local
43 packet.packet_type = CrashPacketType::kDumpRequest;
44 packet.packet.dump_request.pid = pid;
45 if (TEMP_FAILURE_RETRY(write(sockfd, &packet, sizeof(packet))) != sizeof(packet)) {
46 __libc_format_log(ANDROID_LOG_ERROR, "libc", "failed to write DumpRequest packet: %s",
52 ssize_t rc = recv_fd(sockfd, &packet, sizeof(packet), &tmp_output_fd)
80 TombstonedCrashPacket packet = {}; local
    [all...]
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/tic6x/
parallel-bad-4.l 2 [^:]*:28: Error: too many instructions in execute packet
3 [^:]*:30: Error: too many instructions in execute packet
parallel-bad-3.l 2 [^:]*:13: Error: too many instructions in execute packet
resource-func-unit-1.l 2 [^:]*:9: Error: functional unit already used in this execute packet
resource-func-unit-2.l 2 [^:]*:17: Error: functional unit already used in this execute packet
3 [^:]*:19: Error: functional unit already used in this execute packet
sploop-bad-2.l 2 [^:]*:7: Error: 'sploop' instruction not at start of execute packet
3 [^:]*:11: Error: 'sploopd' instruction not at start of execute packet
4 [^:]*:15: Error: 'sploopw' instruction not at start of execute packet
5 [^:]*:20: Error: 'spkernel' instruction not at start of execute packet
6 [^:]*:23: Error: 'spkernel' instruction not at start of execute packet
7 [^:]*:26: Error: 'spkernelr' instruction not at start of execute packet
8 [^:]*:28: Error: 'spmask' instruction not at start of execute packet
9 [^:]*:30: Error: 'spmaskr' instruction not at start of execute packet
  /frameworks/av/media/mtp/
MtpObjectInfo.cpp 58 bool MtpObjectInfo::read(MtpDataPacket& packet) {
62 if (!packet.getUInt32(mStorageID)) return false;
63 if (!packet.getUInt16(mFormat)) return false;
64 if (!packet.getUInt16(mProtectionStatus)) return false;
65 if (!packet.getUInt32(mCompressedSize)) return false;
66 if (!packet.getUInt16(mThumbFormat)) return false;
67 if (!packet.getUInt32(mThumbCompressedSize)) return false;
68 if (!packet.getUInt32(mThumbPixWidth)) return false;
69 if (!packet.getUInt32(mThumbPixHeight)) return false;
70 if (!packet.getUInt32(mImagePixWidth)) return false
    [all...]
MtpDeviceInfo.cpp 62 bool MtpDeviceInfo::read(MtpDataPacket& packet) {
66 if (!packet.getUInt16(mStandardVersion)) return false;
67 if (!packet.getUInt32(mVendorExtensionID)) return false;
68 if (!packet.getUInt16(mVendorExtensionVersion)) return false;
70 if (!packet.getString(string)) return false;
74 if (!packet.getUInt16(mFunctionalMode)) return false;
75 mOperations = packet.getAUInt16();
77 mEvents = packet.getAUInt16();
79 mDeviceProperties = packet.getAUInt16();
81 mCaptureFormats = packet.getAUInt16()
    [all...]
  /system/bt/hci/include/
packet_fragmenter.h 25 typedef void (*transmit_finished_cb)(BT_HDR* packet, bool all_fragments_sent);
26 typedef void (*packet_reassembled_cb)(BT_HDR* packet);
27 typedef void (*packet_fragmented_cb)(BT_HDR* packet,
31 // Called for every packet fragment.
34 // Called for every completely reassembled packet.
38 // but the packet has not been entirely sent.
49 // Fragments |packet| if necessary and hands off everything to the fragmented
51 void (*fragment_and_dispatch)(BT_HDR* packet);
52 // If |packet| is a complete packet, forwards to the reassembled callback
    [all...]
  /system/bt/hci/src/
btsnoop_mem.cc 27 void btsnoop_mem_capture(const BT_HDR* packet, uint64_t timestamp_us) {
30 CHECK(packet);
32 const uint8_t* data = &packet->data[packet->offset];
33 const uint16_t type = packet->event & BT_EVT_MASK;
38 if (packet->len > 2) length = data[2] + 3;
42 if (packet->len > 1) length = data[1] + 2;
47 if (packet->len > 3) length = (data[2] | (data[3] << 8)) + 4;
52 if (packet->len > 2) length = data[2] + 3;
packet_fragmenter.cc 58 static void fragment_and_dispatch(BT_HDR* packet) {
59 CHECK(packet != NULL);
61 uint16_t event = packet->event & MSG_EVT_MASK;
62 uint8_t* stream = packet->data + packet->offset;
66 callbacks->fragmented(packet, true);
71 SUB_EVENT(packet->event) == LOCAL_BR_EDR_CONTROLLER_ID
76 uint16_t remaining_length = packet->len;
83 // Make sure we use the right ACL packet size
84 stream = packet->data + packet->offset
    [all...]
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
ParsedEvent.java 44 protected ParsedEvent(byte suspendPolicy, Packet packet, byte eventKind) {
46 this.requestID = packet.getNextValueAsInt();
86 * @param packet
88 protected EventThread(byte suspendPolicy, Packet packet, byte eventKind) {
89 super(suspendPolicy, packet, eventKind);
90 this.threadID = packet.getNextValueAsThreadID();
112 * @param packet
114 protected EventThreadLocation(byte suspendPolicy, Packet packet
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/neteq/test/
RTPtimeshift.cc 51 NETEQTEST_RTPpacket packet; local
52 int packLen = packet.readFromFile(inFile);
58 uint32_t TSdiff = atoi(argv[3]) - packet.timeStamp();
64 SNdiff = startSN - packet.sequenceNumber();
68 ATdiff = startTS - packet.time();
73 packet.setTimeStamp(packet.timeStamp() + TSdiff);
74 packet.setSequenceNumber(packet.sequenceNumber() + SNdiff);
75 packet.setTime(packet.time() + ATdiff)
    [all...]
  /external/webrtc/webrtc/modules/video_coding/test/
stream_generator.cc 18 #include "webrtc/modules/video_coding/packet.h"
61 VCMPacket packet; local
62 packet.seqNum = sequence_number;
63 packet.timestamp = timestamp;
64 packet.frameType = type;
65 packet.isFirstPacket = first_packet;
66 packet.markerBit = marker_bit;
67 packet.sizeBytes = size;
68 packet.dataPtr = packet_buffer_;
69 if (packet.isFirstPacket
    [all...]
  /external/webrtc/webrtc/test/
null_transport.cc 15 bool NullTransport::SendRtp(const uint8_t* packet,
21 bool NullTransport::SendRtcp(const uint8_t* packet, size_t length) {
  /system/connectivity/wificond/net/
mlme_event.cpp 35 bool GetCommonFields(const NL80211Packet* packet,
38 if (!packet->GetAttributeValue(NL80211_ATTR_IFINDEX, if_index)) {
43 if (!packet->GetAttributeValue(NL80211_ATTR_MAC, bssid)) {
52 const NL80211Packet* packet) {
53 if (packet->GetCommand() != NL80211_CMD_ASSOCIATE) {
58 if (!GetCommonFields(packet,
68 associate_event->is_timeout_ = packet->HasAttribute(NL80211_ATTR_TIMED_OUT);
74 const NL80211Packet* packet) {
75 if (packet->GetCommand() != NL80211_CMD_CONNECT) {
79 if (!GetCommonFields(packet,
    [all...]
  /external/ppp/pppd/plugins/rp-pppoe/
common.c 35 * packet -- the PPPoE discovery packet to parse
36 * func -- function called for each tag in the packet
41 * Parses a PPPoE discovery packet, calling "func" for each tag in the packet.
45 parsePacket(PPPoEPacket *packet, ParseFunc *func, void *extra)
47 UINT16_t len = ntohs(packet->length);
51 if (PPPOE_VER(packet->vertype) != 1) {
52 error("Invalid PPPoE version (%d)", PPPOE_VER(packet->vertype));
55 if (PPPOE_TYPE(packet->vertype) != 1)
98 PPPoEPacket packet; local
    [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/deqp/framework/referencerenderer/
rrPrimitivePacket.cpp 21 * \brief Primitive packet
40 VertexPacket* packet; local
48 packet = m_vpalloc.alloc();
50 packet->position = position;
51 packet->pointSize = pointSize;
52 packet->primitiveID = primitiveID;
55 packet->outputs[ndx] = varyings[ndx];
57 m_emitted.push_back(packet);
  /external/libcups/cups/
testsnmp.c 27 static void print_packet(cups_snmp_t *packet, void *data);
119 * 'print_packet()' - Print the contents of the response packet.
123 print_packet(cups_snmp_t *packet, /* I - SNMP response packet */
132 printf("%s = ", _cupsSNMPOIDToString(packet->object_name, temp, sizeof(temp)));
134 switch (packet->object_type)
138 packet->object_value.boolean ? "TRUE" : "FALSE");
142 printf("INTEGER %d\n", packet->object_value.integer);
147 (char *)packet->object_value.string.bytes);
152 (char *)packet->object_value.string.bytes)
208 cups_snmp_t packet; \/* SNMP packet *\/ local
    [all...]
  /external/webrtc/webrtc/modules/remote_bitrate_estimator/
remote_estimator_proxy_unittest.cc 27 MOCK_METHOD1(SendFeedback, bool(rtcp::TransportFeedback* packet));
66 .WillOnce(Invoke([this](rtcp::TransportFeedback* packet) {
67 packet->Build();
68 EXPECT_EQ(kBaseSeq, packet->GetBaseSequence());
69 EXPECT_EQ(kMediaSsrc, packet->GetMediaSourceSsrc());
72 packet->GetStatusVector();
76 std::vector<int64_t> delta_vec = packet->GetReceiveDeltasUs();
78 EXPECT_EQ(kBaseTimeMs, (packet->GetBaseTimeUs() + delta_vec[0]) / 1000);
92 .WillOnce(Invoke([this](rtcp::TransportFeedback* packet) {
93 packet->Build()
    [all...]

Completed in 814 milliseconds

1 2 3 4 5 6 7 8 91011>>