Home
last modified time | relevance | path

Searched refs:sigs (Results 1 – 10 of 10) 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/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/core/java/android/util/apk/
DApkSignatureVerifier.java472 public final Signature[] sigs; field in ApkSignatureVerifier.Result
475 public Result(Certificate[][] certs, Signature[] sigs, int signingVersion) { in Result() argument
477 this.sigs = sigs; in Result()
/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.cpp1038 sigset_t sigs; in BlockSignal() local
1039 sigemptyset(&sigs); in BlockSignal()
1040 sigaddset(&sigs, signum); in BlockSignal()
1042 if (sigprocmask(SIG_BLOCK, &sigs, nullptr) == -1) { in BlockSignal()
1057 sigset_t sigs; in UnblockSignal() local
1058 sigemptyset(&sigs); in UnblockSignal()
1059 sigaddset(&sigs, signum); in UnblockSignal()
1061 if (sigprocmask(SIG_UNBLOCK, &sigs, nullptr) == -1) { in UnblockSignal()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java1066 final Signature[] sigs = new Signature[signatures.length]; in genSignatures() local
1068 sigs[i] = new Signature(signatures[i].getBytes()); in genSignatures()
1070 return sigs; in genSignatures()