/frameworks/base/core/java/android/app/backup/ |
D | BlobBackupHelper.java | 105 long checksum = in.readLong(); in readOldState() local 107 Log.i(TAG, " key '" + key + "' checksum is " + checksum); in readOldState() 109 state.put(key, checksum); in readOldState() 147 final long checksum = state.valueAt(i).longValue(); in writeBackupState() local 149 Log.i(TAG, " writing key " + key + " checksum = " + checksum); in writeBackupState() 152 out.writeLong(checksum); in writeBackupState() 218 private long checksum(byte[] buffer) { in checksum() method in BlobBackupHelper 251 final long checksum = checksum(payload); in performBackup() local 253 Log.i(TAG, "Key " + key + " backup checksum is " + checksum); in performBackup() 255 newState.put(key, checksum); in performBackup() [all …]
|
/frameworks/base/core/java/android/net/util/ |
D | IpUtils.java | 46 private static int checksum(ByteBuffer buf, int seed, int start, int end) { in checksum() method in IpUtils 107 return (short) checksum(buf, 0, headerOffset, headerOffset + ihl * 4); in ipChecksum() 125 sum = checksum(buf, sum, transportOffset, transportOffset + transportLen); in transportChecksum()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuScript.cpp | 174 bool addFileToChecksum(const char *fileName, uint32_t &checksum) { in addFileToChecksum() argument 189 checksum = adler32(checksum, (const unsigned char *) buf, nread); in addFileToChecksum() 212 uint32_t checksum = adler32(0L, Z_NULL, 0); in constructBuildChecksum() local 216 checksum = adler32(checksum, bitcode, bitcodeSize); in constructBuildChecksum() 220 checksum = adler32(checksum, (const unsigned char *) commandLine, in constructBuildChecksum() 226 if (bccFile[0] != 0 && !addFileToChecksum(bccFile, checksum)) { in constructBuildChecksum() 232 return checksum; in constructBuildChecksum()
|
D | rsCpuExecutable.cpp | 440 uint32_t checksum = 0; in createFromSharedObject() local 766 if (sscanf(line, CHECKSUM_STR "%08x", &checksum) != 1) { in createFromSharedObject() 775 if (expectedChecksum != 0 && checksum != expectedChecksum) { in createFromSharedObject() 777 expectedChecksum, checksum); in createFromSharedObject() 823 numEntries, isThreadable, checksum); in createFromSharedObject()
|
D | rsCpuScriptGroup2.cpp | 458 uint32_t checksum = constructBuildChecksum(nullptr, 0, cmdLine.get(), in compile() local 461 if (checksum == 0) { in compile() 466 ss << std::hex << checksum; in compile() 488 mScriptObj, checksum); in compile()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | PasswordUtils.java | 116 Key checksum = buildCharArrayKey(algorithm, mkAsChar, salt, rounds); in makeKeyChecksum() local 117 return checksum.getEncoded(); in makeKeyChecksum()
|
/frameworks/compile/mclinker/lib/LD/ |
D | IdenticalCodeFolding.cpp | 189 uint32_t checksum = ::crc32(0xFFFFFFFF, in matchCandidates() local 193 size_t count = checksum_map.count(checksum); in matchCandidates() 195 checksum_map.insert(std::make_pair(checksum, index)); in matchCandidates() 198 checksum_map.equal_range(checksum); in matchCandidates()
|
/frameworks/base/core/proto/android/server/ |
D | backup_chunks_metadata.proto | 85 // Ordering information about plaintext and checksum. This is used on restore to reconstruct the 104 // security implications. This is an additional checksum to verify that once the chunks have 107 optional bytes checksum = 2; field 127 // The type of algorithm used for the checksum of the plaintext. (See ChunkOrdering.) This is
|
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/ |
D | OverlayBaseTest.java | 69 int ch, checksum = 0; in calculateRawResourceChecksum() local 71 checksum = (checksum + ch) % 0xffddbb00; in calculateRawResourceChecksum() 73 return checksum; in calculateRawResourceChecksum()
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | PerformAdbBackupTask.java | 194 byte[] checksum = PasswordUtils in emitAesBackupHeader() 200 + checksum.length + 3); in emitAesBackupHeader() 206 mkOut.writeByte(checksum.length); in emitAesBackupHeader() 207 mkOut.write(checksum); in emitAesBackupHeader()
|
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTask.java | 761 final byte[] checksum; in SHA1Checksum() 764 checksum = md.digest(input); in SHA1Checksum() 770 StringBuilder string = new StringBuilder(checksum.length * 2); in SHA1Checksum() 771 for (byte item : checksum) { in SHA1Checksum()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PersistentDataBlockService.java | 480 byte[] checksum = new byte[DIGEST_SIZE_BYTES]; 481 outputStream.write(checksum, 0, DIGEST_SIZE_BYTES);
|
/frameworks/compile/libbcc/ |
D | README.rst | 153 type (rather in APK or on the file system), and the SHA1 checksum.
|
/frameworks/compile/mclinker/unittests/ |
D | test3.txt | 224 echo "==> Adding md5 checksum to top-level directory"
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 2665 HPLandroid/app/backup/BlobBackupHelper;->checksum([B)J
|
D | hiddenapi-greylist-max-o.txt | 4239 Landroid/app/backup/BlobBackupHelper;->checksum([B)J
|