Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/backup/
DBackupUtils.java121 public static ArrayList<byte[]> hashSignatureArray(Signature[] sigs) { in hashSignatureArray() argument
122 if (sigs == null) { in hashSignatureArray()
126 ArrayList<byte[]> hashes = new ArrayList<>(sigs.length); in hashSignatureArray()
127 for (Signature s : sigs) { in hashSignatureArray()
133 public static ArrayList<byte[]> hashSignatureArray(List<byte[]> sigs) { in hashSignatureArray() argument
134 if (sigs == null) { in hashSignatureArray()
138 ArrayList<byte[]> hashes = new ArrayList<>(sigs.size()); in hashSignatureArray()
139 for (byte[] s : sigs) { in hashSignatureArray()
/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java515 ArrayList<byte[]> sigs = new ArrayList<byte[]>(num); in readSignatureHashArray() local
520 sigs.add(readHash); in readSignatureHashArray()
528 sigs = BackupUtils.hashSignatureArray(sigs); in readSignatureHashArray()
531 return sigs; in readSignatureHashArray()
764 ArrayList<byte[]> sigs = readSignatureHashArray(inputBufferStream); in consumeRestoreData() local
775 + sigs); in consumeRestoreData()
778 if (sigs == null || sigs.size() == 0) { in consumeRestoreData()
793 sigMap.put(key, new Metadata(versionCode, sigs)); in consumeRestoreData()
878 ArrayList<byte[]> sigs = readSignatureHashArray(inputBufferStream); in consumeRestoreData() local
889 + sigs); in consumeRestoreData()
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/server/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/tools/apilint/
Ddeprecated_at_birth.py289 sigs = { i.ident: i for i in prev_clazz.ctors } variable
290 cur_clazz.ctors = [ i for i in cur_clazz.ctors if i.ident not in sigs ]
291 sigs = { i.ident: i for i in prev_clazz.methods } variable
292 cur_clazz.methods = [ i for i in cur_clazz.methods if i.ident not in sigs ]
293 sigs = { i.ident: i for i in prev_clazz.fields } variable
294 cur_clazz.fields = [ i for i in cur_clazz.fields if i.ident not in sigs ]
/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.java165 Signature[] sigs = manifestSignatures.get(info.packageName); in installApk() local
171 if (eligibilityRules.signaturesMatch(sigs, pkg)) { in installApk()
DTarBackupReader.java325 Signature[] sigs = new Signature[numSigs]; in readAppManifestAndReturnSignatures() local
328 sigs[i] = new Signature(str[0]); in readAppManifestAndReturnSignatures()
330 return sigs; in readAppManifestAndReturnSignatures()
/frameworks/base/core/java/android/util/apk/
DApkSignatureVerifier.java584 public final Signature[] sigs; field in ApkSignatureVerifier.Result
587 public Result(Certificate[][] certs, Signature[] sigs, int signingVersion) { in Result() argument
589 this.sigs = sigs; in Result()
/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp1017 sigset_t sigs; in BlockSignal() local
1018 sigemptyset(&sigs); in BlockSignal()
1019 sigaddset(&sigs, signum); in BlockSignal()
1021 if (sigprocmask(SIG_BLOCK, &sigs, nullptr) == -1) { in BlockSignal()
1036 sigset_t sigs; in UnblockSignal() local
1037 sigemptyset(&sigs); in UnblockSignal()
1038 sigaddset(&sigs, signum); in UnblockSignal()
1040 if (sigprocmask(SIG_UNBLOCK, &sigs, nullptr) == -1) { in UnblockSignal()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java1170 final Signature[] sigs = new Signature[signatures.length]; in genSignatures() local
1172 sigs[i] = new Signature(signatures[i].getBytes()); in genSignatures()
1174 return sigs; in genSignatures()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt56822 Landroid/util/apk/ApkSignatureVerifier$Result;->sigs:[Landroid/content/pm/Signature;