Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/backup/
DBackupUtils.java109 public static ArrayList<byte[]> hashSignatureArray(Signature[] sigs) { in hashSignatureArray() argument
110 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() argument
122 if (sigs == null) { in hashSignatureArray()
126 ArrayList<byte[]> hashes = new ArrayList<>(sigs.size()); in hashSignatureArray()
127 for (byte[] s : sigs) { in hashSignatureArray()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSignatures.java40 PackageSignatures(Signature[] sigs) { in PackageSignatures() argument
41 assignSignatures(sigs); in PackageSignatures()
177 void assignSignatures(Signature[] sigs) { in assignSignatures() argument
178 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()
/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java411 ArrayList<byte[]> sigs = readSignatureHashArray(inputBufferStream); in onRestore() local
415 + " 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() local
476 sigs.add(readHash); in readSignatureHashArray()
484 sigs = BackupUtils.hashSignatureArray(sigs); in readSignatureHashArray()
487 return sigs; in readSignatureHashArray()
DBackupManagerService.java5838 Signature[] sigs = mManifestSignatures.get(info.packageName); in installApk() local
5839 if (signaturesMatch(sigs, pkg)) { in installApk()
6002 Signature[] sigs = new Signature[numSigs]; in readAppManifest() local
6005 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() local
7268 if (signaturesMatch(sigs, pkg)) { in installApk()
7424 Signature[] sigs = new Signature[numSigs]; in readAppManifest() local
7427 sigs[i] = new Signature(str[0]); in readAppManifest()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/
DBackupUtilsTest.java35 final Signature[] sigs = new Signature[signatures.length]; in genSignatures() local
37 sigs[i] = new Signature(signatures[i].getBytes()); in genSignatures()
39 return sigs; in genSignatures()
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup.cpp259 Vector<uint32_t> sigs; in execute() local
267 sigs.add(mtls.fep.usrLen); in execute()
271 sl.sigs = sigs.array(); in execute()
DrsCpuScriptGroup.h49 uint32_t const *sigs; member
/frameworks/base/services/core/java/com/android/server/
DServiceWatcher.java95 Signature[] sigs = pm.getPackageInfo(pkg, PackageManager.MATCH_SYSTEM_ONLY in getSignatureSets() local
97 set.addAll(Arrays.asList(sigs)); in getSignatureSets()