Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DKeySetManagerService.java152 if (pkg.getKeySetData() == null) { in packageIsSignedByLPr()
159 ArraySet<Long> pkgKeys = mKeySetMapping.get(pkg.getKeySetData().getProperSigningKeySet()); in packageIsSignedByLPr()
178 if (pkg.getKeySetData() == null in packageIsSignedByExactlyLPr()
179 || pkg.getKeySetData().getProperSigningKeySet() in packageIsSignedByExactlyLPr()
187 ArraySet<Long> pkgKeys = mKeySetMapping.get(pkg.getKeySetData().getProperSigningKeySet()); in packageIsSignedByExactlyLPr()
256 long signingKeySetId = pkg.getKeySetData().getProperSigningKeySet(); in addSigningKeySetToPackageLPw()
274 pkg.getKeySetData().setProperSigningKeySet(id); in addSigningKeySetToPackageLPw()
298 ArrayMap<String, Long> prevDefinedKeySets = pkg.getKeySetData().getAliases(); in addDefinedKeySetsToPackageLPw()
316 pkg.getKeySetData().removeAllUpgradeKeySets(); in addDefinedKeySetsToPackageLPw()
319 pkg.getKeySetData().setAliases(newKeySetAliases); in addDefinedKeySetsToPackageLPw()
[all …]
DSettings.java3286 writeSigningKeySetLPr(serializer, pkg.getKeySetData());
3287 writeUpgradeKeySetsLPr(serializer, pkg.getKeySetData());
3288 writeKeySetAliasesLPr(serializer, pkg.getKeySetData());
4333 packageSetting.getKeySetData().setProperSigningKeySet(id);
4338 packageSetting.getKeySetData().addUpgradeKeySetById(id);
4348 packageSetting.getKeySetData().addDefinedKeySet(id, alias);
DPackageSetting.java1797 public @NonNull PackageKeySetData getKeySetData() {
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DKeySetManagerServiceTest.java137 assertEquals(1, ps.getKeySetData().getProperSigningKeySet()); in testAddSigningKSToPackageEmpty()
167 assertEquals(1, ps.getKeySetData().getProperSigningKeySet()); in testAddSigningKSToPackageUpgradeSame()
202 assertEquals(2, ps.getKeySetData().getProperSigningKeySet()); in testAddSigningKSToPackageUpgradeDiff()
244 assertEquals(2, ps1.getKeySetData().getProperSigningKeySet()); in testAddSigningKSToPackageUpgradeDiff2()
245 assertEquals(1, ps2.getKeySetData().getProperSigningKeySet()); in testAddSigningKSToPackageUpgradeDiff2()
281 assertEquals(1, ps1.getKeySetData().getProperSigningKeySet()); in testAddSigningKSToPackageNewOrtho()
290 assertEquals(2, ps2.getKeySetData().getProperSigningKeySet()); in testAddSigningKSToPackageNewOrtho()
322 assertEquals(1, ps1.getKeySetData().getProperSigningKeySet()); in testAddSigningKSToPackageNewSame()
323 assertEquals(1, ps2.getKeySetData().getProperSigningKeySet()); in testAddSigningKSToPackageNewSame()
364 assertEquals(1, ps1.getKeySetData().getProperSigningKeySet()); in testAddSigningKSToPackageSuper()
[all …]
DPackageManagerSettingsTests.java1892 verifyKeySetData(origPkgSetting.getKeySetData(), testPkgSetting.getKeySetData()); in verifySettingCopy()
2273 assertThat(ps.getKeySetData().getProperSigningKeySet(), is(1L)); in verifyKeySetMetaData()
2275 assertThat(ps.getKeySetData().getProperSigningKeySet(), is(1L)); in verifyKeySetMetaData()
2276 assertThat(ps.getKeySetData().getAliases().get("AB"), is(4L)); in verifyKeySetMetaData()
2278 assertThat(ps.getKeySetData().getProperSigningKeySet(), is(2L)); in verifyKeySetMetaData()
2279 assertThat(ps.getKeySetData().getAliases().get("C"), is(3L)); in verifyKeySetMetaData()
2280 assertThat(ps.getKeySetData().getUpgradeKeySets().length, is(1)); in verifyKeySetMetaData()
2281 assertThat(ps.getKeySetData().getUpgradeKeySets()[0], is(3L)); in verifyKeySetMetaData()
/frameworks/base/services/core/java/com/android/server/pm/pkg/
DPackageStateInternal.java89 PackageKeySetData getKeySetData(); in getKeySetData() method
/frameworks/base/services/
Dart-wear-profile19013 HSPLcom/android/server/pm/PackageSetting;->getKeySetData()Lcom/android/server/pm/PackageKeySetData;