Searched refs:getPubKeyRefCount (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | KeySetManagerServiceTest.java | 124 assertEquals(1, KeySetUtils.getPubKeyRefCount(mKsms, 1)); in testAddSigningKSToPackageEmpty() 154 assertEquals(1, KeySetUtils.getPubKeyRefCount(mKsms, 1)); in testAddSigningKSToPackageUpgradeSame() 188 assertEquals(0, KeySetUtils.getPubKeyRefCount(mKsms, 1)); in testAddSigningKSToPackageUpgradeDiff() 189 assertEquals(1, KeySetUtils.getPubKeyRefCount(mKsms, 2)); in testAddSigningKSToPackageUpgradeDiff() 226 assertEquals(1, KeySetUtils.getPubKeyRefCount(mKsms, 1)); in testAddSigningKSToPackageUpgradeDiff2() 227 assertEquals(1, KeySetUtils.getPubKeyRefCount(mKsms, 2)); in testAddSigningKSToPackageUpgradeDiff2() 268 assertEquals(1, KeySetUtils.getPubKeyRefCount(mKsms, 1)); in testAddSigningKSToPackageNewOrtho() 279 assertEquals(1, KeySetUtils.getPubKeyRefCount(mKsms, 2)); in testAddSigningKSToPackageNewOrtho() 309 assertEquals(1, KeySetUtils.getPubKeyRefCount(mKsms, 1)); in testAddSigningKSToPackageNewSame() 345 assertEquals(2, KeySetUtils.getPubKeyRefCount(mKsms, 1)); in testAddSigningKSToPackageSuper() [all …]
|
D | PackageManagerSettingsTests.java | 206 assertEquals(2, KeySetUtils.getPubKeyRefCount(ksms, 1)); in verifyKeySetMetaData() 207 assertEquals(2, KeySetUtils.getPubKeyRefCount(ksms, 2)); in verifyKeySetMetaData() 208 assertEquals(1, KeySetUtils.getPubKeyRefCount(ksms, 3)); in verifyKeySetMetaData()
|
D | KeySetUtils.java | 41 public static int getPubKeyRefCount(KeySetManagerService ksms, long pkId) in getPubKeyRefCount() method in KeySetUtils
|