Home
last modified time | relevance | path

Searched refs:getPubKey (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DKeySetManagerServiceTest.java128 assertEquals(keyA, KeySetUtils.getPubKey(mKsms, 1)); in testAddSigningKSToPackageEmpty()
158 assertEquals(keyA, KeySetUtils.getPubKey(mKsms, 1)); in testAddSigningKSToPackageUpgradeSame()
193 assertEquals(keyB, KeySetUtils.getPubKey(mKsms, 2)); in testAddSigningKSToPackageUpgradeDiff()
231 assertEquals(keyA, KeySetUtils.getPubKey(mKsms, 1)); in testAddSigningKSToPackageUpgradeDiff2()
232 assertEquals(keyB, KeySetUtils.getPubKey(mKsms, 2)); in testAddSigningKSToPackageUpgradeDiff2()
272 assertEquals(keyA, KeySetUtils.getPubKey(mKsms, 1)); in testAddSigningKSToPackageNewOrtho()
283 assertEquals(keyB, KeySetUtils.getPubKey(mKsms, 2)); in testAddSigningKSToPackageNewOrtho()
313 assertEquals(keyA, KeySetUtils.getPubKey(mKsms, 1)); in testAddSigningKSToPackageNewSame()
350 assertEquals(keyA, KeySetUtils.getPubKey(mKsms, 1)); in testAddSigningKSToPackageSuper()
351 assertEquals(keyB, KeySetUtils.getPubKey(mKsms, 2)); in testAddSigningKSToPackageSuper()
[all …]
DKeySetUtils.java27 public static PublicKey getPubKey(KeySetManagerService ksms, long pkId) in getPubKey() method in KeySetUtils
DPackageManagerSettingsTests.java1222 assertThat(KeySetUtils.getPubKey(ksms, 1), is(keyA)); in verifyKeySetMetaData()
1223 assertThat(KeySetUtils.getPubKey(ksms, 2), is(keyB)); in verifyKeySetMetaData()
1224 assertThat(KeySetUtils.getPubKey(ksms, 3), is(keyC)); in verifyKeySetMetaData()