Searched refs:hasAncestorOrSelfWithDigest (Results 1 – 8 of 8) sorted by relevance
933 assertFalse(details.hasAncestorOrSelfWithDigest(null)); in hasAncestorOrSelfWithDigest_nullSet_returnsFalse()943 assertFalse(details.hasAncestorOrSelfWithDigest(digests)); in hasAncestorOrSelfWithDigest_unknownDetails_returnsFalse()953 assertTrue(details.hasAncestorOrSelfWithDigest(digests)); in hasAncestorOrSelfWithDigest_singleSignerInSet_returnsTrue()963 assertFalse(details.hasAncestorOrSelfWithDigest(digests)); in hasAncestorOrSelfWithDigest_singleSignerNotInSet_returnsFalse()973 assertTrue(details.hasAncestorOrSelfWithDigest(digests)); in hasAncestorOrSelfWithDigest_multipleSignersInSet_returnsTrue()984 assertFalse(details.hasAncestorOrSelfWithDigest(digests)); in hasAncestorOrSelfWithDigest_multipleSignersNotInSet_returnsFalse()996 assertFalse(details.hasAncestorOrSelfWithDigest(digests)); in hasAncestorOrSelfWithDigest_multipleSignersOneInSet_returnsFalse()1006 assertTrue(details.hasAncestorOrSelfWithDigest(digests)); in hasAncestorOrSelfWithDigest_lineageSignerInSet_returnsTrue()1016 assertFalse(details.hasAncestorOrSelfWithDigest(digests)); in hasAncestorOrSelfWithDigest_lineageSignerNotInSet_returnsFalse()1029 assertTrue(details.hasAncestorOrSelfWithDigest(digests)); in hasAncestorOrSelfWithDigest_lastSignerInLineageInSet_returnsTrue()[all …]
414 public boolean hasAncestorOrSelfWithDigest(@Nullable Set<String> certDigests) { in hasAncestorOrSelfWithDigest() method in SigningDetails
6219 public boolean hasAncestorOrSelfWithDigest(Set<String> certDigests) { in hasAncestorOrSelfWithDigest() method in PackageParser.SigningDetails
422 doReturn(false).when(signingDetails).hasAncestorOrSelfWithDigest(any()); in prepareStarter()1306 doReturn(true).when(signingDetails).hasAncestorOrSelfWithDigest(any()); in testStartActivityInner_inTaskFragment_allowedTrustedCertUid()
596 when(signingDetails.hasAncestorOrSelfWithDigest(any())) in testIsAllowedToEmbedActivityInTrustedModeByHostPackage()
1518 androidPackage.signingDetails.hasAncestorOrSelfWithDigest(permission.knownCerts) in <lambda>()
815 return hostPackage.getSigningDetails().hasAncestorOrSelfWithDigest( in isAllowedToEmbedActivityInTrustedModeByHostPackage()
3456 allowed = pkg.getSigningDetails().hasAncestorOrSelfWithDigest(bp.getKnownCerts());