Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DPerPackageReadTimeouts.java122 public final byte[] sha256certificate; field in PerPackageReadTimeouts
126 private PerPackageReadTimeouts(String packageName, byte[] sha256certificate, in PerPackageReadTimeouts() argument
129 this.sha256certificate = sha256certificate; in PerPackageReadTimeouts()
138 byte[] sha256certificate = null; in parse()
151 sha256certificate = tryParseSha256(splits[1]); in parse()
163 return new PerPackageReadTimeouts(packageName, sha256certificate, versionCodes, in parse()
DPackageManagerService.java7682 if (perPackage.sha256certificate != null in parsePerUidReadTimeouts()
7684 perPackage.sha256certificate)) { in parsePerUidReadTimeouts()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerServiceTest.java327 Assert.assertEquals(null, packageOnly.sha256certificate); in testPerPackageReadTimeouts()
337 Assert.assertEquals(sha256, bytesToHexString(packageHash.sha256certificate)); in testPerPackageReadTimeouts()
347 Assert.assertEquals(null, packageVersionCode.sha256certificate); in testPerPackageReadTimeouts()
357 Assert.assertEquals(sha256, bytesToHexString(full.sha256certificate)); in testPerPackageReadTimeouts()
377 Assert.assertEquals(sha256, bytesToHexString(singlePackage[0].sha256certificate)); in testGetPerPackageReadTimeouts()
388 Assert.assertEquals(sha256, bytesToHexString(multiPackage[0].sha256certificate)); in testGetPerPackageReadTimeouts()
395 Assert.assertEquals(null, multiPackage[1].sha256certificate); in testGetPerPackageReadTimeouts()