Home
last modified time | relevance | path

Searched refs:signaturesMatch (Results 1 – 10 of 10) 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/mockingservicestests/src/com/android/server/backup/utils/
DBackupEligibilityRulesTest.java592 … boolean result = mBackupEligibilityRules.signaturesMatch(new Signature[] {SIGNATURE_1}, null); in signaturesMatch_targetIsNull_returnsFalse()
604 boolean result = mBackupEligibilityRules.signaturesMatch(new Signature[0], packageInfo); in signaturesMatch_systemApplication_returnsTrue()
622 boolean result = mBackupEligibilityRules.signaturesMatch(null, packageInfo); in signaturesMatch_disallowsUnsignedApps_storedSignatureNull_returnsFalse()
640 boolean result = mBackupEligibilityRules.signaturesMatch(new Signature[0], packageInfo); in signaturesMatch_disallowsUnsignedApps_storedSignatureEmpty_returnsFalse()
655 boolean result = mBackupEligibilityRules.signaturesMatch(new Signature[] {SIGNATURE_1}, in signaturesMatch_disallowsUnsignedApps_targetSignatureEmpty_returnsFalse()
670 boolean result = mBackupEligibilityRules.signaturesMatch(new Signature[] {SIGNATURE_1}, in signaturesMatch_disallowsUnsignedApps_targetSignatureNull_returnsFalse()
683 boolean result = mBackupEligibilityRules.signaturesMatch(null, packageInfo); in signaturesMatch_disallowsUnsignedApps_bothSignaturesNull_returnsFalse()
696 boolean result = mBackupEligibilityRules.signaturesMatch(new Signature[0], packageInfo); in signaturesMatch_disallowsUnsignedApps_bothSignaturesEmpty_returnsFalse()
717 boolean result = mBackupEligibilityRules.signaturesMatch( in signaturesMatch_equalSignatures_returnsTrue()
738 boolean result = mBackupEligibilityRules.signaturesMatch( in signaturesMatch_extraSignatureInTarget_returnsTrue()
[all …]
/frameworks/base/services/core/java/com/android/server/firewall/
DSenderFilter.java71 return ifw.signaturesMatch(callerUid, receivingUid);
88 || ifw.signaturesMatch(callerUid, receivingUid);
DIntentFirewall.java626 boolean signaturesMatch(int uid1, int uid2) { in signaturesMatch() method in IntentFirewall
/frameworks/base/services/core/java/com/android/server/backup/
DBackupUtils.java40 public static boolean signaturesMatch(ArrayList<byte[]> storedSigHashes, PackageInfo target, in signaturesMatch() method in BackupUtils
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DRestoreUtils.java171 if (eligibilityRules.signaturesMatch(sigs, pkg)) { in installApk()
DBackupEligibilityRules.java398 public boolean signaturesMatch(Signature[] storedSigs, PackageInfo target) { in signaturesMatch() method in BackupEligibilityRules
DTarBackupReader.java440 if (eligibilityRules.signaturesMatch(signatures, pkgInfo)) { in chooseRestorePolicy()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageInfo.java146 if (!BackupUtils.signaturesMatch(mSigHashes, currentPackage, pmi)) { in canRestoreTo()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformUnifiedRestoreTask.java796 if (!BackupUtils.signaturesMatch(metaInfo.sigHashes, mCurrentPackage, pmi)) { in restoreKeyValue()