Home
last modified time | relevance | path

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

/tools/apksig/src/test/java/com/android/apksig/
DSigningCertificateLineageTest.java199 SignerConfig oldSigner = Resources.toLineageSignerConfig(getClass(), in testFirstRotationWitNonDefaultCapabilitiesForSigners() local
205 SigningCertificateLineage lineage = new SigningCertificateLineage.Builder(oldSigner, in testFirstRotationWitNonDefaultCapabilitiesForSigners()
210 SignerCapabilities oldSignerCapabilities = lineage.getSignerCapabilities(oldSigner); in testFirstRotationWitNonDefaultCapabilitiesForSigners()
221 SignerConfig oldSigner = mSigners.get(mSigners.size() - 1); in testRotationWithExitingLineageAndNonDefaultCapabilitiesForNewSigner() local
225 lineage = lineage.spawnDescendant(oldSigner, newSigner, in testRotationWithExitingLineageAndNonDefaultCapabilitiesForNewSigner()
271 DefaultApkSignerEngine.SignerConfig oldSigner = getApkSignerEngineSignerConfigFromResources( in testSortedSignerConfigsAreInSortedOrder() local
275 List<DefaultApkSignerEngine.SignerConfig> signers = Arrays.asList(newSigner, oldSigner); in testSortedSignerConfigsAreInSortedOrder()
280 assertEquals("The first element in the sorted list should be the first signer", oldSigner, in testSortedSignerConfigsAreInSortedOrder()
292 DefaultApkSignerEngine.SignerConfig oldSigner = getApkSignerEngineSignerConfigFromResources( in testSortedSignerConfigsWithUnknownSignerFails() local
298 List<DefaultApkSignerEngine.SignerConfig> signers = Arrays.asList(newSigner, oldSigner, in testSortedSignerConfigsWithUnknownSignerFails()