Searched refs:sigs (Results 1 – 8 of 8) sorted by relevance
109 public static ArrayList<byte[]> hashSignatureArray(Signature[] sigs) { in hashSignatureArray() argument110 if (sigs == null) { in hashSignatureArray()114 ArrayList<byte[]> hashes = new ArrayList<>(sigs.length); in hashSignatureArray()115 for (Signature s : sigs) { in hashSignatureArray()121 public static ArrayList<byte[]> hashSignatureArray(List<byte[]> sigs) { in hashSignatureArray() argument122 if (sigs == null) { in hashSignatureArray()126 ArrayList<byte[]> hashes = new ArrayList<>(sigs.size()); in hashSignatureArray()127 for (byte[] s : sigs) { in hashSignatureArray()
40 PackageSignatures(Signature[] sigs) { in PackageSignatures() argument41 assignSignatures(sigs); in PackageSignatures()177 void assignSignatures(Signature[] sigs) { in assignSignatures() argument178 if (sigs == null) { in assignSignatures()182 mSignatures = new Signature[sigs.length]; in assignSignatures()183 for (int i=0; i<sigs.length; i++) { in assignSignatures()184 mSignatures[i] = sigs[i]; in assignSignatures()
411 ArrayList<byte[]> sigs = readSignatureHashArray(inputBufferStream); in onRestore() local415 + " versionCode=" + versionCode + " sigs=" + sigs); in onRestore()418 if (sigs == null || sigs.size() == 0) { in onRestore()427 sigMap.put(key, new Metadata(versionCode, sigs)); in onRestore()471 ArrayList<byte[]> sigs = new ArrayList<byte[]>(num); in readSignatureHashArray() local476 sigs.add(readHash); in readSignatureHashArray()484 sigs = BackupUtils.hashSignatureArray(sigs); in readSignatureHashArray()487 return sigs; in readSignatureHashArray()
5838 Signature[] sigs = mManifestSignatures.get(info.packageName); in installApk() local5839 if (signaturesMatch(sigs, pkg)) { in installApk()6002 Signature[] sigs = new Signature[numSigs]; in readAppManifest() local6005 sigs[i] = new Signature(str[0]); in readAppManifest()6007 mManifestSignatures.put(info.packageName, sigs); in readAppManifest()6027 if (signaturesMatch(sigs, pkgInfo)) { in readAppManifest()7267 Signature[] sigs = mManifestSignatures.get(info.packageName); in installApk() local7268 if (signaturesMatch(sigs, pkg)) { in installApk()7424 Signature[] sigs = new Signature[numSigs]; in readAppManifest() local7427 sigs[i] = new Signature(str[0]); in readAppManifest()[all …]
35 final Signature[] sigs = new Signature[signatures.length]; in genSignatures() local37 sigs[i] = new Signature(signatures[i].getBytes()); in genSignatures()39 return sigs; in genSignatures()
259 Vector<uint32_t> sigs; in execute() local267 sigs.add(mtls.fep.usrLen); in execute()271 sl.sigs = sigs.array(); in execute()
49 uint32_t const *sigs; member
95 Signature[] sigs = pm.getPackageInfo(pkg, PackageManager.MATCH_SYSTEM_ONLY in getSignatureSets() local97 set.addAll(Arrays.asList(sigs)); in getSignatureSets()