/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/ |
D | IcmpMessage.java | 34 int checksum = stream.readUnsignedShort(); in IcmpMessage() local 48 throw new IOException("Corrupted message. Checksum: " + checksum); in IcmpMessage() 64 int checksum = Rfc1071.checksum(result, result.length); in getEncoded() local 65 result[checksumPosition + 0] = (byte) ((checksum & 0xFF00) >> 8); in getEncoded() 66 result[checksumPosition + 1] = (byte) ((checksum & 0x00FF)); in getEncoded()
|
D | Ipv4Packet.java | 53 int checksum = stream.readUnsignedShort(); in Ipv4Packet() local 81 throw new IOException("Corrupted message. Checksum: " + checksum); in Ipv4Packet() 116 int checksum = Rfc1071.checksum(result, headerLength); in getEncoded() local 117 result[checksumPosition + 0] = (byte) ((checksum & 0xFF00) >> 8); in getEncoded() 118 result[checksumPosition + 1] = (byte) ((checksum & 0x00FF)); in getEncoded()
|
D | Rfc1071.java | 20 static int checksum(byte[] data, int length) { in checksum() method in Rfc1071
|
/cts/tests/media/jni/ |
D | NativeCodecTestBase.cpp | 298 if (checksum != that->checksum) { in equals() 299 if (checksum.size() != that->checksum.size()) { in equals() 301 (int)checksum.size(), (int)that->checksum.size()); in equals() 305 for (auto it1 = checksum.cbegin(), it2 = that->checksum.cbegin(); it1 < checksum.cend(); in equals()
|
D | NativeCodecTestBase.h | 90 std::vector<uint32_t> checksum; variable 108 checksum.push_back(adler32(buf, info->offset, info->size)); in saveChecksum() 114 checksum.clear(); in reset()
|
/cts/tests/tests/net/ipsec/src/android/net/ipsec/ike/cts/ |
D | PacketUtils.java | 98 private short checksum; field in PacketUtils.Ip4Header 148 int checksum = 0; in calculateChecksum() local 157 checksum = addAndWrapForChecksum(checksum, val); in calculateChecksum() 160 return onesComplement(checksum); in calculateChecksum()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | PacketUtils.java | 92 private short checksum; field in PacketUtils.Ip4Header 142 int checksum = 0; in calculateChecksum() local 151 checksum = addAndWrapForChecksum(checksum, val); in calculateChecksum() 154 return onesComplement(checksum); in calculateChecksum()
|
/cts/tools/utils/ |
D | monsoon.py | 283 checksum = (data_len + sum(struct.unpack("B" * len(data), data))) % 256 284 out = struct.pack("B", data_len) + data + struct.pack("B", checksum) 302 checksum = (data_len + sum(struct.unpack("B" * len(body), body))) % 256 303 if result[-1] != struct.pack("B", checksum):
|
/cts/apps/CtsVerifier/assets/scripts/power_monitors/ |
D | monsoon.py | 390 checksum = (data_len + sum(struct.unpack("B" * len(data), data))) % 256 391 out = struct.pack("B", data_len) + data + struct.pack("B", checksum) 409 checksum = (data_len + sum(struct.unpack("B" * len(body), body))) % 256 410 if result[-1] != struct.pack("B", checksum):
|
/cts/tools/vm-tests-tf/src/dot/junit/format/f1/d/ |
D | T_f1_1.dfh | 7 // parsed: offset 8, len 4: checksum : ec6e3629
|
D | T_f1_5.dfh | 7 // parsed: offset 8, len 4: checksum : 76133706
|
D | T_f1_7.dfh | 7 // parsed: offset 8, len 4: checksum : 6b8435f0
|
D | T_f1_12.dfh | 7 // parsed: offset 8, len 4: checksum : 07303496
|
D | T_f1_9.dfh | 8 // parsed: offset 8, len 4: checksum : a9763611
|
/cts/tests/tests/media/libmediandkjni/ |
D | codec-utils-jni.cpp | 69 virtual uint32_t checksum() = 0; 88 uint32_t checksum() { in checksum() function 274 ALOGV("adler %zu/%u", adler.length(), adler.checksum()); in Java_android_media_cts_CodecUtils_getImageChecksumAlder32() 275 return adler.checksum(); in Java_android_media_cts_CodecUtils_getImageChecksumAlder32()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AdaptivePlaybackTest.java | 803 static long checksum(ByteBuffer buf, int size, CRC32 crc) { 1015 sum = checksum(mOutputBuffers[ix], info.size, mCRC); 1028 sum = mSurface.checksum(); 1757 public long checksum(); 1787 public long checksum() { 1791 return AdaptivePlaybackTest.checksum(mBuf, mBuf.capacity(), mCRC); 1814 public long checksum() {
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecTestBase.java | 279 void checksum(ByteBuffer buf, int size) { in checksum() method in OutputManager 301 void checksum(Image image) { in checksum() method in OutputManager 962 mOutputBuff.checksum(img); in dequeueOutput() 965 mOutputBuff.checksum(buf, info.size); in dequeueOutput()
|
/cts/tools/vm-tests-tf/src/dot/junit/verify/a1/d/ |
D | T_a1_1.dfh | 7 // parsed: offset 8, len 4: checksum : fa4f3449
|
/cts/tools/vm-tests-tf/src/dot/junit/verify/a3/d/ |
D | T_a3_1.dfh | 7 // parsed: offset 8, len 4: checksum : be8e34ae
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/goto_16/d/ |
D | T_goto_16_4.dfh | 7 // parsed: offset 8, len 4: checksum : 5cce3b13
|
D | T_goto_16_3.dfh | 7 // parsed: offset 8, len 4: checksum : 77e43d0f
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/goto_32/d/ |
D | T_goto_32_3.dfh | 7 // parsed: offset 8, len 4: checksum : d7f03cc2
|
D | T_goto_32_2.dfh | 7 // parsed: offset 8, len 4: checksum : 66653ef5
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sput_object/d/ |
D | T_sput_object_3.dfh | 7 // parsed: offset 8, len 4: checksum : c2134499
|
/cts/tools/vm-tests-tf/src/dot/junit/verify/a5/d/ |
D | T_a5_1.dfh | 7 // parsed: offset 8, len 4: checksum : 1acf344e
|