Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/
DBackupUtilsTest.java60 assertFalse(BackupUtils.signaturesMatch(stored1, null)); in testSignaturesMatch()
65 assertTrue(BackupUtils.signaturesMatch(stored1, pi)); in testSignaturesMatch()
68 assertTrue(BackupUtils.signaturesMatch(stored1, genPackage("abc"))); in testSignaturesMatch()
71 assertTrue(BackupUtils.signaturesMatch(stored1, genPackage("abc", "xyz"))); in testSignaturesMatch()
72 assertTrue(BackupUtils.signaturesMatch(stored1, genPackage("xyz", "abc"))); in testSignaturesMatch()
74 assertFalse(BackupUtils.signaturesMatch(stored1, genPackage("xyz"))); in testSignaturesMatch()
75 assertFalse(BackupUtils.signaturesMatch(stored1, genPackage("xyz", "def"))); in testSignaturesMatch()
77 assertTrue(BackupUtils.signaturesMatch(stored2, genPackage("def", "abc"))); in testSignaturesMatch()
78 assertTrue(BackupUtils.signaturesMatch(stored2, genPackage("x", "def", "abc", "y"))); in testSignaturesMatch()
81 assertFalse(BackupUtils.signaturesMatch(stored2, genPackage("abc"))); in testSignaturesMatch()
[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.java35 public static boolean signaturesMatch(ArrayList<byte[]> storedSigHashes, PackageInfo target) { in signaturesMatch() method in BackupUtils
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageInfo.java100 if (!BackupUtils.signaturesMatch(mSigHashes, target)) { in canRestoreTo()
/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java225 && !BackupUtils.signaturesMatch(mStoredHomeSigHashes, homeInfo)); in onBackup()
DBackupManagerService.java5839 if (signaturesMatch(sigs, pkg)) { in installApk()
6027 if (signaturesMatch(sigs, pkgInfo)) { in readAppManifest()
7268 if (signaturesMatch(sigs, pkg)) { in installApk()
7449 if (signaturesMatch(sigs, pkgInfo)) { in readAppManifest()
7821 static boolean signaturesMatch(Signature[] storedSigs, PackageInfo target) { in signaturesMatch() method in BackupManagerService
8341 if (!BackupUtils.signaturesMatch(metaInfo.sigHashes, mCurrentPackage)) { in restoreKeyValue()