Home
last modified time | relevance | path

Searched refs:cert2 (Results 1 – 3 of 3) sorted by relevance

/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityToDocumentConverterTest.java47 byte[] cert2 = new byte[32]; in testToGenericDocuments()
51 Arrays.fill(cert2, (byte) 2); in testToGenericDocuments()
59 new PackageIdentifier("com.example.test2", cert2)) in testToGenericDocuments()
88 .setPackageSha256Cert(ByteString.copyFrom(cert2)) in testToGenericDocuments()
153 byte[] cert2 = new byte[32]; in testToVisibilityConfig()
157 Arrays.fill(cert2, (byte) 2); in testToVisibilityConfig()
172 .setPackageSha256Cert(ByteString.copyFrom(cert2)) in testToVisibilityConfig()
272 new PackageIdentifier("com.example.test2", cert2)) in testToVisibilityConfig()
281 byte[] cert2 = new byte[32]; in testToGenericDocumentAndBack()
288 Arrays.fill(cert2, (byte) 2); in testToGenericDocumentAndBack()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/kanon/
DKeyAttestationCertificateChainRecordTest.java64 byte[] cert2 = new byte[FAKE_CERT_2.length]; in test_serialize()
65 System.arraycopy(encoded, 8 + FAKE_CERT_1.length, cert2, 0, FAKE_CERT_2.length); in test_serialize()
66 assertArrayEquals(FAKE_CERT_2, cert2); in test_serialize()
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/pps/
DCredential.java1296 public static boolean isX509CertificateEquals(X509Certificate cert1, X509Certificate cert2) { in isX509CertificateEquals() argument
1297 if (cert1 == null && cert2 == null) { in isX509CertificateEquals()
1302 if (cert1 == null || cert2 == null) { in isX509CertificateEquals()
1308 result = Arrays.equals(cert1.getEncoded(), cert2.getEncoded()); in isX509CertificateEquals()