Home
last modified time | relevance | path

Searched refs:verifier (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardTestUtilsTests.java39 final VCardVerifier verifier = new VCardVerifier(this); in testShouldFailAtPropertyNodeVerification() local
40 verifier.initForImportTest(VCardConfig.VCARD_TYPE_V21_GENERIC, R.raw.v21_backslash); in testShouldFailAtPropertyNodeVerification()
41 verifier.addPropertyNodesVerifierElem() in testShouldFailAtPropertyNodeVerification()
45 verifier.verify(); in testShouldFailAtPropertyNodeVerification()
57 final VCardVerifier verifier = new VCardVerifier(this); in testShouldFailAtContentValueVerification() local
58 verifier.initForImportTest(VCardConfig.VCARD_TYPE_V21_GENERIC, R.raw.v21_backslash); in testShouldFailAtContentValueVerification()
59 verifier.addContentValuesVerifierElem() in testShouldFailAtContentValueVerification()
66 verifier.verify(); in testShouldFailAtContentValueVerification()
78 final VCardVerifier verifier = new VCardVerifier(this); in testShouldFailAtLineVerification() local
79 verifier.initForExportTest(VCardConfig.VCARD_TYPE_V30_GENERIC); in testShouldFailAtLineVerification()
[all …]
DVCardImporterTests.java1051 ContentValuesVerifier verifier = new ContentValuesVerifier(); in testIgnoreAgentV21() local
/frameworks/base/core/java/android/util/jar/
DStrictJarFile.java57 private final StrictJarVerifier verifier; field in StrictJarFile
115 this.verifier = in StrictJarFile()
128 isSigned = verifier.readCertificates() && verifier.isSignedJar(); in StrictJarFile()
132 this.verifier = null; in StrictJarFile()
166 return verifier.getCertificateChains(ze.getName()); in getCertificateChains()
185 Certificate[][] certChains = verifier.getCertificateChains(ze.getName()); in getCertificates()
211 StrictJarVerifier.VerifierEntry entry = verifier.initEntry(ze.getName()); in getInputStream()
/frameworks/base/services/core/java/com/android/server/signedconfig/
DSignatureVerifier.java80 Signature verifier = Signature.getInstance("SHA256withECDSA"); in verifyWithPublicKey() local
81 verifier.initVerify(key); in verifyWithPublicKey()
82 verifier.update(data); in verifyWithPublicKey()
83 return verifier.verify(signature); in verifyWithPublicKey()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
DCertUtils.java247 Signature verifier; in verifyRsaSha256Signature() local
249 verifier = Signature.getInstance(SIGNATURE_ALG); in verifyRsaSha256Signature()
255 verifier.initVerify(signerPublicKey); in verifyRsaSha256Signature()
256 verifier.update(signedBytes); in verifyRsaSha256Signature()
257 if (!verifier.verify(signature)) { in verifyRsaSha256Signature()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java756 final ISystemGestureExclusionListener.Stub verifier = in testUpdateSystemGestureExclusion() local
768 dc.registerSystemGestureExclusionListener(verifier); in testUpdateSystemGestureExclusion()
770 dc.unregisterSystemGestureExclusionListener(verifier); in testUpdateSystemGestureExclusion()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerServiceTest.java595 Map<Integer, UidRecord.ChangeItem> changeItems, ObserverChangesVerifier verifier) in verifyObserverReceivedChanges() argument
599 verifier.verify(observer, changeItem); in verifyObserverReceivedChanges()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java445 final String verifier = ArrayUtils.firstOrNull(getKnownPackages( in grantDefaultSystemHandlerPermissions() local
447 grantSystemFixedPermissionsToSystemPackage(verifier, userId, STORAGE_PERMISSIONS); in grantDefaultSystemHandlerPermissions()
448 grantPermissionsToSystemPackage(verifier, userId, PHONE_PERMISSIONS, SMS_PERMISSIONS); in grantDefaultSystemHandlerPermissions()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1817 final VerifierInfo verifier = parseVerifier(attrs); in parseApkLite() local
1818 if (verifier != null) { in parseApkLite()
1819 verifiers.add(verifier); in parseApkLite()