Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/backup/
DBackupUtils.java119 public static ArrayList<byte[]> hashSignatureArray(Signature[] sigs) { in hashSignatureArray() argument
120 if (sigs == null) { in hashSignatureArray()
124 ArrayList<byte[]> hashes = new ArrayList<>(sigs.length); in hashSignatureArray()
125 for (Signature s : sigs) { in hashSignatureArray()
131 public static ArrayList<byte[]> hashSignatureArray(List<byte[]> sigs) { in hashSignatureArray() argument
132 if (sigs == null) { in hashSignatureArray()
136 ArrayList<byte[]> hashes = new ArrayList<>(sigs.size()); in hashSignatureArray()
137 for (byte[] s : sigs) { in hashSignatureArray()
/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java507 ArrayList<byte[]> sigs = new ArrayList<byte[]>(num); in readSignatureHashArray() local
512 sigs.add(readHash); in readSignatureHashArray()
520 sigs = BackupUtils.hashSignatureArray(sigs); in readSignatureHashArray()
523 return sigs; in readSignatureHashArray()
725 ArrayList<byte[]> sigs = readSignatureHashArray(inputBufferStream); in consumeRestoreData() local
729 + " versionCode=" + versionCode + " sigs=" + sigs); in consumeRestoreData()
732 if (sigs == null || sigs.size() == 0) { in consumeRestoreData()
741 sigMap.put(key, new Metadata(versionCode, sigs)); in consumeRestoreData()
810 ArrayList<byte[]> sigs = readSignatureHashArray(inputBufferStream); in consumeRestoreData() local
814 + " versionCode=" + versionCode + " sigs=" + sigs); in consumeRestoreData()
[all …]
/frameworks/base/services/tests/servicestests/assets/PackageSignaturesTest/xml/
DREADME24 <sigs count="1" schemeVersion="3">
34 </sigs>
38 The PackageSignatures#readXml and writeXml methods read and write everything within the sigs tag.
39 The tags and attributes within the sigs tag can be modified and used to verify various good and
/frameworks/base/core/java/android/util/apk/
DApkSignatureVerifier.java454 public final Signature[] sigs; field in ApkSignatureVerifier.Result
457 public Result(Certificate[][] certs, Signature[] sigs, int signingVersion) { in Result() argument
459 this.sigs = sigs; in Result()
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup.cpp257 std::vector<uint32_t> sigs; in execute() local
265 sigs.push_back(mtls.fep.usrLen); in execute()
269 sl.sigs = sigs.data(); in execute()
DrsCpuScriptGroup.h49 uint32_t const *sigs; member
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DRestoreUtils.java159 Signature[] sigs = manifestSignatures.get(info.packageName); in installApk() local
162 if (AppBackupUtils.signaturesMatch(sigs, pkg, pmi)) { in installApk()
DTarBackupReader.java317 Signature[] sigs = new Signature[numSigs]; in readAppManifestAndReturnSignatures() local
320 sigs[i] = new Signature(str[0]); in readAppManifestAndReturnSignatures()
322 return sigs; in readAppManifestAndReturnSignatures()
/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp965 sigset_t sigs; in BlockSignal() local
966 sigemptyset(&sigs); in BlockSignal()
967 sigaddset(&sigs, signum); in BlockSignal()
969 if (sigprocmask(SIG_BLOCK, &sigs, nullptr) == -1) { in BlockSignal()
984 sigset_t sigs; in UnblockSignal() local
985 sigemptyset(&sigs); in UnblockSignal()
986 sigaddset(&sigs, signum); in UnblockSignal()
988 if (sigprocmask(SIG_UNBLOCK, &sigs, nullptr) == -1) { in UnblockSignal()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java1042 final Signature[] sigs = new Signature[signatures.length]; in genSignatures() local
1044 sigs[i] = new Signature(signatures[i].getBytes()); in genSignatures()
1046 return sigs; in genSignatures()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt71488 Landroid/util/apk/ApkSignatureVerifier$Result;->sigs:[Landroid/content/pm/Signature;
103455 Ljava/io/ObjectStreamClass$FieldReflectorKey;->sigs:Ljava/lang/String;