Home
last modified time | relevance | path

Searched refs:genPackage (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/
DBackupUtilsTest.java42 private PackageInfo genPackage(String... signatures) { in genPackage() method in BackupUtilsTest
63 pi = genPackage("xyz"); 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/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java993 … protected PackageInfo genPackage(String packageName, int uid, int version, String... signatures) { in genPackage() method in BaseShortcutManagerTest
1008 mInjectedPackages.put(packageName, genPackage(packageName, uid, version, signatures)); in addPackage()
DShortcutManagerTest1.java3858 assertEquals(expected, spi.canRestoreTo(mService, genPackage( in checkCanRestoreTo()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...