Searched refs:newChecksum (Results 1 – 4 of 4) sorted by relevance
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ |
D | PacketUtils.java | 283 int newChecksum = 0; in calculateChecksum() local 291 newChecksum = addAndWrapForChecksum(newChecksum, val); in calculateChecksum() 295 newChecksum = addAndWrapForChecksum(newChecksum, header.proto); in calculateChecksum() 296 newChecksum = addAndWrapForChecksum(newChecksum, length()); in calculateChecksum() 297 newChecksum = addAndWrapForChecksum(newChecksum, srcPort); in calculateChecksum() 298 newChecksum = addAndWrapForChecksum(newChecksum, dstPort); in calculateChecksum() 299 newChecksum = addAndWrapForChecksum(newChecksum, length()); in calculateChecksum() 303 newChecksum = addAndWrapForChecksum(newChecksum, payloadShortBuffer.get()); in calculateChecksum() 306 newChecksum = in calculateChecksum() 308 newChecksum, (payloadBytes[payloadBytes.length - 1] << 8)); in calculateChecksum() [all …]
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | PacketUtils.java | 323 int newChecksum = 0; in calculateChecksum() local 331 newChecksum = addAndWrapForChecksum(newChecksum, val); in calculateChecksum() 335 newChecksum = addAndWrapForChecksum(newChecksum, header.proto); in calculateChecksum() 336 newChecksum = addAndWrapForChecksum(newChecksum, length()); in calculateChecksum() 337 newChecksum = addAndWrapForChecksum(newChecksum, srcPort); in calculateChecksum() 338 newChecksum = addAndWrapForChecksum(newChecksum, dstPort); in calculateChecksum() 339 newChecksum = addAndWrapForChecksum(newChecksum, length()); in calculateChecksum() 343 newChecksum = addAndWrapForChecksum(newChecksum, payloadShortBuffer.get()); in calculateChecksum() 346 newChecksum = in calculateChecksum() 348 newChecksum, (payloadBytes[payloadBytes.length - 1] << 8)); in calculateChecksum() [all …]
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
D | DictionaryBackupAgent.java | 138 long newChecksum = checkSummer.getValue(); in writeIfChanged() local 139 if (oldChecksum == newChecksum) { in writeIfChanged() 148 return newChecksum; in writeIfChanged()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyProvider.java | 907 long newChecksum = getChecksum(confFile); in apnDbUpdateNeeded() local 909 if (DBG) log("newChecksum: " + newChecksum); in apnDbUpdateNeeded() 911 return newChecksum != oldChecksum; in apnDbUpdateNeeded()
|