/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/tests/car_builtin/src/android/car/cts/builtin/os/ |
D | SharedMemoryTestService.java | 38 int checksum = 0; in readBufData() local 46 checksum += mappedBuffer.get(); in readBufData() 54 return checksum; in readBufData()
|
D | SharedMemoryFileDescriptorTest.java | 112 int checksum = 0; in testReadBufData() local 115 checksum += (byte) i; in testReadBufData() 123 assertEquals(checksum, returnedChecksum); in testReadBufData()
|
/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/tests/media/common/src/android/mediav2/common/cts/ |
D | OutputManager.java | 173 public void checksum(ByteBuffer buf, int size) { in checksum() method in OutputManager 174 checksum(buf, size, 0, 0, 0, 0); in checksum() 177 public void checksum(ByteBuffer buf, MediaCodec.BufferInfo info) { in checksum() method in OutputManager 180 checksum(buf, info.size, 0, 0, 0, 0); in checksum() 184 public void checksum(ByteBuffer buf, int size, int width, int height, int stride, in checksum() method in OutputManager 240 public void checksum(Image image) { in checksum() method in OutputManager
|
D | CodecDecoderBlockModelTestBase.java | 201 mOutputBuff.checksum(mFlatBuffer, mFlatBuffer.limit()); in dequeueOutput() 204 mOutputBuff.checksum(buf, info.size); in dequeueOutput()
|
D | CodecDecoderTestBase.java | 262 mOutputBuff.checksum(mFlatBuffer, mFlatBuffer.limit()); in dequeueOutput() 264 mOutputBuff.checksum(buf, info); in dequeueOutput() 271 mOutputBuff.checksum(img); in dequeueOutput() 280 mOutputBuff.checksum(buf, info.size, width, height, stride, bytesPerSample); in dequeueOutput()
|
D | CodecEncoderBlockModelTestBase.java | 167 mOutputBuff.checksum(buf, info); in dequeueOutput()
|
/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_9.dfh | 8 // parsed: offset 8, len 4: checksum : a9763611
|
D | T_f1_3.dfh | 8 // parsed: offset 8, len 4: checksum : df0f35a3
|
D | T_f1_4.dfh | 7 // parsed: offset 8, len 4: checksum : 64f33679
|
D | T_f1_5.dfh | 7 // parsed: offset 8, len 4: checksum : 76133706
|
/cts/tests/tests/media/common/jni/ |
D | codec-utils-jni.cpp | 74 virtual uint32_t checksum() = 0; 93 uint32_t checksum() { in checksum() function 286 ALOGV("adler %zu/%u", adler.length(), adler.checksum()); in Java_android_media_cts_CodecUtils_getImageChecksumAlder32() 287 return adler.checksum(); in Java_android_media_cts_CodecUtils_getImageChecksumAlder32()
|
/cts/tests/media/jni/ |
D | NativeCodecDecoderTestCommon.cpp | 66 int colorFormat, float rmsError, uLong checksum); 358 uLong checksum) { in testSimpleDecode() argument 402 RETURN_IF_TRUE(checksum != ref->getChecksum(), in testSimpleDecode() 406 checksum, ref->getChecksum())) in testSimpleDecode()
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | AdaptivePlaybackTest.java | 833 static long checksum(ByteBuffer buf, int size, CRC32 crc) { 1083 sum = checksum(mOutputBuffers[ix], info.size, mCRC); 1096 sum = mSurface.checksum(); 1849 public long checksum(); 1879 public long checksum() { 1883 return AdaptivePlaybackTest.checksum(mBuf, mBuf.capacity(), mCRC); 1906 public long checksum() {
|
/cts/tests/tests/media/decoder/jni/ |
D | native-media-jni.cpp | 257 static int checksum(const uint8_t *in, int len, AMediaFormat *format) { in checksum() function 413 int adler = checksum(buf, info.size, format[tt]); in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | ExtractorTest.java | 427 CRC32 checksum = new CRC32(); in readAllData() local 453 checksum.update(format.getByteBuffer(csdKey)); in readAllData() 459 checksum.update(buffer); in readAllData() 466 checksum.update(buffer); in readAllData() 475 checksum.update(buffer); in readAllData() 485 return checksum.getValue(); in readAllData()
|
D | CodecEncoderMultiAccessUnitTest.java | 188 mOutputBuff.checksum(buf, info); in dequeueOutputs()
|
/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/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/a3/d/ |
D | T_a3_1.dfh | 7 // parsed: offset 8, len 4: checksum : be8e34ae
|