Searched refs:signaturesMatch (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/ |
D | BackupUtilsTest.java | 60 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/ |
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 | 35 public static boolean signaturesMatch(ArrayList<byte[]> storedSigHashes, PackageInfo target) { in signaturesMatch() method in BackupUtils
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackageInfo.java | 100 if (!BackupUtils.signaturesMatch(mSigHashes, target)) { in canRestoreTo()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | PackageManagerBackupAgent.java | 225 && !BackupUtils.signaturesMatch(mStoredHomeSigHashes, homeInfo)); in onBackup()
|
D | BackupManagerService.java | 5839 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()
|