Home
last modified time | relevance | path

Searched refs:signatures (Results 1 – 12 of 12) sorted by relevance

/cts/hostsidetests/appsecurity/test-apps/V3SigningSchemeRotation/src/android/appsecurity/cts/v3rotationtests/
DV3RotationTest.java106 assertNotNull("Failed to get signatures in PackageInfo of " + PKG, pi.signatures); in testGetSignaturesShowsOld()
108 1, pi.signatures.length); in testGetSignaturesShowsOld()
110 pi.signatures[0].toCharsString(), FIRST_CERT_HEX); in testGetSignaturesShowsOld()
/cts/tests/tests/security/src/android/security/cts/
DPackageSignatureTest.java59 for (Signature signature : packageInfo.signatures) { in testPackageSignatures()
172 int numSignatures = packageInfo.signatures.length; in writeSignature()
175 Signature signature = packageInfo.signatures[i]; in writeSignature()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageInfoTest.java86 checkSignatureInfo(expected.signatures, actual.signatures); in checkPkgInfoSame()
DPackageManagerTest.java579 pkgInfo.signatures); in testGetPackageArchiveInfo()
988 assertThat(packageInfo.signatures) in assertShimApexInfoIsCorrect()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DPackageUtil.java96 messageDigest.update(packageInfo.signatures[0].toByteArray()); in computePackageSignatureDigest()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DPackageUtil.java128 messageDigest.update(packageInfo.signatures[0].toByteArray()); in computePackageSignatureDigest()
/cts/tests/security/src/android/keystore/cts/
DAttestationApplicationId.java60 for (Signature signature : packageInfo.signatures) { in AttestationApplicationId()
/cts/tests/tests/provider/src/android/provider/cts/
DFontsContractTest.java69 for (Signature sig : info.signatures) {
/cts/tests/tests/net/src/android/net/cts/
DConnectivityDiagnosticsManagerTest.java227 final byte[] certHash = md.digest(pkgInfo.signatures[0].toByteArray()); in getCertHashForThisPackage()
/cts/tests/tests/os/src/android/os/cts/
DParcelTest.java461 Signature[] signatures = {new Signature("1234"), in testReadValue() local
466 p.writeValue(signatures); in testReadValue()
469 for (int i = 0; i < signatures.length; i++) { in testReadValue()
470 assertEquals(signatures[i], signatures2[i]); in testReadValue()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DCarrierApiTest.java220 return bytesToHexString(md.digest(pInfo.signatures[0].toByteArray())); in getCertHash()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyManagerTest.java264 return IccUtils.bytesToHexString(md.digest(pInfo.signatures[0].toByteArray())); in getCertHash()