Home
last modified time | relevance | path

Searched refs:checksum (Results 1 – 25 of 131) sorted by relevance

123456

/cts/tools/utils/
Dmonsoon.py269 checksum = (data_len + sum(struct.unpack("B" * len(data), data))) % 256
270 out = struct.pack("B", data_len) + data + struct.pack("B", checksum)
288 checksum = (data_len + sum(struct.unpack("B" * len(body), body))) % 256
289 if result[-1] != struct.pack("B", checksum):
/cts/apps/CtsVerifier/assets/scripts/power_monitors/
Dmonsoon.py390 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/dex-tools/src/dex/reader/
DDexFileReader.java36 private int checksum = 0; field in DexFileReader
114 checksum = b.readUInt(); in readChecksum()
/cts/tools/vm-tests-tf/src/dot/junit/format/f1/d/
DT_f1_1.dfh7 // parsed: offset 8, len 4: checksum : ec6e3629
DT_f1_6.dfh7 // parsed: offset 8, len 4: checksum : 9bbb37a1
DT_f1_5.dfh7 // parsed: offset 8, len 4: checksum : 76133706
DT_f1_10.dfh8 // parsed: offset 8, len 4: checksum : 847035e6
DT_f1_8.dfh7 // parsed: offset 8, len 4: checksum : bd8b37bf
DT_f1_9.dfh8 // parsed: offset 8, len 4: checksum : a9763611
DT_f1_11.dfh7 // parsed: offset 8, len 4: checksum : 759b34c5
DT_f1_2.dfh8 // parsed: offset 8, len 4: checksum : 8bce34e8
DT_f1_3.dfh8 // parsed: offset 8, len 4: checksum : df0f35a3
DT_f1_12.dfh7 // parsed: offset 8, len 4: checksum : 07303496
/cts/tests/tests/media/libmediandkjni/
Dcodec-utils-jni.cpp60 virtual uint32_t checksum() = 0;
79 uint32_t checksum() { in checksum() function
265 ALOGV("adler %zu/%u", adler.length(), adler.checksum()); in Java_android_media_cts_CodecUtils_getImageChecksum()
266 return adler.checksum(); in Java_android_media_cts_CodecUtils_getImageChecksum()
Dnative-media-jni.cpp199 static int checksum(const uint8_t *in, int len, AMediaFormat *format) { in checksum() function
316 int adler = checksum(buf, info.size, format[tt]); in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
/cts/tests/tests/media/src/android/media/cts/
DAdaptivePlaybackTest.java751 static long checksum(ByteBuffer buf, int size, CRC32 crc) {
976 sum = checksum(mOutputBuffers[ix], info.size, mCRC);
989 sum = mSurface.checksum();
1711 public long checksum();
1741 public long checksum() {
1745 return AdaptivePlaybackTest.checksum(mBuf, mBuf.capacity(), mCRC);
1768 public long checksum() {
DDecoderTest.java1559 sum = checksum(image); in decodeWithChecks()
1566 sum = checksum(outputBuffer, info.size); in decodeWithChecks()
1696 private static long checksum(ByteBuffer buf, int size) { in checksum() method in DecoderTest
1718 private static long checksum(ByteBuffer buf, int width, int height, int stride) { in checksum() method in DecoderTest
1761 private static long checksum(Image image) { in checksum() method in DecoderTest
/cts/tools/vm-tests-tf/src/dot/junit/verify/a1/d/
DT_a1_1.dfh7 // parsed: offset 8, len 4: checksum : fa4f3449
/cts/tools/vm-tests-tf/src/dot/junit/verify/a3/d/
DT_a3_1.dfh7 // parsed: offset 8, len 4: checksum : be8e34ae
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/goto_16/d/
DT_goto_16_2.dfh7 // parsed: offset 8, len 4: checksum : e5ec3c50
DT_goto_16_3.dfh7 // parsed: offset 8, len 4: checksum : 77e43d0f
DT_goto_16_4.dfh7 // parsed: offset 8, len 4: checksum : 5cce3b13
/cts/tools/vm-tests-tf/src/dot/junit/verify/a5/d/
DT_a5_1.dfh7 // parsed: offset 8, len 4: checksum : 1acf344e
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sput_object/d/
DT_sput_object_3.dfh7 // parsed: offset 8, len 4: checksum : c2134499
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/goto_32/d/
DT_goto_32_3.dfh7 // parsed: offset 8, len 4: checksum : d7f03cc2

123456