Home
last modified time | relevance | path

Searched refs:hasAncestorOrSelfWithDigest (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/pm/
DSigningDetailsTest.java933 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 …]
/frameworks/base/core/java/android/content/pm/
DSigningDetails.java414 public boolean hasAncestorOrSelfWithDigest(@Nullable Set<String> certDigests) { in hasAncestorOrSelfWithDigest() method in SigningDetails
DPackageParser.java6219 public boolean hasAncestorOrSelfWithDigest(Set<String> certDigests) { in hasAncestorOrSelfWithDigest() method in PackageParser.SigningDetails
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStarterTests.java422 doReturn(false).when(signingDetails).hasAncestorOrSelfWithDigest(any()); in prepareStarter()
1306 doReturn(true).when(signingDetails).hasAncestorOrSelfWithDigest(any()); in testStartActivityInner_inTaskFragment_allowedTrustedCertUid()
DTaskFragmentTest.java596 when(signingDetails.hasAncestorOrSelfWithDigest(any())) in testIsAllowedToEmbedActivityInTrustedModeByHostPackage()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DAppIdPermissionPolicy.kt1518 androidPackage.signingDetails.hasAncestorOrSelfWithDigest(permission.knownCerts) in <lambda>()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskFragment.java815 return hostPackage.getSigningDetails().hasAncestorOrSelfWithDigest( in isAllowedToEmbedActivityInTrustedModeByHostPackage()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java3456 allowed = pkg.getSigningDetails().hasAncestorOrSelfWithDigest(bp.getKnownCerts());