Searched refs:signatures (Results 1 – 21 of 21) sorted by relevance
76 public final Signature[] signatures; field in AppBlockingPackageInfo85 @ConstructorFlags int flags, @Nullable Signature[] signatures, in AppBlockingPackageInfo() argument94 this.signatures = signatures; in AppBlockingPackageInfo()104 signatures = in.createTypedArray(Signature.CREATOR); in AppBlockingPackageInfo()120 dest.writeTypedArray(signatures, 0); in writeToParcel()137 if (signatures == null && (flags & FLAG_SYSTEM_APP) == 0) { in verify()168 result = prime * result + Arrays.hashCode(signatures); in hashCode()201 if (!Arrays.equals(signatures, other.signatures)) { in equals()211 + ", signatures=" + Arrays.toString(signatures) + ", activities=" in toString()
52 Signature[] signatures; in getAppBlockingPolicy() local54 signatures = pm.getPackageInfo(packageName, in getAppBlockingPolicy()55 PackageManager.GET_SIGNATURES).signatures; in getAppBlockingPolicy()61 signatures, null); in getAppBlockingPolicy()
61 Signature[] signatures; in createInfoSelf() local63 signatures = pm.getPackageInfo(packageName, in createInfoSelf()64 PackageManager.GET_SIGNATURES).signatures; in createInfoSelf()69 return new AppBlockingPackageInfo(packageName, 0, 100, 0, signatures, activties); in createInfoSelf()
265 Signature[] signatures = packageInfo.signatures; in isCallerIdInstalled() local266 if (signatures.length > 1) { in isCallerIdInstalled()271 byte[] sha256Bytes = getSHA256(signatures[0].toByteArray()); in isCallerIdInstalled()
135 private List<byte[]> computeHashesOfAllSignatures(Signature[] signatures) { in computeHashesOfAllSignatures() argument136 if (signatures == null) { in computeHashesOfAllSignatures()141 for (Signature signature : signatures) { in computeHashesOfAllSignatures()152 List<byte[]> sigHashes = computeHashesOfAllSignatures(packageInfo.signatures); in doesASignatureHashMatch()
102 && packageInfo.signatures != null in getCertificateFingerprint()103 && packageInfo.signatures.length > 0) { in getCertificateFingerprint()110 byte[] bytes = messageDigest.digest(packageInfo.signatures[0].toByteArray()); in getCertificateFingerprint()
538 Signature[] signatures = packageInfo.signatures; in isInstalledPackageMatching() local539 if (!isAnySignatureMatching(signatures, info.signatures)) { in isInstalledPackageMatching()780 Signature[] signatures; in generateActivityWhitelistAsUser() local781 signatures = info.signatures; in generateActivityWhitelistAsUser()783 info.packageName, 0, 0, flags, signatures, in generateActivityWhitelistAsUser()
303 Signature[] signatures = new Signature[]{new Signature(PACKAGE_NAME.getBytes())}; in onStart_bundledApp_systemPackage_disablesDisableButton() local304 packageInfo.signatures = signatures; in onStart_bundledApp_systemPackage_disablesDisableButton()308 systemPackage.signatures = signatures; in onStart_bundledApp_systemPackage_disablesDisableButton()
176 if (packageInfo.signatures.length != 1) { in hasAccessToService()179 Signature signature = packageInfo.signatures[0]; in hasAccessToService()
85 mPackageInfo.signatures = TEST_SIGNATURES; in setUp()169 mPackageInfo.signatures = null; in testSignatureHash_noSignature()
333 return (pi != null && pi.signatures != null && in isPlatformSigned()334 mSysPackageInfo.signatures[0].equals(pi.signatures[0])); in isPlatformSigned()
389 return (pi != null && pi.signatures != null && in isPlatformSigned()390 mSysPackageInfo.signatures[0].equals(pi.signatures[0])); in isPlatformSigned()
374 for (Signature signature : foundPkgInfo.signatures) { in getAppCertHashes()
338 field public final android.content.pm.Signature[] signatures;
333 field public final android.content.pm.Signature[] signatures;
250 field public final android.content.pm.Signature[] signatures;
1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...