Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/content/pm/
DSignatureTest.java45 assertTrue(Signature.areEffectiveMatch(asArray(A), asArray(A))); in testEffectiveMatch()
46 assertTrue(Signature.areEffectiveMatch(asArray(M), asArray(M))); in testEffectiveMatch()
48 assertFalse(Signature.areEffectiveMatch(asArray(A), asArray(B))); in testEffectiveMatch()
49 assertTrue(Signature.areEffectiveMatch(asArray(A), asArray(M))); in testEffectiveMatch()
50 assertTrue(Signature.areEffectiveMatch(asArray(M), asArray(A))); in testEffectiveMatch()
52 assertTrue(Signature.areEffectiveMatch(asArray(A, M), asArray(M, A))); in testEffectiveMatch()
53 assertTrue(Signature.areEffectiveMatch(asArray(A, B), asArray(M, B))); in testEffectiveMatch()
54 assertFalse(Signature.areEffectiveMatch(asArray(A, M), asArray(A, B))); in testEffectiveMatch()
/frameworks/base/core/java/android/content/pm/
DSignature.java271 public static boolean areEffectiveMatch(Signature[] a, Signature[] b) in areEffectiveMatch() method in Signature
300 public static boolean areEffectiveMatch(Signature a, Signature b) in areEffectiveMatch() method in Signature
DPackageParser.java5882 if (Signature.areEffectiveMatch( in checkCapabilityRecover()
5890 return Signature.areEffectiveMatch(oldDetails.signatures, signatures); in checkCapabilityRecover()