Searched refs:keySetData (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/ |
D | KeySetManagerService.java | 141 if (pkg.keySetData == null) { in packageIsSignedByLPr() 148 ArraySet<Long> pkgKeys = mKeySetMapping.get(pkg.keySetData.getProperSigningKeySet()); in packageIsSignedByLPr() 167 if (pkg.keySetData == null in packageIsSignedByExactlyLPr() 168 || pkg.keySetData.getProperSigningKeySet() in packageIsSignedByExactlyLPr() 176 ArraySet<Long> pkgKeys = mKeySetMapping.get(pkg.keySetData.getProperSigningKeySet()); in packageIsSignedByExactlyLPr() 245 long signingKeySetId = pkg.keySetData.getProperSigningKeySet(); in addSigningKeySetToPackageLPw() 263 pkg.keySetData.setProperSigningKeySet(id); in addSigningKeySetToPackageLPw() 287 ArrayMap<String, Long> prevDefinedKeySets = pkg.keySetData.getAliases(); in addDefinedKeySetsToPackageLPw() 305 pkg.keySetData.removeAllUpgradeKeySets(); in addDefinedKeySetsToPackageLPw() 308 pkg.keySetData.setAliases(newKeySetAliases); in addDefinedKeySetsToPackageLPw() [all …]
|
D | PackageSettingBase.java | 106 PackageKeySetData keySetData = new PackageKeySetData(); field in PackageSettingBase 257 keySetData = orig.keySetData; in doCopy() 862 this.keySetData = other.keySetData; in updateFrom()
|
D | Settings.java | 2778 writeSigningKeySetLPr(serializer, pkg.keySetData); 2779 writeUpgradeKeySetsLPr(serializer, pkg.keySetData); 2780 writeKeySetAliasesLPr(serializer, pkg.keySetData); 3745 packageSetting.keySetData.setProperSigningKeySet(id); 3750 packageSetting.keySetData.addUpgradeKeySetById(id); 3760 packageSetting.keySetData.addDefinedKeySet(id, alias);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | KeySetManagerServiceTest.java | 134 assertEquals(1, ps.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageEmpty() 164 assertEquals(1, ps.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageUpgradeSame() 199 assertEquals(2, ps.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageUpgradeDiff() 241 assertEquals(2, ps1.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageUpgradeDiff2() 242 assertEquals(1, ps2.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageUpgradeDiff2() 278 assertEquals(1, ps1.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageNewOrtho() 287 assertEquals(2, ps2.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageNewOrtho() 319 assertEquals(1, ps1.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageNewSame() 320 assertEquals(1, ps2.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageNewSame() 361 assertEquals(1, ps1.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageSuper() [all …]
|
D | PackageManagerSettingsTests.java | 924 assertSame(origPkgSetting.keySetData, testPkgSetting.keySetData); in verifySettingCopy() 925 assertThat(origPkgSetting.keySetData, is(testPkgSetting.keySetData)); in verifySettingCopy() 1248 assertThat(ps.keySetData.getProperSigningKeySet(), is(1L)); in verifyKeySetMetaData() 1250 assertThat(ps.keySetData.getProperSigningKeySet(), is(1L)); in verifyKeySetMetaData() 1251 assertThat(ps.keySetData.getAliases().get("AB"), is(4L)); in verifyKeySetMetaData() 1253 assertThat(ps.keySetData.getProperSigningKeySet(), is(2L)); in verifyKeySetMetaData() 1254 assertThat(ps.keySetData.getAliases().get("C"), is(3L)); in verifyKeySetMetaData() 1255 assertThat(ps.keySetData.getUpgradeKeySets().length, is(1)); in verifyKeySetMetaData() 1256 assertThat(ps.keySetData.getUpgradeKeySets()[0], is(3L)); in verifyKeySetMetaData()
|