Searched refs:sigs (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/services/core/java/com/android/server/backup/ |
D | BackupUtils.java | 119 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/ |
D | PackageManagerBackupAgent.java | 507 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/ |
D | README | 24 <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/ |
D | rsCpuScriptGroup.cpp | 257 std::vector<uint32_t> sigs; in execute() local 265 sigs.push_back(mtls.fep.usrLen); in execute() 269 sl.sigs = sigs.data(); in execute()
|
D | rsCpuScriptGroup.h | 49 uint32_t const *sigs; member
|
/frameworks/base/core/java/android/util/apk/ |
D | ApkSignatureVerifier.java | 472 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/ |
D | RestoreUtils.java | 159 Signature[] sigs = manifestSignatures.get(info.packageName); in installApk() local 162 if (AppBackupUtils.signaturesMatch(sigs, pkg, pmi)) { in installApk()
|
D | TarBackupReader.java | 317 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/ |
D | com_android_internal_os_Zygote.cpp | 1038 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/ |
D | BaseShortcutManagerTest.java | 1066 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()
|