Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/
DBackupUtilsTest.java71 boolean result = BackupUtils.signaturesMatch(storedSigHashes, null, in signaturesMatch_targetIsNull_returnsFalse()
86 boolean result = BackupUtils.signaturesMatch(storedSigHashes, packageInfo, in signaturesMatch_systemApplication_returnsTrue()
105 boolean result = BackupUtils.signaturesMatch(null, packageInfo, in signaturesMatch_disallowsUnsignedApps_storedSignatureNull_returnsFalse()
125 boolean result = BackupUtils.signaturesMatch(storedSigHashes, packageInfo, in signaturesMatch_disallowsUnsignedApps_storedSignatureEmpty_returnsFalse()
143 boolean result = BackupUtils.signaturesMatch(storedSigHashes, packageInfo, in signaturesMatch_disallowsUnsignedApps_targetSignatureEmpty_returnsFalse()
160 boolean result = BackupUtils.signaturesMatch(storedSigHashes, packageInfo, in signaturesMatch_disallowsUnsignedApps_targetSignatureNull_returnsFalse()
174 boolean result = BackupUtils.signaturesMatch(null, packageInfo, in signaturesMatch_disallowsUnsignedApps_bothSignaturesNull_returnsFalse()
189 boolean result = BackupUtils.signaturesMatch(storedSigHashes, packageInfo, in signaturesMatch_disallowsUnsignedApps_bothSignaturesEmpty_returnsFalse()
211 boolean result = BackupUtils.signaturesMatch(storedSigHashes, packageInfo, in signaturesMatch_equalSignatures_returnsTrue()
232 boolean result = BackupUtils.signaturesMatch(storedSigHashes, packageInfo, in signaturesMatch_extraSignatureInTarget_returnsTrue()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DAppBackupUtilsTest.java410 boolean result = AppBackupUtils.signaturesMatch(new Signature[] {SIGNATURE_1}, null, in signaturesMatch_targetIsNull_returnsFalse()
423 boolean result = AppBackupUtils.signaturesMatch(new Signature[0], packageInfo, in signaturesMatch_systemApplication_returnsTrue()
442 boolean result = AppBackupUtils.signaturesMatch(null, packageInfo, in signaturesMatch_disallowsUnsignedApps_storedSignatureNull_returnsFalse()
461 boolean result = AppBackupUtils.signaturesMatch(new Signature[0], packageInfo, in signaturesMatch_disallowsUnsignedApps_storedSignatureEmpty_returnsFalse()
477 boolean result = AppBackupUtils.signaturesMatch(new Signature[] {SIGNATURE_1}, packageInfo, in signaturesMatch_disallowsUnsignedApps_targetSignatureEmpty_returnsFalse()
492 boolean result = AppBackupUtils.signaturesMatch(new Signature[] {SIGNATURE_1}, packageInfo, in signaturesMatch_disallowsUnsignedApps_targetSignatureNull_returnsFalse()
505 boolean result = AppBackupUtils.signaturesMatch(null, packageInfo, in signaturesMatch_disallowsUnsignedApps_bothSignaturesNull_returnsFalse()
519 boolean result = AppBackupUtils.signaturesMatch(new Signature[0], packageInfo, in signaturesMatch_disallowsUnsignedApps_bothSignaturesEmpty_returnsFalse()
541 boolean result = AppBackupUtils.signaturesMatch( in signaturesMatch_equalSignatures_returnsTrue()
563 boolean result = AppBackupUtils.signaturesMatch( in signaturesMatch_extraSignatureInTarget_returnsTrue()
[all …]
/frameworks/base/services/core/java/com/android/server/firewall/
DSenderFilter.java84 return ifw.signaturesMatch(callerUid, receivingUid);
101 ifw.signaturesMatch(callerUid, receivingUid);
DIntentFirewall.java602 boolean signaturesMatch(int uid1, int uid2) { in signaturesMatch() method in IntentFirewall
/frameworks/base/services/core/java/com/android/server/backup/
DBackupUtils.java39 public static boolean signaturesMatch(ArrayList<byte[]> storedSigHashes, PackageInfo target, in signaturesMatch() method in BackupUtils
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DAppBackupUtils.java227 public static boolean signaturesMatch(Signature[] storedSigs, PackageInfo target, in signaturesMatch() method in AppBackupUtils
DRestoreUtils.java162 if (AppBackupUtils.signaturesMatch(sigs, pkg, pmi)) { in installApk()
DTarBackupReader.java416 if (AppBackupUtils.signaturesMatch(signatures, pkgInfo, pmi)) { in chooseRestorePolicy()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageInfo.java145 if (!BackupUtils.signaturesMatch(mSigHashes, currentPackage, pmi)) { in canRestoreTo()
/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java273 && !BackupUtils.signaturesMatch(mStoredHomeSigHashes, homeInfo, pmi)); in onBackup()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformUnifiedRestoreTask.java628 if (!BackupUtils.signaturesMatch(metaInfo.sigHashes, mCurrentPackage, pmi)) { in restoreKeyValue()
/frameworks/base/services/
Dart-profile4764 PLcom/android/server/backup/BackupUtils;->signaturesMatch(Ljava/util/ArrayList;Landroid/content/pm/…