Searched refs:keySetData (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/ |
D | KeySetManagerService.java | 136 if (pkg.keySetData == null) { in packageIsSignedByLPr() 143 ArraySet<Long> pkgKeys = mKeySetMapping.get(pkg.keySetData.getProperSigningKeySet()); in packageIsSignedByLPr() 162 if (pkg.keySetData == null in packageIsSignedByExactlyLPr() 163 || pkg.keySetData.getProperSigningKeySet() in packageIsSignedByExactlyLPr() 171 ArraySet<Long> pkgKeys = mKeySetMapping.get(pkg.keySetData.getProperSigningKeySet()); in packageIsSignedByExactlyLPr() 242 long signingKeySetId = pkg.keySetData.getProperSigningKeySet(); in addSigningKeySetToPackageLPw() 260 pkg.keySetData.setProperSigningKeySet(id); in addSigningKeySetToPackageLPw() 284 ArrayMap<String, Long> prevDefinedKeySets = pkg.keySetData.getAliases(); in addDefinedKeySetsToPackageLPw() 303 pkg.keySetData.removeAllUpgradeKeySets(); in addDefinedKeySetsToPackageLPw() 306 pkg.keySetData.setAliases(newKeySetAliases); in addDefinedKeySetsToPackageLPw() [all …]
|
D | PackageSettingBase.java | 106 PackageKeySetData keySetData = new PackageKeySetData(); field in PackageSettingBase 244 keySetData = orig.keySetData; in doCopy() 679 this.keySetData = other.keySetData; in updateFrom()
|
D | Settings.java | 2864 writeSigningKeySetLPr(serializer, pkg.keySetData); in writePackageLPr() 2865 writeUpgradeKeySetsLPr(serializer, pkg.keySetData); in writePackageLPr() 2866 writeKeySetAliasesLPr(serializer, pkg.keySetData); in writePackageLPr() 3868 packageSetting.keySetData.setProperSigningKeySet(id); in readPackageLPw() 3873 packageSetting.keySetData.addUpgradeKeySetById(id); in readPackageLPw() 3883 packageSetting.keySetData.addDefinedKeySet(id, alias); in readPackageLPw()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | KeySetManagerServiceTest.java | 132 assertEquals(1, ps.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageEmpty() 162 assertEquals(1, ps.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageUpgradeSame() 197 assertEquals(2, ps.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageUpgradeDiff() 239 assertEquals(2, ps1.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageUpgradeDiff2() 240 assertEquals(1, ps2.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageUpgradeDiff2() 276 assertEquals(1, ps1.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageNewOrtho() 285 assertEquals(2, ps2.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageNewOrtho() 317 assertEquals(1, ps1.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageNewSame() 318 assertEquals(1, ps2.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageNewSame() 359 assertEquals(1, ps1.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageSuper() [all …]
|
D | PackageManagerSettingsTests.java | 768 assertSame(origPkgSetting.keySetData, testPkgSetting.keySetData); in verifySettingCopy() 769 assertThat(origPkgSetting.keySetData, is(testPkgSetting.keySetData)); in verifySettingCopy() 1067 assertThat(ps.keySetData.getProperSigningKeySet(), is(1L)); in verifyKeySetMetaData() 1069 assertThat(ps.keySetData.getProperSigningKeySet(), is(1L)); in verifyKeySetMetaData() 1070 assertThat(ps.keySetData.getAliases().get("AB"), is(4L)); in verifyKeySetMetaData() 1072 assertThat(ps.keySetData.getProperSigningKeySet(), is(2L)); in verifyKeySetMetaData() 1073 assertThat(ps.keySetData.getAliases().get("C"), is(3L)); in verifyKeySetMetaData() 1074 assertThat(ps.keySetData.getUpgradeKeySets().length, is(1)); in verifyKeySetMetaData() 1075 assertThat(ps.keySetData.getUpgradeKeySets()[0], is(3L)); in verifyKeySetMetaData()
|