Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/
DServiceWatcher.java87 Signature[] sigs = pm.getPackageInfo(pkg, PackageManager.GET_SIGNATURES).signatures; in getSignatureSets()
180 if (!isSignatureMatch(pInfo.signatures)) { in bindBestPackageLocked()
248 public static boolean isSignatureMatch(Signature[] signatures, in isSignatureMatch() argument
250 if (signatures == null) return false; in isSignatureMatch()
254 for (Signature s : signatures) { in isSignatureMatch()
267 private boolean isSignatureMatch(Signature[] signatures) { in isSignatureMatch() argument
268 return isSignatureMatch(signatures, mSignatureSets); in isSignatureMatch()
/frameworks/compile/mclinker/include/mcld/LD/
DObjectReader.h48 GroupSignatureMap& signatures() in signatures() function
51 const GroupSignatureMap& signatures() const in signatures() function
/frameworks/base/core/java/android/content/pm/
DPackageInfo.java192 public Signature[] signatures; field in PackageInfo
315 dest.writeTypedArray(signatures, parcelableFlags); in writeToParcel()
364 signatures = source.createTypedArray(Signature.CREATOR); in PackageInfo()
DPackageParser.java309 public final Signature[] signatures; field in PackageParser.ApkLite
315 Signature[] signatures, boolean coreApp, boolean multiArch) { in ApkLite() argument
323 this.signatures = signatures; in ApkLite()
583 pi.signatures = new Signature[N]; in generatePackageInfo()
584 System.arraycopy(p.mSignatures, 0, pi.signatures, 0, N); in generatePackageInfo()
1169 final Signature[] signatures; in parseApkLite() local
1174 signatures = tempPkg.mSignatures; in parseApkLite()
1176 signatures = null; in parseApkLite()
1180 return parseApkLite(apkPath, res, parser, attrs, flags, signatures); in parseApkLite()
1262 AttributeSet attrs, int flags, Signature[] signatures) throws IOException, in parseApkLite() argument
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java93 PackageSignatures signatures = new PackageSignatures(); field in PackageSettingBase
147 signatures = new PackageSignatures(base.signatures); in PackageSettingBase()
213 signatures = base.signatures; in copyFrom()
DSharedUserSetting.java34 final PackageSignatures signatures = new PackageSignatures(); field in SharedUserSetting
DSettings.java529 PackageSignatures s = p.signatures; in getPackageLPw()
531 p.signatures = s; in getPackageLPw()
588 if (dis.signatures.mSignatures != null) { in getPackageLPw()
589 p.signatures.mSignatures = dis.signatures.mSignatures.clone(); in getPackageLPw()
687 if (p.signatures.mSignatures == null) { in insertPackageSettingLPw()
688 p.signatures.assignSignatures(pkg.mSignatures); in insertPackageSettingLPw()
696 if (p.sharedUser != null && p.sharedUser.signatures.mSignatures == null) { in insertPackageSettingLPw()
697 p.sharedUser.signatures.assignSignatures(pkg.mSignatures); in insertPackageSettingLPw()
1597 usr.signatures.writeXml(serializer, "sigs", mPastSignatures); in writeLPr()
1840 pkg.signatures.writeXml(serializer, "sigs", mPastSignatures); in writePackageLPr()
[all …]
DPackageInstallerSession.java607 mSignatures = apk.signatures; in validateInstallLocked()
694 if (!Signature.areExactMatch(mSignatures, apk.signatures)) { in assertApkConsistent()
DPackageManagerService.java2760 s1 = ((SharedUserSetting)obj).signatures.mSignatures; in checkUidSignatures()
2762 s1 = ((PackageSetting)obj).signatures.mSignatures; in checkUidSignatures()
2772 s2 = ((SharedUserSetting)obj).signatures.mSignatures; in checkUidSignatures()
2774 s2 = ((PackageSetting)obj).signatures.mSignatures; in checkUidSignatures()
4213 if (ps.signatures.mSignatures != null in collectCertificatesLI()
4214 && ps.signatures.mSignatures.length != 0 in collectCertificatesLI()
4218 pkg.mSignatures = ps.signatures.mSignatures; in collectCertificatesLI()
4374 if (compareSignatures(ps.signatures.mSignatures, pkg.mSignatures) in scanPackageLI()
4479 if (pkgSetting.signatures.mSignatures != null) { in verifySignaturesLP()
4481 boolean match = compareSignatures(pkgSetting.signatures.mSignatures, pkg.mSignatures) in verifySignaturesLP()
[all …]
/frameworks/compile/mclinker/lib/LD/
DELFObjectReader.cpp133 signatures().insert((*section)->name(), exist); in readSections()
135 signatures().insert(signature->name(), exist); in readSections()
161 signatures().insert(name.split(".").second, exist); in readSections()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
DFwdLockConv.h51 unsigned char signatures[FWD_LOCK_SIGNATURES_SIZE]; member
DFwdLockConv.c1213 HMAC_Final(&pSession->signingContext, pOutput->fromCloseSession.signatures, in FwdLockConv_CloseSession()
1226 HMAC_Update(&pSession->signingContext, pOutput->fromCloseSession.signatures, in FwdLockConv_CloseSession()
1229 &pOutput->fromCloseSession.signatures[SHA1_HASH_SIZE], &signatureSize); in FwdLockConv_CloseSession()
1308 } else if (fpWriteFunc(outputFileDesc, output.fromCloseSession.signatures, in FwdLockConv_ConvertOpenFile()
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java283 pm.getPackageInfo("android", GET_SIGNATURES).signatures); in isUidValidForPolicy()
292 pm.getPackageInfo(packageName, GET_SIGNATURES).signatures); in isUidValidForPolicy()
/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java208 homeSigHashes = hashSignatureArray(homeInfo.signatures); in onBackup()
293 if (info.signatures == null || info.signatures.length == 0) in onBackup()
312 hashSignatureArray(info.signatures)); in onBackup()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java3177 pi.signatures.length == 1); in testSigChangeAfterUpgrade()
3178 String sigBefore = pi.signatures[0].toCharsString(); in testSigChangeAfterUpgrade()
3185 pi.signatures.length == 1); in testSigChangeAfterUpgrade()
3186 String sigAfter = pi.signatures[0].toCharsString(); in testSigChangeAfterUpgrade()
3204 pi.signatures.length == 1); in testSigSameAfterUpgrade()
3205 String sigBefore = pi.signatures[0].toCharsString(); in testSigSameAfterUpgrade()
3212 pi.signatures.length == 1); in testSigSameAfterUpgrade()
3213 String sigAfter = pi.signatures[0].toCharsString(); in testSigSameAfterUpgrade()
3231 pi.signatures.length == 2); in testSigRemovedAfterUpgrade()
3233 for (int i = 0; i < pi.signatures.length; i++) { in testSigRemovedAfterUpgrade()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRules.java278 Signature[] signatures = pInfo.signatures; in getCarrierPrivilegeStatus() local
279 for (Signature sig : signatures) { in getCarrierPrivilegeStatus()
/frameworks/base/docs/html/training/backward-compatible-ui/
Dnew-implementation.jd44 …ed in the previous lesson mirror the new APIs (class structure, method signatures, etc.), the conc…
/frameworks/base/docs/html/training/displaying-bitmaps/
Dload-bitmap.jd53 exception. Each type of decode method has additional signatures that let you specify decoding
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
DFwdLockEngine.cpp456 (char *)convSession->output.fromCloseSession.signatures,
/frameworks/base/docs/html/training/graphics/opengl/
Denvironment.jd211 These method signatures are simply reused for the 2.0 APIs to keep the Android framework code
/frameworks/base/docs/html/google/play/billing/
Dbilling_reference.jd233 <td>{@code StringArrayList} containing the signatures of purchases from this app.</td>
Dapi.jd74 …ed items, a list of the individual purchase details, and a list of the signatures for the purchase…
/frameworks/base/docs/html/guide/faq/
Dtroubleshooting.jd210 …re>[2008-08-13 15:14:15 - ApiDemos] Re-installation failed due to different application signatures.
251 …0 14:57:19 - GestureBuilderActivity]Re-installation failed due to different application signatures.
/frameworks/base/docs/html/guide/components/
Daidl.jd91 <p>This file defines the programming interface with method signatures.</p>
121 signatures.</p>
/frameworks/base/docs/html/google/play/billing/v2/
Dbilling_integrate.jd65 <li><a href="#billing-signatures">Create a security processing component</a> to verify the
1037 <h3 id="billing-signatures">Verifying signatures and nonces</h3>
1040 transaction information you receive from Google Play: nonces and signatures. A nonce (number used
1070 <p>Your application must also provide a way to verify the signatures that accompany every

12