/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/ |
D | BackupUtilsTest.java | 71 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/ |
D | AppBackupUtilsTest.java | 410 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/ |
D | SenderFilter.java | 84 return ifw.signaturesMatch(callerUid, receivingUid); 101 ifw.signaturesMatch(callerUid, receivingUid);
|
D | IntentFirewall.java | 602 boolean signaturesMatch(int uid1, int uid2) { in signaturesMatch() method in IntentFirewall
|
/frameworks/base/services/core/java/com/android/server/backup/ |
D | BackupUtils.java | 39 public static boolean signaturesMatch(ArrayList<byte[]> storedSigHashes, PackageInfo target, in signaturesMatch() method in BackupUtils
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | AppBackupUtils.java | 227 public static boolean signaturesMatch(Signature[] storedSigs, PackageInfo target, in signaturesMatch() method in AppBackupUtils
|
D | RestoreUtils.java | 162 if (AppBackupUtils.signaturesMatch(sigs, pkg, pmi)) { in installApk()
|
D | TarBackupReader.java | 416 if (AppBackupUtils.signaturesMatch(signatures, pkgInfo, pmi)) { in chooseRestorePolicy()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackageInfo.java | 145 if (!BackupUtils.signaturesMatch(mSigHashes, currentPackage, pmi)) { in canRestoreTo()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | PackageManagerBackupAgent.java | 273 && !BackupUtils.signaturesMatch(mStoredHomeSigHashes, homeInfo, pmi)); in onBackup()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | PerformUnifiedRestoreTask.java | 628 if (!BackupUtils.signaturesMatch(metaInfo.sigHashes, mCurrentPackage, pmi)) { in restoreKeyValue()
|
/frameworks/base/services/ |
D | art-profile | 4764 PLcom/android/server/backup/BackupUtils;->signaturesMatch(Ljava/util/ArrayList;Landroid/content/pm/…
|