Home
last modified time | relevance | path

Searched refs:checkSum (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/Provision/src/com/android/car/provision/
DDpcInfo.java31 public final String checkSum; field in DpcInfo
35 String receiverName, String checkSum, String downloadUrl) { in DpcInfo() argument
40 this.checkSum = checkSum; in DpcInfo()
63 + ", checkSum=" + checkSum in toString()
DDefaultActivity.java230 String checkSum = null; in addDpc() local
249 checkSum = args[++i]; in addDpc()
265 DpcInfo dpc = new DpcInfo(name, packageName, legacyActivityName, receiverName, checkSum, in addDpc()
472 if (dpcInfo.checkSum != null) { in launchProvisioningWorkflow()
473 intent.putExtra(EXTRA_PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM, dpcInfo.checkSum); in launchProvisioningWorkflow()
/packages/apps/Provision/src/com/android/provision/
DDpcInfo.java42 public final String checkSum; field in DpcInfo
58 private DpcInfo(String packageName, String receiverName, String checkSum, String downloadUrl, in DpcInfo() argument
64 this.checkSum = checkSum; in DpcInfo()
80 + ", checkSum=" + checkSum in toString()
DDefaultActivity.java134 if (dpcInfo.checkSum != null) { in provisionDeviceOwner()
135 intent.putExtra(EXTRA_PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM, dpcInfo.checkSum); in provisionDeviceOwner()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBlobCache.java219 if (checkSum(buf, 0, IH_CHECKSUM) != sum) { in loadIndex()
312 writeInt(buf, IH_CHECKSUM, checkSum(buf, 0, IH_CHECKSUM)); in resetCache()
345 checkSum(mIndexHeader, 0, IH_CHECKSUM)); in updateIndexHeader()
399 int sum = checkSum(data); in insertInternal()
528 if (checkSum(blob, 0, length) != sum) { in getBlob()
619 int checkSum(byte[] data) { in checkSum() method in BlobCache
625 int checkSum(byte[] data, int offset, int nbytes) { in checkSum() method in BlobCache
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessageTest.java510 byte[] checkSum = TestUtils.hexStringToByteArray(IKE_EMPTY_INFO_MSG_CHECKSUM_HEX_STRING); in testEncodeAndEncryptEmptyMsg()
511 doReturn(checkSum.length).when(mMockIntegrity).getChecksumLen(); in testEncodeAndEncryptEmptyMsg()
512 doReturn(checkSum).when(mMockIntegrity).generateChecksum(any(), any()); in testEncodeAndEncryptEmptyMsg()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java755 long checkSum = -1; in getChecksum() local
764 checkSum = checkSummer.getValue(); in getChecksum()
765 if (DBG) log("Checksum for " + file.getAbsolutePath() + " is " + checkSum); in getChecksum()
779 checkSum += checkSummer.getValue(); in getChecksum()
784 return checkSum; in getChecksum()