Home
last modified time | relevance | path

Searched refs:signatures (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/core/java/android/webkit/
DWebViewProviderInfo.java32 boolean availableByDefault, boolean isFallback, String[] signatures) { in WebViewProviderInfo() argument
37 this.signatures = signatures; in WebViewProviderInfo()
57 signatures = in.createStringArray(); in WebViewProviderInfo()
71 out.writeStringArray(signatures); in writeToParcel()
79 public final String[] signatures; field in WebViewProviderInfo
DWebViewFactory.java251 if (!signaturesEquals(chosen.signatures, toUse.signatures)) { in verifyPackageInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/
DBackupUtilsTest.java34 private Signature[] genSignatures(String... signatures) { in genSignatures() argument
35 final Signature[] sigs = new Signature[signatures.length]; in genSignatures()
36 for (int i = 0; i < signatures.length; i++){ in genSignatures()
37 sigs[i] = new Signature(signatures[i].getBytes()); in genSignatures()
42 private PackageInfo genPackage(String... signatures) { in genPackage() argument
46 pi.signatures = genSignatures(signatures); in genPackage()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DUtils.java101 Signature[] signatures = context.getPackageManager().getPackageInfo(packageName, in getCertFingerprintsFromPackageManager() local
102 PackageManager.GET_SIGNATURES).signatures; in getCertFingerprintsFromPackageManager()
103 ArrayList<String> result = new ArrayList<String>(signatures.length); in getCertFingerprintsFromPackageManager()
104 for (Signature sig : signatures) { in getCertFingerprintsFromPackageManager()
/frameworks/base/services/core/java/com/android/server/
DServiceWatcher.java96 | PackageManager.GET_SIGNATURES).signatures; in getSignatureSets()
207 if (!isSignatureMatch(pInfo.signatures)) { in bindBestPackageLocked()
286 public static boolean isSignatureMatch(Signature[] signatures, in isSignatureMatch() argument
288 if (signatures == null) return false; in isSignatureMatch()
292 for (Signature s : signatures) { in isSignatureMatch()
305 private boolean isSignatureMatch(Signature[] signatures) { in isSignatureMatch() argument
306 return isSignatureMatch(signatures, mSignatureSets); in isSignatureMatch()
/frameworks/compile/mclinker/include/mcld/LD/
DObjectReader.h47 GroupSignatureMap& signatures() { return f_GroupSignatureMap; } in signatures() function
49 const GroupSignatureMap& signatures() const { return f_GroupSignatureMap; } in signatures() function
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageInfo.java110 if (pi.signatures == null || pi.signatures.length == 0) { in generateForInstalledPackage()
115 BackupUtils.hashSignatureArray(pi.signatures), /* shadow=*/ false); in generateForInstalledPackage()
134 mSigHashes = BackupUtils.hashSignatureArray(pi.signatures); in refresh()
DPackageSettingBase.java102 PackageSignatures signatures = new PackageSignatures(); field in PackageSettingBase
174 signatures = new PackageSignatures(base.signatures); in PackageSettingBase()
250 signatures = base.signatures; in copyFrom()
DSharedUserSetting.java35 final PackageSignatures signatures = new PackageSignatures(); field in SharedUserSetting
/frameworks/base/services/core/java/com/android/server/webkit/
DSystemImpl.java166 List<String> signatures = new ArrayList<String>(); in readSignatures() local
172 signatures.add(signature); in readSignatures()
177 return signatures.toArray(new String[signatures.size()]); in readSignatures()
DWebViewUpdateServiceImpl.java636 if (provider.signatures == null || provider.signatures.length == 0) { in providerHasValidSignature()
639 packageSignatures = packageInfo.signatures; in providerHasValidSignature()
645 for (String signature : provider.signatures) { in providerHasValidSignature()
/frameworks/base/core/java/android/content/pm/
DPackageInfo.java193 public Signature[] signatures; field in PackageInfo
316 dest.writeTypedArray(signatures, parcelableFlags); in writeToParcel()
365 signatures = source.createTypedArray(Signature.CREATOR); in PackageInfo()
DPackageParser.java383 public final Signature[] signatures; field in PackageParser.ApkLite
392 Signature[] signatures, Certificate[][] certificates, boolean coreApp, in ApkLite() argument
401 this.signatures = signatures; in ApkLite()
620 pi.signatures = new Signature[N]; in generatePackageInfo()
621 System.arraycopy(p.mSignatures, 0, pi.signatures, 0, N); in generatePackageInfo()
1157 Signature[] signatures = null; in collectCertificates() local
1161 signatures = convertToSignatures(allSignersCerts); in collectCertificates()
1179 pkg.mSignatures = signatures; in collectCertificates()
1187 if (!Signature.areExactMatch(pkg.mSignatures, signatures)) { in collectCertificates()
1325 final Signature[] signatures; in parseApkLite() local
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java182 if (pkg != null && pkg.signatures != null && pkg.signatures.length > 0) { in getFirstSignature()
183 return pkg.signatures[0]; in getFirstSignature()
/frameworks/base/core/java/android/util/jar/
DStrictJarVerifier.java79 private final Hashtable<String, HashMap<String, Attributes>> signatures = field in StrictJarVerifier
201 if (manifest == null || signatures.isEmpty()) { in initEntry()
212 … Iterator<Map.Entry<String, HashMap<String, Attributes>>> it = signatures.entrySet().iterator(); in initEntry()
458 signatures.put(signatureFile, entries); in verifyCertificate()
/frameworks/compile/mclinker/lib/LD/
DELFObjectReader.cpp129 signatures().insert((*section)->name(), exist); in readSections()
131 signatures().insert(signature->name(), exist); in readSections()
159 signatures().insert(name.split(".").second, exist); in readSections()
/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java208 homeSigHashes = BackupUtils.hashSignatureArray(homeInfo.signatures); in onBackup()
293 if (info.signatures == null || info.signatures.length == 0) in onBackup()
312 BackupUtils.hashSignatureArray(info.signatures)); in onBackup()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java3077 pi.signatures.length == 1); in testSigChangeAfterUpgrade()
3078 String sigBefore = pi.signatures[0].toCharsString(); in testSigChangeAfterUpgrade()
3085 pi.signatures.length == 1); in testSigChangeAfterUpgrade()
3086 String sigAfter = pi.signatures[0].toCharsString(); in testSigChangeAfterUpgrade()
3104 pi.signatures.length == 1); in testSigSameAfterUpgrade()
3105 String sigBefore = pi.signatures[0].toCharsString(); in testSigSameAfterUpgrade()
3112 pi.signatures.length == 1); in testSigSameAfterUpgrade()
3113 String sigAfter = pi.signatures[0].toCharsString(); in testSigSameAfterUpgrade()
3131 pi.signatures.length == 2); in testSigRemovedAfterUpgrade()
3133 for (int i = 0; i < pi.signatures.length; i++) { in testSigRemovedAfterUpgrade()
[all …]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
DFwdLockConv.h51 unsigned char signatures[FWD_LOCK_SIGNATURES_SIZE]; member
DFwdLockConv.c1214 HMAC_Final(&pSession->signingContext, pOutput->fromCloseSession.signatures, in FwdLockConv_CloseSession()
1227 HMAC_Update(&pSession->signingContext, pOutput->fromCloseSession.signatures, in FwdLockConv_CloseSession()
1230 &pOutput->fromCloseSession.signatures[SHA1_HASH_SIZE], &signatureSize); in FwdLockConv_CloseSession()
1309 } else if (fpWriteFunc(outputFileDesc, output.fromCloseSession.signatures, in FwdLockConv_ConvertOpenFile()
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java344 pm.getPackageInfo("android", GET_SIGNATURES).signatures); in isUidValidForPolicy()
353 pm.getPackageInfo(packageName, GET_SIGNATURES).signatures); in isUidValidForPolicy()
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
DWebViewUpdateServiceTest.java159 boolean installed, Signature[] signatures, long updateTime) { in createPackageInfo() argument
161 p.signatures = signatures; in createPackageInfo()
167 boolean installed, Signature[] signatures, long updateTime, boolean hidden) { in createPackageInfo() argument
169 createPackageInfo(packageName, enabled, valid, installed, signatures, updateTime); in createPackageInfo()
/frameworks/base/services/core/java/com/android/server/backup/
DBackupUtils.java52 Signature[] deviceSigs = target.signatures; in signaturesMatch()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRules.java342 Signature[] signatures = packageInfo.signatures; in getCarrierPrivilegeStatus() local
343 for (Signature sig : signatures) { in getCarrierPrivilegeStatus()
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV2Verifier.java257 ByteBuffer signatures = getLengthPrefixedSlice(signerBlock); in verifySigner() local
264 while (signatures.hasRemaining()) { in verifySigner()
267 ByteBuffer signature = getLengthPrefixedSlice(signatures); in verifySigner()

12