Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DKeySetManagerService.java134 if (pkg.keySetData == null) { in packageIsSignedByLPr()
141 ArraySet<Long> pkgKeys = mKeySetMapping.get(pkg.keySetData.getProperSigningKeySet()); in packageIsSignedByLPr()
160 if (pkg.keySetData == null in packageIsSignedByExactlyLPr()
161 || pkg.keySetData.getProperSigningKeySet() in packageIsSignedByExactlyLPr()
169 ArraySet<Long> pkgKeys = mKeySetMapping.get(pkg.keySetData.getProperSigningKeySet()); in packageIsSignedByExactlyLPr()
240 long signingKeySetId = pkg.keySetData.getProperSigningKeySet(); in addSigningKeySetToPackageLPw()
258 pkg.keySetData.setProperSigningKeySet(id); in addSigningKeySetToPackageLPw()
282 ArrayMap<String, Long> prevDefinedKeySets = pkg.keySetData.getAliases(); in addDefinedKeySetsToPackageLPw()
301 pkg.keySetData.removeAllUpgradeKeySets(); in addDefinedKeySetsToPackageLPw()
304 pkg.keySetData.setAliases(newKeySetAliases); in addDefinedKeySetsToPackageLPw()
[all …]
DPackageSettingBase.java106 PackageKeySetData keySetData = new PackageKeySetData(); field in PackageSettingBase
190 keySetData = new PackageKeySetData(base.keySetData); in PackageSettingBase()
257 keySetData = base.keySetData; in copyFrom()
DSettings.java2678 writeSigningKeySetLPr(serializer, pkg.keySetData); in writePackageLPr()
2679 writeUpgradeKeySetsLPr(serializer, pkg.keySetData); in writePackageLPr()
2680 writeKeySetAliasesLPr(serializer, pkg.keySetData); in writePackageLPr()
3799 packageSetting.keySetData.setProperSigningKeySet(id); in readPackageLPw()
3804 packageSetting.keySetData.addUpgradeKeySetById(id); in readPackageLPw()
3814 packageSetting.keySetData.addDefinedKeySet(id, alias); in readPackageLPw()
DPackageManagerService.java6765 long mSigningKeySetId = ps.keySetData.getProperSigningKeySet();
14134 || !oldPs.keySetData.isUsingUpgradeKeySets()) {
14139 long[] upgradeKeySets = oldPs.keySetData.getUpgradeKeySets();
14156 long[] upgradeKeySets = oldPS.keySetData.getUpgradeKeySets();
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DKeySetManagerServiceTest.java131 assertEquals(1, ps.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageEmpty()
161 assertEquals(1, ps.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageUpgradeSame()
196 assertEquals(2, ps.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageUpgradeDiff()
238 assertEquals(2, ps1.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageUpgradeDiff2()
239 assertEquals(1, ps2.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageUpgradeDiff2()
275 assertEquals(1, ps1.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageNewOrtho()
284 assertEquals(2, ps2.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageNewOrtho()
316 assertEquals(1, ps1.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageNewSame()
317 assertEquals(1, ps2.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageNewSame()
358 assertEquals(1, ps1.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageSuper()
[all …]
DPackageManagerSettingsTests.java240 assertEquals(1, ps.keySetData.getProperSigningKeySet()); in verifyKeySetMetaData()
242 assertEquals(1, ps.keySetData.getProperSigningKeySet()); in verifyKeySetMetaData()
243 assertEquals(new Long(4), ps.keySetData.getAliases().get("AB")); in verifyKeySetMetaData()
245 assertEquals(2, ps.keySetData.getProperSigningKeySet()); in verifyKeySetMetaData()
246 assertEquals(new Long(3), ps.keySetData.getAliases().get("C")); in verifyKeySetMetaData()
247 assertEquals(1, ps.keySetData.getUpgradeKeySets().length); in verifyKeySetMetaData()
248 assertEquals(3, ps.keySetData.getUpgradeKeySets()[0]); in verifyKeySetMetaData()