Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DWordListMetadata.java57 final String rawChecksum, final String checksum, final int retryCount, in WordListMetadata() argument
67 mChecksum = checksum; in WordListMetadata()
89 final String checksum = values.getAsString(MetadataDbHelper.CHECKSUM_COLUMN); in createFromContentValues() local
102 || null == checksum in createFromContentValues()
112 checksum, retryCount, localFilename, remoteFilename, version, formatVersion, in createFromContentValues()
DMD5Calculator.java26 public static String checksum(final InputStream in) throws IOException { in checksum() method in MD5Calculator
DMetadataDbHelper.java484 final String rawChecksum, final String checksum, final int retryCount, in makeContentValues() argument
498 result.put(CHECKSUM_COLUMN, checksum); in makeContentValues()
DUpdateHandler.java655 md5sum = MD5Calculator.checksum(copiedFile); in handleWordList()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeEncryptedPayloadBody.java325 byte[] checksum, in combinedModeDecrypt() argument
331 ByteBuffer.allocate(encryptedData.length + checksum.length); in combinedModeDecrypt()
333 dataWithChecksumBuffer.put(checksum); in combinedModeDecrypt()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java1318 private static short checksumAdjust(short checksum, short oldWord, short newWord) {
1319 checksum = (short) ~checksum;
1320 int tempSum = checksumFold(uint16(checksum) + uint16(newWord) + 0xffff - uint16(oldWord));
1333 short checksum = IpUtils.tcpChecksum(buf, ipOffset, transportOffset, transportLen);
1334 return checksumAdjust(checksum, (short) IPPROTO_TCP, (short) IPPROTO_ICMPV6);
1378 final short checksum = icmpv6Checksum(packet, ETHER_HEADER_LEN, transportOffset, icmpLen);
1380 packet.putShort(transportOffset + ICMPV6_CHECKSUM_OFFSET, checksum);
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java565 buf.putShort(udpChecksumOffset, (short) checksum(buf, udpSeed, in fillInPacket()
572 (short) checksum(buf, 0, ipHeaderOffset, endIpHeader)); in fillInPacket()
589 private int checksum(ByteBuffer buf, int seed, int start, int end) { in checksum() method in DhcpPacket
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java652 long checksum = -1; in getChecksum() local
654 checksum = FileUtils.checksumCrc32(file); in getChecksum()
655 if (DBG) log("Checksum for " + file.getAbsolutePath() + " is " + checksum); in getChecksum()
669 checksum += c.getValue(); in getChecksum()
670 if (DBG) log("Checksum after adding resource is " + checksum); in getChecksum()
674 return checksum; in getChecksum()
692 private void setApnConfChecksum(long checksum) { in setApnConfChecksum() argument
695 editor.putLong(APN_CONF_CHECKSUM, checksum); in setApnConfChecksum()
/packages/modules/DnsResolver/
DAndroid.bp142 // integrity check (against a checksum) that is not supported for static
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionaryFileDumper.java315 final String actualRawChecksum = MD5Calculator.checksum( in installWordListToStaging()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...